1. Conduid
  2. Social
  3. IgorGanapolsky/ThumbGate
MCP server · Social

IgorGanapolsky/ThumbGate

action gates via PreToolUse hooks. Install: `npx thumbgate`.

64Good

Scored 23 hours ago · breakdown

About IgorGanapolsky/ThumbGate

IgorGanapolsky/ThumbGate is an MCP server published by IgorGanapolsky in the Social category: action gates via PreToolUse hooks. Install: `npx thumbgate`. Conduid read 124 tools from its source: ai_component_inventory, append_feedback_context, approve_protected_action, bootstrap_internal_agent, capture_feedback, capture_memory_feedback and 118 more. It is published to npm as thumbgate and starts with npx.

The repository has 34 stars and 9 forks, and its last commit was on 2 Dec 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include agent-reliability, ai-cost-optimization, ai-safety, amp, devtools and feedback-loop.

Install

Claude Code
claude mcp add igorganapolsky-thumbgate -- npx thumbgate serve # start MCP server on stdio
Run
npx thumbgate serve # start MCP server on stdio
From source
git clone https://github.com/IgorGanapolsky/ThumbGate

Tools (124)

ai_component_inventoryScan a project for AI/ML provider SDKs, agent frameworks, vector databases, Vertex/Gemini/Dialogflow CX usage, and model artifacts. Returns evidence suitable for enterprise AI inventory and ML-BOM review.
ParameterTypeDescription
formatstringResponse format. summary is compact text; json returns ThumbGate inventory; cyclonedx returns ML-BOM JSON.
includeSnippetsbooleanInclude matched source snippets in evidence. Defaults true.
maxFilesnumberMaximum files to scan (default 2500).
rootDirstringProject root to scan. Defaults to the current process working directory.
append_feedback_contextAppend a follow-up message to an open feedback session. Call this when the user types additional context after giving thumbs up/down.
ParameterTypeDescription
message *stringThe follow-up message from the user
rolestring
sessionId *string
approve_protected_actionGrant a time-limited approval for edits or publish actions that touch protected files.
ParameterTypeDescription
evidencestringOptional supporting evidence or approval note
pathGlobs *arrayProtected-file globs covered by this approval
reason *stringWhy this protected-file action is approved
taskIdstringOptional task id this approval is tied to
ttlMsnumberOptional approval lifetime in milliseconds (defaults to 1 hour, max 24 hours)
bootstrap_internal_agentNormalize a GitHub/Slack/Linear trigger into startup context, construct a recall pack, prepare a git worktree sandbox, and emit an execution plus reviewer-lane plan.
ParameterTypeDescription
approvedboolean
commentsarray
contextstring
delegationModestring
intentIdstring
mcpProfilestring
messagesarray
partnerProfilestring
prepareSandboxboolean
repoPathstring
sandboxRootstring
source *string
taskobject
threadobject
triggerobject
capture_feedbackCapture an up/down signal plus one line of why. Required: signal ("up" or "down"; not "feedback" or "rating"). Add context (one sentence) and, for "down", whatWentWrong and whatToChange. Also for "down", send what you did so it can become training data: lastAction (tool and command or input; your reply as input) and conversationWindow (the user request). Example: {"signal":"down","context":"claimed deployed without a health check","whatToChange":"run curl on /health first"}. Vague feedback is logged, then returned with a clarification prompt instead of memory promotion.
ParameterTypeDescription
chatHistoryarrayOptional caller-supplied recent conversation window used for history-aware lesson distillation. The current Claude auto-capture path sends up to 8 prior recorded entries for vague negative inline signals.
contextstringOne-sentence reason describing what worked or failed
conversationWindowarrayRecent conversation turns before the feedback signal. Raw messages, not summaries.
failureTypestringDual-signal: "decision" = wrong tool/action chosen, "execution" = right tool but bad parameters/output. Improves Thompson Sampling precision.
guardrailsobject
lastActionobjectThe exact action the feedback is about: the tool and its command or input (for example tool "Bash", command "npm install --force"). Becomes the rejected side of a DPO pair.
memorySourceobjectProvenance for content being considered for durable memory. External email, web, document, file, webhook, browser, or tool-output content should be marked untrusted.
relatedFeedbackIdstringOptional prior feedback event to merge with later follow-up context.
rubricScoresarray
signal *string
skillstring
tagsarray
whatToChangestring
whatWentWrongstring
whatWorkedstring
capture_memory_feedbackCapture success/failure feedback to harden future workflows. Aliased to capture_feedback.
ParameterTypeDescription
context *string
signal *string
tagsarray
check_operational_integrityEvaluate whether the current repo state is safe for PR, merge, release, and publish operations.
ParameterTypeDescription
baseBranchstringProtected base branch to compare against (defaults to main)
commandstringOptional git, PR, or publish command to evaluate against the current governance state
repoPathstringOptional repository path to inspect
requirePrForReleaseSensitivebooleanWhen true, release-sensitive changes on non-base branches require an open PR
requireVersionNotBehindBasebooleanWhen true, release-sensitive changes cannot lag behind the base branch package version
classify_emailClassify a single email based on its content. Returns priority, action flags, and category labels.
ParameterTypeDescription
email_text *stringThe full text (subject + body) of the email to classify
fromstringSender email address (optional, for context)
subjectstringEmail subject line (optional, for context)
commerce_recallRecall past feedback filtered by commerce categories (product_recommendation, brand_compliance, sizing, pricing, regulatory). Returns quality scores alongside memories for agentic commerce agents.
ParameterTypeDescription
categoriesarrayCommerce categories to filter (default: all commerce categories)
limitnumberMax memories to return (default 5)
query *stringProduct or brand context to find relevant past feedback
complete_handoffComplete a sequential delegation handoff and record verification outcomes
ParameterTypeDescription
attemptsnumber
handoffId *string
latencyMsnumber
outcome *string
resultContextstring
summarystring
tokenEstimatenumber
violationCountnumber
construct_context_packConstruct a bounded context pack from contextfs
ParameterTypeDescription
contextEnvelopeany
maxCharsnumber
maxItemsnumber
namespacesarray
querystring
strategystring
context_provenanceGet recent context/provenance events
ParameterTypeDescription
limitnumber
context_stuff_lessonsDump ALL prevention lessons into a single text block for context-window injection. Bypasses RAG/search — returns every lesson sorted by confidence. For most projects (20-200 lessons), fits in 1K-10K tokens.
ParameterTypeDescription
formatstringOutput format (default: compact)
maxTokenBudgetnumberApproximate token budget (default: 10000)
signalstringFilter by signal type
create_purchase_requisitionCreate an append-only purchase requisition and independent human-escalation request. This does not authorize spending.
ParameterTypeDescription
amountUsd *number
evidence *array
idempotencyKeystring
purpose *string
sourceMessageId *stringStable identifier for the exact user message authorizing the request.
taskId *string
toolInput *objectExact future economic tool input before financialControl metadata is attached. Stored only as a fingerprint.
toolName *stringExact future economic tool name. The human-approved requisition is cryptographically bound to it.
ttlMsnumber
vendor *string
dashboardGet full ThumbGate dashboard -- Harness Score, gate stats, prevention impact, proof, and system health
describe_reliability_entityGet the definition and state of a business entity (Customer, Revenue, Funnel). Aliased to describe_semantic_entity.
ParameterTypeDescription
typestring
describe_semantic_entityGet the canonical definition and state of a business entity (Customer, Revenue, Funnel).
ParameterTypeDescription
typestring
detect_noopDetect whether a tool call was a no-op (state unchanged) or identical to a prior attempt in the session — a cheap repeat-loop signal. Records the action attempt state for repeat detection.
ParameterTypeDescription
actionId *stringStable identifier for the action being checked (e.g. the file path or command being attempted)
afterContentstringFile content after the action (file kind)
beforeContentstringFile content before the action (file kind)
exitCodenumberCommand exit code (command kind)
filePathstringPath of the file the action targets (file kind)
kindstringAction kind: file edit/write or command execution
sessionIdstringOptional session id used to scope repeat-attempt detection
stderrstringCommand stderr (command kind)
stdoutstringCommand stdout (command kind)
diagnose_failureDiagnose a failed or suspect workflow step using MCP schema, workflow, gate, and approval constraints.
ParameterTypeDescription
approvedboolean
contextstring
errorstring
exitCodenumber
guardrailsobject
intentIdstring
mcpProfilestring
outputstring
rubricScoresarray
stepstring
toolArgsobject
toolNamestring
verificationobject
distribute_context_to_agentsLeader-Agent swarm coordinator. Constructs one context pack and distributes it to N worker agents (perplexity-bug-resolver, codex-reviewer, grok-x-intelligence, etc.), recording provenance per agent. Replaces N independent context derivations with a single shared pack.
ParameterTypeDescription
agents *arrayAgent names that should receive the pack
maxCharsnumberMax characters in the constructed pack (default 6000)
maxItemsnumberMax items in the constructed pack (default 8)
namespacesarrayOptional contextfs namespaces to source from
querystringContext query used to construct the pack
ttlMsnumberOptional pack TTL in milliseconds (default 15 minutes)
enforcement_matrixShow the full Enforcement Matrix: feedback pipeline stats, active pre-action checks, and rejection ledger with revival conditions.
estimate_uncertaintyEstimate Bayesian uncertainty for a set of tags based on past feedback.
ParameterTypeDescription
tagsarrayTags to analyze for uncertainty
evaluate_context_packRecord evaluation outcome for a context pack
ParameterTypeDescription
guardrailsobject
notesstring
outcome *string
packId *string
rubricScoresarray
signalstring
execRun shell commands
ParameterTypeDescription
commandstring
export_databricks_bundleExport ThumbGate logs and proof artifacts as a Databricks-ready analytics bundle
ParameterTypeDescription
outputPathstring
export_dpo_pairsExport DPO preference pairs from local memory log
ParameterTypeDescription
memoryLogPathstring
export_hf_datasetExport ThumbGate agent traces and DPO preference pairs as a HuggingFace-compatible dataset. Produces traces.jsonl, preferences.jsonl, and dataset_info.json with PII-redacted paths. Ready for huggingface-cli upload.
ParameterTypeDescription
includeProvenancebooleanInclude provenance events in traces (default: true)
outputDirstringOutput directory (default: feedback-dir/hf-dataset)
feedback_statsGet feedback stats and recommendations
feedback_summaryGet summary of recent feedback
ParameterTypeDescription
recentnumber
finalize_feedback_sessionFinalize a feedback session and re-infer the lesson with all follow-up context.
ParameterTypeDescription
sessionId *string
follower_growthReturns follower count snapshots for a platform over the past N days.
ParameterTypeDescription
daysnumberNumber of past days to include.
platform *stringPlatform to query follower history for.
gate_statsGet gate enforcement statistics -- blocked count, warned count, top gates
generate_draftGenerate an email draft response and save it as a markdown file in the email drafts directory. The draft is staged for human review before sending.
ParameterTypeDescription
bccstringBCC recipients (comma-separated)
body *stringDraft body text/markdown
ccstringCC recipients (comma-separated)
fromstringSender email address
subject *stringSubject line for the draft
thread_idstringOptional Gmail thread ID to thread the reply
to *stringRecipient email address(es), comma-separated
generate_operator_artifactDynamic operator artifact generator. Turns ThumbGate PR, reliability, revenue, and release data into a decision-ready pulse with metrics, evidence, and next actions.
ParameterTypeDescription
formatstringResponse format. Defaults to json.
typestringArtifact to generate. Defaults to reliability-pulse.
windowHoursnumberLookback window in hours (default 24, max 720)
generate_skillAuto-generate Claude skills from repeated feedback patterns. Clusters failure patterns by tags and produces SKILL.md files with DO/INSTEAD rules.
ParameterTypeDescription
minOccurrencesnumberMinimum pattern occurrences to trigger skill generation (default 3)
tagsarrayFilter to specific tags
generate_social_draftGenerate a social media post draft and save it in the social drafts directory. Used for X/Twitter, LinkedIn, or other platform posts.
ParameterTypeDescription
content *stringThe social media post content
platformstringTarget platform (twitter, linkedin, mastodon, etc.)
tagsstringComma-separated hashtags or tags
threadstringOptional thread context (JSON array of post objects)
get_action_receiptsRead outcome-paired action receipts. Returns the receipt for a specific actionId, or the most recent receipts when no actionId is given.
ParameterTypeDescription
actionIdstringOptional action id to fetch the matching receipt for
limitnumberMax number of recent receipts to return when no actionId is given (default 20)
get_agent_outcome_metricsCompute transparent task, tool, safety, escalation, latency, cost, and business metrics from recorded task outcomes. Empty data returns insufficient_evidence.
get_branch_governanceReturn the active branch and release governance state.
get_broker_execution_receiptsRead recent broker-signed execution receipts from the local ledger.
ParameterTypeDescription
limitnumberMax receipts to return (default 20)
get_business_metricsRetrieve high-level business metrics (Revenue, Conversion, Customers) from the Semantic Layer.
ParameterTypeDescription
windowstringAnalytics window (today, 7d, 30d, all)
get_imported_documentRead a previously imported document with its proposed gate candidates and provenance.
ParameterTypeDescription
documentId *stringImported document id.
get_reliability_rulesRetrieve active prevention rules and success patterns. Aliased to prevention_rules.
get_scope_stateReturn the active task scope and any unexpired protected-file approvals.
get_task_outcomesRead a task outcome by taskId or the most recent evidence-backed outcome receipts.
ParameterTypeDescription
limitinteger
taskIdstring
graphrag_traverseAnswer a multi-hop question over a Neo4j graph with a schema-first ReAct loop. Only read-only Cypher runs (static guard plus READ session); stops after 3 failed attempts and names the missing link instead of guessing. Needs NEO4J_URI, neo4j-driver and model credentials; otherwise returns status "unavailable".
ParameterTypeDescription
maxStepsintegerUpper bound on ReAct steps. Default: 10.
query *stringThe multi-hop question to answer.
import_documentImport a local policy or runbook document into ThumbGate, normalize it for search, and propose provenance-backed gate candidates.
ParameterTypeDescription
contentstringInline document content for hosted or generated imports.
filePathstringLocal file path inside the active workspace or ThumbGate runtime.
proposeGatesbooleanWhen true (default), derive reviewable gate proposals from the document.
sourceFormatstringOptional source format override when importing inline content.
sourceUrlstringOptional external URL or provenance label for the imported document.
tagsarrayOptional tags such as policy, runbook, or team.
titlestringOptional display title override.
infer_lesson_from_historyPerform autonomous inference on chat history to identify why a failure occurred and what rule should be recorded.
ParameterTypeDescription
chatHistory *array
lastActionobject
issue_broker_execution_receiptNot available on the agent MCP surface. Brokers issue receipts out-of-band via scripts/broker-execution-receipts.js with THUMBGATE_BROKER_SIGNING_KEY.
ParameterTypeDescription
brokerIdstring
decisionstringallow | execute | deny
idempotencyKey *string
metadataobject
previousReceiptHashstring
principal *object{ id, kind } of the acting agent/user
providerEventIdstring
target *object{ provider, action, resource? }
list_draftsList email drafts staged in the email drafts directory.
ParameterTypeDescription
include_bodybooleanInclude draft body content in the response
limitnumberMaximum drafts to return
statusstringFilter by status (STAGED_FOR_REVIEW, SENDING, SENT, etc.)
list_harnessesList natural-language harness specs for portable workflow control, proof-backed verification, and GTM execution.
ParameterTypeDescription
tagstringOptional tag filter such as verification, acquisition, or workflow.
list_human_escalationsList auditable human-escalation state. Approval decisions are deliberately absent from the agent tool surface.
ParameterTypeDescription
limitinteger
statusstring
list_imported_documentsList imported policy and runbook documents stored in local ThumbGate state.
ParameterTypeDescription
limitnumberMaximum documents to return (default 20).
querystringOptional title or excerpt filter.
tagstringOptional tag or matched template id filter.
list_intentsList available intent plans and whether each requires human approval in the active profile
ParameterTypeDescription
bundleIdstring
mcpProfilestring
partnerProfilestring
list_purchase_requisitionsList projected purchase-requisition states from the append-only financial ledger and human-review queue.
ParameterTypeDescription
limitinteger
statusstring
managed_agent_statusShow status of the last managed lesson agent run: entries processed, lessons created, gates promoted, and total runs.
native_messaging_auditAudit local browser native messaging hosts and AI browser bridges. Flags missing host binaries, pre-authorized extension bridges, and manifests for browsers not detected locally.
ParameterTypeDescription
aiOnlybooleanWhen true, only AI/browser bridge manifests are returned.
homeDirstringOptional home-directory override for manifest discovery.
platformstringOptional platform override for manifest discovery.
open_feedback_sessionOpen a feedback session after thumbs up/down. Follow-up messages will be captured for 60s.
ParameterTypeDescription
feedbackEventId *stringThe feedback event ID from capture_feedback
initialContextstring
signal *string
org_dashboardOrg-wide multi-agent dashboard — shows all active agents, gate decisions, adherence rates, risk agents, and top blocked gates across the organization. Team rollout: full visibility. Free preview: limited to 3 agents.
ParameterTypeDescription
windowHoursnumberLookback window in hours (default 24)
parallel_workflowExecute a parallel, multi-step subtask workflow to resolve an objective like a security audit, performance benchmark, or repository inspection.
ParameterTypeDescription
concurrencynumberMaximum parallel subtasks (default 3)
objective *stringThe objective to plan and execute (e.g. security audit, performance benchmark)
timeoutMsnumberTimeout in milliseconds (default 60000)
plan_agent_design_governanceEvaluate an agent workflow before adding tools, autonomy, or subagents. Recommends single-agent vs manager/decentralized patterns, baseline evals, instruction fixes, and tool safeguards.
ParameterTypeDescription
conditionalBranchesnumberRough count of if/then instruction branches.
handoffCountnumberExisting or proposed handoff count.
hasBaselineEvalsbooleanWhether baseline agent evals exist.
hasDocsbooleanInstructions draw on existing workflow docs.
hasEdgeCasesbooleanInstructions include edge cases and failure paths.
hasExamplesbooleanInstructions include concrete examples.
hasExitConditionbooleanInstructions define when the run is complete.
hasToolApprovalsbooleanRisky tool calls require approval.
highRiskToolsarrayTools that affect production, money, data, secrets, or outbound actions.
reversibleActionsbooleanRisky actions are reversible or have rollback procedures.
similarToolCountnumberNumber of similar or overlapping tools.
toolCountnumberTotal tools when names are not listed.
toolsarrayTool names available to the agent.
workflowstringWorkflow name or short description.
writeToolsarrayWrite-capable tools.
plan_chatgpt_ads_readinessPrepare ThumbGate intent clusters, ad copy, proof links, UTM measurement, and launch gates for ChatGPT Ads Manager tests.
ParameterTypeDescription
audiencestringAudience segment to target.
budgetnumberInitial test budget.
keywordsarrayHigh-intent conversational queries.
offerstringOffer to advertise, such as Pro or Setup Sprint.
proofLinksarrayProof URLs required by ad claims.
plan_context_footprintEstimate MCP schema and feedback-context footprint before loading large manifests into an agent prompt. Reports progressive-discovery savings, context compaction savings, and proof-preserving recommendations.
ParameterTypeDescription
anchorsarrayOptional entries that must survive compaction.
entriesarrayOptional feedback/context entries to compact and measure.
matryoshkaEmbeddingbooleanWhen true, include Matryoshka embedding compaction footprint tiers. Default: true for MCP plan_context_footprint.
matryoshkaOptionsobjectOptional Matryoshka compaction knobs. Invalid dimensions/counts are rejected.
perEntryMaxCharsnumberMaximum characters retained per large feedback field.
schemaUrlTemplatestringTemplate for progressive MCP tool schema URLs, using {name}.
targetReductionnumberTarget footprint reduction as a ratio or percentage. Default: 0.22.
totalMaxCharsnumberOptional total character budget for compacted feedback entries.
windowSizenumberFeedback compaction recency window.
plan_intentGenerate an intent execution plan with policy checkpoints
ParameterTypeDescription
approvedboolean
bundleIdstring
contextstring
delegationModestring
enforcePlanQualityboolean
intentId *string
mcpProfilestring
partnerProfilestring
repoPathstring
plan_multimodal_retrievalPlan a high-ROI multimodal retrieval rollout for screenshots, PDF pages, dashboard captures, and proof artifacts without starting GPU training.
ParameterTypeDescription
corpusItemsnumberEstimated number of visual artifacts or document pages to index.
evidenceTypesarrayEvidence surfaces to include, such as screenshots, pdf_pages, proof_artifacts, dashboards, or videos.
goalstringBusiness or workflow objective for visual/document retrieval.
latencyBudgetMsnumberTarget retrieval latency budget for agent recall.
maxEmbeddingDimnumberMaximum embedding dimension to budget for Matryoshka-style truncation planning.
useRerankerbooleanWhether to include a multimodal reranker stage after initial embedding retrieval.
plan_oss_pr_opportunity_scoutRank upstream GitHub repositories ThumbGate depends on for proof-backed issue, bounty, and PR opportunities without spammy drive-by contributions.
ParameterTypeDescription
dependenciesarrayDependency names to scout instead of package.json.
includeBountiesbooleanInclude bug-bounty and security search queries.
maxReposnumberMaximum mapped repositories to include.
packagePathstringPath to package.json used to discover dependencies.
plan_proactive_agent_eval_guardrailsMap proactive-assistant eval gaps to PARE-style state-machine, active-user-simulation, goal-inference, intervention-timing, and multi-app orchestration gates.
ParameterTypeDescription
actionCountnumberNumber of state-dependent actions.
appsarrayApps involved in the proactive workflow.
flatToolApiOnlybooleanCurrent eval only covers flat tool calls.
hasActiveUserSimulationbooleanWhether active user simulation exists.
hasGoalInferenceEvalsbooleanWhether goal inference is graded.
hasInterventionTimingEvalsbooleanWhether intervention timing is graded.
hasMultiAppEvalsbooleanWhether multi-app orchestration is graded.
hasStateMachinebooleanWhether apps are modeled as finite state machines.
proactiveWritesbooleanProactive agent can write or mutate state.
stateCountnumberNumber of modeled states.
statesarrayModeled app states.
taskCountnumberNumber of benchmark tasks or scenarios.
userVisibleActionsbooleanInterventions can notify, schedule, send, or affect users.
workflowstringProactive assistant workflow name.
plan_reward_hacking_guardrailsDetect reward-hacking patterns such as unsupported completion claims, sycophancy, verbosity-as-proof, benchmark overfitting, evaluator manipulation, and proxy-only metrics.
ParameterTypeDescription
evidencearrayEvidence artifacts attached to the claim.
hasHoldoutbooleanWhether holdout, regression, or real-workflow evidence exists.
hasHumanObjectivebooleanWhether proxy metrics are mapped to a user objective.
hasVerifierTracebooleanWhether verifier trace, run log, or proof artifact exists.
metricsarrayProxy metrics or reward scores used by the workflow.
multimodalbooleanWhether claims depend on screenshots, PDFs, charts, images, or video.
optimizedForScorebooleanWhether an eval, benchmark, or reward score is being optimized.
textstringCandidate response, claim, summary, or verifier output to inspect.
workflowstringAgent workflow or release lane being evaluated.
prevention_rulesGenerate prevention rules from repeated mistake patterns
ParameterTypeDescription
minOccurrencesnumber
outputPathstring
proof_scorecardScore ThumbGate on 9 measured bars (100 points) from this machine's logs: 30-day repeat rate of thumbed-down mistakes (transcript replay), thumbs-downs with a blocking check, overridden blocks, golden-example eval, one counter, 30-day approval, hook p95, contradictory stats, warnings per session. Unmeasured bars score 0. Includes last week's snapshot for comparison.
query_social_metricsReturns aggregated engagement metrics from the social analytics database for the given platform and time window.
ParameterTypeDescription
daysnumberNumber of past days to include in the query.
platform *stringPlatform to query. Use "all" for all platforms combined.
read_apple_mailRead recent messages from Apple Mail via AppleScript. Optionally filter by sender or subject.
ParameterTypeDescription
limitnumberMaximum messages to read
mailboxstringMailbox name (e.g., "Inbox", "Sent Messages", "Archive")
senderContainsstringFilter messages whose sender contains this text
subjectContainsstringFilter messages whose subject contains this text
read_gmailRead recent Gmail messages via the Gmail API. Falls back to Screenpipe content search if Gmail OAuth token is unavailable.
ParameterTypeDescription
limitnumberMaximum number of messages to return
querystringGmail search query (e.g., "is:unread", "from:client@example.com", "label:inbox")
thread_idstringIf set, read messages from this specific thread
recallRecall relevant past feedback, memories, and prevention rules for the current task. Call this at the start of any task to inject past learnings into the conversation.
ParameterTypeDescription
limitnumberMax memories to return (default 5)
query *stringDescribe the current task or context to find relevant past feedback
repoPathstringOptional repository path for structural impact analysis on coding tasks
reconcile_broker_receipt_chainVerify signatures and hash-chain continuity for all broker execution receipts on the ledger.
reconcile_purchase_ledgerReconcile the append-only financial ledger, including totals, stale reservations, status counts, and tamper-evident event hashes.
record_action_receiptPair a tracked tool call with its outcome (diff, exit code, test result) so a promoted lesson encodes "this action -> this outcome", not just a thumbs signal. Appends to the action-receipts log.
ParameterTypeDescription
actionId *stringIdentifier of the tracked action this receipt pairs with
decisionstringOptional gate decision (allow/warn/deny)
diffstringOptional unified diff or change summary produced by the action
exitCodenumberOptional command exit code outcome
idempotencyKeystringOptional idempotency key for dedupe of the signed receipt
principalstringOptional agent/principal identity recorded on the receipt
providerEventIdstringOptional upstream provider event id
ruleIdstringOptional id of the gate or prevention rule that made the decision; the receipt also records the policy hash in force
stateHashstringOptional post-action state hash (from detect_noop)
targetstringOptional target path, host, or resource the action touched
testOutcomestringOptional test outcome (e.g. passed, failed, 12/12)
toolInputobjectStructured input the tool was called with
toolNamestringName of the tool that was invoked
record_broker_execution_receiptAppend a verified broker-signed execution receipt to the local hash-chained ledger.
ParameterTypeDescription
receiptobjectVerified broker execution receipt
record_task_outcomeRecord an idempotent task-level outcome with verification evidence, tool correctness, policy behavior, latency, cost, and business KPI movement. A completed response without evidence is recorded as not working.
ParameterTypeDescription
businessOutcomeobject
efficiency *object
escalationobject
expectedOutcomestring
failureobject
goal *string
idempotencyKeystring
metadataobject
policy *object
status *string
taskId *string
taskTypestring
toolCalls *array
traceIdstring
verification *object
versionsobject
reflect_on_feedbackRun a post-mortem analysis on negative feedback. Returns a proposed rule and recurrence info.
ParameterTypeDescription
contextstringOne-line context from the caller
conversationWindowarrayLast 5-10 conversation turns before the feedback signal.
feedbackEventIdstringID of a previously captured feedback event
whatWentWrongstringWhat the caller said went wrong
register_claim_gateRegister a custom claim verification rule in local runtime state without editing tracked repo config.
ParameterTypeDescription
claimPattern *stringRegex pattern that should trigger claim verification
messagestringCustom message returned when evidence is missing
requiredActions *arrayTracked actions that must be present before the claim is verified
report_product_issueReport a bug, suggestion, or complaint about ThumbGate itself (not project feedback). Auto-files a GitHub issue with system context. Use when the user expresses frustration or requests a feature for the thumbgate tool.
ParameterTypeDescription
body *stringDescription of the problem or suggestion, in the user own words
categorystringIssue category
title *stringShort issue title (e.g. "Gate blocks valid migration")
request_human_escalationCreate an idempotent, expiring human-review request with requester identity and evidence. Agents cannot approve their own requests.
ParameterTypeDescription
approvalContextDigeststring
evidence *array
idempotencyKeystring
reason *string
requester *object
requiredReviewerRolestring
severitystring
taskId *string
ttlMsnumber
require_evidence_for_claimLeader-Agent completion gate. Before any agent declares done/fixed/shipped/resolved, require tracked session evidence AND recheck parseable factual claims (row counts, file metrics, versions) against configured verifiers. Blocking response when evidence is missing or a factual claim mismatches; callers honor the blocking flag to stop completion claims.
ParameterTypeDescription
claim *stringThe completion claim text to verify (e.g. "Fix shipped", "the row count is 1,284")
goalContractany
modestringblocking (default) returns blocking=true when evidence missing or factual claim mismatches; advisory returns blocking=false
sessionIdstringOptional session id to associate with the gate decision
reserve_purchase_requisitionReserve a single-use amount from an independently approved purchase requisition. Approval is unavailable from the agent tool surface.
ParameterTypeDescription
amountUsd *number
idempotencyKeystring
purpose *string
requisitionId *string
sourceMessageId *string
ttlMsnumber
vendor *string
retrieve_lessonsRetrieve the most relevant lessons for a given tool/action context. Use in PreToolUse hooks for per-action guidance.
ParameterTypeDescription
actionContextstringDescription of what the tool call is doing
filtersobjectPre-filter the candidate corpus before lexical or vector ranking.
includeRetrievalMetabooleanInclude path provenance such as lexical/dense pools and query variants.
includeSharedbooleanInclude explicitly shared memories with scoped results. Defaults true.
maxResultsnumberMax lessons to return (default 5)
queryRewritebooleanEnable bounded deterministic synonym expansion when the original lexical match is weak. Defaults true.
requireScopebooleanFail closed unless a complete four-field scope is supplied.
scopeany
toolName *stringThe tool being called (e.g., Bash, Edit, Read)
route_workloadDecide whether a workload goes to Claude (code, tool use, strict JSON) or Gemini (huge payloads, raw logs), or splits into ordered sub-tasks. Deterministic rules first; an LLM router is used for ambiguous work only when useModel is true. Returns a validated routing decision; does not run the workload.
ParameterTypeDescription
useModelbooleanAllow an LLM router call for ambiguous workloads. Default: false.
workload *stringThe task text or payload to route.
run_autoresearchRun a bounded metric-improvement loop: measure a baseline, test a hypothesis, require primary and holdout checks, then keep or discard the candidate mutation with proof.
ParameterTypeDescription
cwdstringOptional workspace directory for the evaluation commands.
holdoutCommandsarrayAdditional checks required before a candidate can be kept.
iterationsnumberNumber of iterations to run. Capped at 5 per call; default 1.
nextValuenumberOptional explicit candidate value for the target.
paperLimitnumberMaximum research papers to ingest when researchQuery is set. Capped at 10; default 5.
researchQuerystringOptional research query used to build an autoresearch context brief.
targetNamestringOptional evolution target to mutate.
testCommandstringPrimary metric command. Defaults to npm test.
timeoutMsnumberPer-command timeout in milliseconds. Capped at 600000; default 120000.
run_harnessExecute a natural-language harness through the async job runner with checkpoints, verification, and proof-backed outcomes.
ParameterTypeDescription
harness *stringHarness id or file basename to execute.
inputsobjectOptional input overrides for template variables.
jobIdstringOptional stable job id for the resulting runtime.
run_managed_lesson_agentRun the LLM-powered lesson inference and rule generation agent over accumulated feedback. Requires ANTHROPIC_API_KEY for LLM mode; falls back to heuristics if unavailable.
ParameterTypeDescription
dryRunbooleanPreview what would be written without persisting
limitnumberMax feedback entries to process (default: 20)
modelstringOverride the Claude model (default: claude-haiku-4-5)
run_self_distillRun the self-distillation agent to auto-evaluate recent agent sessions and generate improvement lessons without human feedback. Reads conversation logs, detects success/failure signals, and persists lessons.
ParameterTypeDescription
dryRunbooleanIf true, analyzes but does not persist lessons
limitnumberMax conversation logs to process (default 20)
modelstringLLM model to use for analysis (requires ANTHROPIC_API_KEY)
satisfy_gateSatisfy a gate condition with optional structured reasoning. Evidence is stored with a 5-minute TTL. When structuredReasoning is provided, the premise/evidence/conclusion chain is stored in the audit trail.
ParameterTypeDescription
evidencestringEvidence text (e.g., "0 unresolved threads")
gate *stringGate condition ID to satisfy (e.g., pr_threads_checked)
structuredReasoningobjectStructured pre-gate reasoning: state premises, trace evidence, assess risk, derive conclusion before unlocking.
scheduleCreate, list, or delete scheduled tasks. Supports natural language scheduling like "daily 9:00", "weekly monday 8:30", "hourly". Installs as macOS LaunchAgent or Linux crontab.
ParameterTypeDescription
action *stringSchedule action
commandstringNode.js code to execute on schedule
descriptionstringWhat this schedule does
namestringSchedule name/ID
schedulestringSchedule spec: "daily 9:00", "weekly monday 8:30", "hourly"
workingDirectorystringWorking directory for the command
search_lessonsSearch promoted lessons and show the corrective actions, lifecycle state, prevention rules, gates, and next harness fixes linked to each result.
ParameterTypeDescription
categorystring
includeSharedbooleanInclude explicitly shared memories with scoped results. Defaults true.
limitnumberMaximum results to return (default 10)
querystringSearch query. Leave empty to list the most recent lessons.
requireScopebooleanFail closed unless a complete four-field scope is supplied.
scopeany
tagsarrayRequire all tags to be present on a lesson
search_thumbgateSearch raw ThumbGate state across feedback logs, ContextFS memory, prevention rules, and imported policy documents.
ParameterTypeDescription
filtersobjectPre-filter imported documents before chunk ranking.
limitnumberMaximum results to return (default 10)
query *stringSearch query for ThumbGate state.
queryRewritebooleanEnable bounded deterministic synonym expansion. Defaults true.
signalstringOptional feedback-signal filter when searching feedback data.
sourcestringRestrict search to a single ThumbGate source.
security_scanScan code for OWASP vulnerabilities (injection, XSS, path traversal, SSRF, prototype pollution) and supply chain risks (typosquatting, install script abuse, wildcard versions). Returns findings with severity, category, and line numbers.
ParameterTypeDescription
content *stringCode content to scan
diffModebooleanWhen true, treats content as git diff output
filePathstringFile path for language-aware scanning
self_distill_statusShow status of the last self-distillation run: sessions analyzed, lessons generated, signals detected.
session_handoffWrite a session handoff primer that auto-captures git state (branch, last 5 commits, modified files), last completed task, next step, and blockers. The next session reads this automatically for seamless context continuity.
ParameterTypeDescription
blockersarrayOpen blockers or unresolved issues
customContextstringAny additional context for the next session
lastTaskstringWhat was completed this session
nextStepstringExact next action for the next session
openFilesarrayKey files being worked on
projectstringProject name (auto-detected from cwd if omitted)
session_primerRead the most recent session handoff primer to restore context from the previous session. Call at session start.
session_reportUnified observability rollup. Aggregates feedback stats, gate stats, and recent context/provenance events over a time window in one call. Replaces separate dashboard/gate_stats/feedback_stats calls with a single LangSmith-style report.
ParameterTypeDescription
windowHoursnumberLookback window in hours (default 24, max 720)
session_searchSearch past session notes and conversations using full-text search. Returns relevant sessions from the SQLite FTS5 index for cross-session recall.
ParameterTypeDescription
limitnumberMax results to return (default 10)
query *stringSearch query to find relevant past sessions
set_branch_governanceDeclare or clear branch and release governance so PR, merge, release, and publish actions can be evaluated against explicit workflow state.
ParameterTypeDescription
baseBranchstringProtected base branch for merge and release operations (defaults to main)
branchNamestringOptional branch name the governance applies to
clearbooleanClear the current branch governance state instead of setting it
localOnlybooleanWhen true, PR, merge, release, and publish actions are blocked for this lane
prNumberstringOptional pull request number once a PR exists
prRequiredbooleanWhether this lane must go through a pull request (defaults to true)
prUrlstringOptional pull request URL once a PR exists
queueRequiredbooleanWhether the target branch requires a merge queue
releaseEvidencestringOptional evidence or release plan note for the governed version
releaseSensitiveGlobsarrayOptional custom globs that define release-sensitive files for this branch lane
releaseVersionstringExpected package version for release or publish actions
set_task_scopeDeclare or clear the current task scope so ThumbGate can compare affected files and diffs against the approved path set.
ParameterTypeDescription
allowedPathsarrayGlob patterns that define the allowed file scope for this task
clearbooleanClear the current task scope instead of setting one
localOnlybooleanWhen true, also marks the task as local-only
protectedPathsarrayOptional protected-file globs that require explicit approval before editing or publishing
repoPathstringOptional repo root used when evaluating git diff scope
summarystringShort summary of the task being worked
taskIdstringOptional stable task identifier (ticket, issue, or work item id)
ttlMsnumberOptional lease length in milliseconds. With it the scope becomes time-bounded authority (e.g. 90000 for "write under ./src for 90 seconds") and FAILS CLOSED on expiry: a lapsed lease authorises nothing until renewed. Omit for a permanent scope. Clamped to 60s..24h.
workflowContractobjectOptional deterministic workflow run contract. Supports workflowId, allowedBranches, blockedActions, requiredEvidence, and completionGate.
settings_statusResolve managed, user, project, and local ThumbGate settings with per-field origin metadata for policy visibility.
settle_purchase_requisitionCommit actual spend with receipt evidence or release an unused reservation. Events are append-only.
ParameterTypeDescription
actualAmountUsdnumber
evidencearray
reasonstring
requisitionId *string
reservationId *string
status *string
skool_post_detailRead a single Skool post URL headlessly and return normalized post metadata and content when available. Read-only.
ParameterTypeDescription
url *stringFull Skool post URL.
skool_read_communityRead a Skool community page headlessly and return normalized categories, posts, and engagement metadata. Read-only.
ParameterTypeDescription
categorystringOptional category name or Skool category id.
communitystringSkool community slug, for example ai-automation-society.
limitnumberMaximum posts to return.
pagenumberOptional page number.
sortTypestringOptional Skool sort parameter.
urlstringFull Skool community URL. Use this or community.
skool_revenue_signalsRank Skool posts for ThumbGate acquisition opportunities, pain points, and high-intent outreach angles. Read-only.
ParameterTypeDescription
categorystringOptional category name or Skool category id.
communitystringSkool community slug, for example ai-automation-society.
focusstringOptional extra keyword or phrase to boost.
limitnumberMaximum revenue signals to return.
postLimitnumberMaximum posts to read before ranking signals.
signalLimitnumberMaximum revenue signals to return. Overrides limit.
urlstringFull Skool community URL. Use this or community.
social_digestReturns a full digest object summarising all social metrics, follower deltas, and top content for the past N days.
ParameterTypeDescription
daysnumberNumber of past days to summarise.
start_handoffStart a sequential delegation handoff from a delegation-eligible intent plan
ParameterTypeDescription
approvedboolean
bundleIdstring
contextstring
delegateProfilestring
intentId *string
mcpProfilestring
partnerProfilestring
plannedChecksarray
repoPathstring
suggest_fixSuggest corrective actions for a described failure by searching the lesson DB and prevention rules. Returns up to 3 ranked suggestions with their source. Call this when something goes wrong and you need guidance on what to do next.
ParameterTypeDescription
context *stringDescription of what went wrong or what the agent is trying to fix.
limitnumberMaximum number of suggestions to return (default 3, max 5).
thumbgate_get_pricing_summaryRead-only pointer to ThumbGate plans. Does not start any purchase; buying always requires a human on the pricing page.
thumbgate_get_product_overviewWhat ThumbGate is: an infrastructure firewall for AI coding agents. Captures feedback, promotes it to memory, generates prevention rules, and blocks known-bad tool calls via PreToolUse hooks. Returns the install command and key links.
thumbgate_get_service_healthRead-only live health of the hosted ThumbGate service: status, version, build.
top_social_contentReturns top content items ranked by total engagement (likes + comments + shares + saves) over the past N days.
ParameterTypeDescription
daysnumberNumber of past days to consider.
limitnumberMaximum number of results to return.
track_actionRecord a verification action in the current session (for example figma_verified or tests_passed). Session actions expire after one hour.
ParameterTypeDescription
actionId *stringVerification action ID to record
metadataobjectOptional structured metadata describing the evidence source
triage_emailsRead and classify emails from all configured sources (Gmail, Apple Mail, Screenpipe). Returns a prioritized triage view.
ParameterTypeDescription
apple_mailboxstringApple Mail mailbox to read
gmail_querystringGmail search query
limit_per_sourcenumberMax messages per source
trim_contextCompact retrieved context for one target operation before inference: drops metadata and boilerplate, collapses repeats, and keeps error lines, stack frames, trace ids and matching declarations verbatim. Deterministic unless useModel is true and the result is still over tokenBudget.
ParameterTypeDescription
rawContext *stringRaw retrieved text to compact.
targetOperation *stringWhat the downstream model must do with the context.
tokenBudgetintegerTarget size in estimated tokens. Default: 2000.
useModelbooleanAllow an LLM compaction pass when over budget. Default: false.
unified_contextAssemble a complete, role-aware context object in one call. Combines session state, user profile, relevant lessons, prevention guards, context pack, and code-graph impact — with tiered graceful degradation (full → warm → cold). Replaces multiple recall/retrieve/session_primer calls with a single orchestrated request.
ParameterTypeDescription
agentTypestringAgent type — shapes context budget and feature inclusion
query *stringDescribe the current task to find relevant context
repoPathstringRepository path for code-graph impact analysis
toolInputobjectCurrent tool input (for guard evaluation)
toolNamestringCurrent tool being invoked (improves lesson matching)
user_profileManage persistent user profile — preferences, style, domain knowledge that persists across sessions. Actions: add, remove, replace, view.
ParameterTypeDescription
action *stringProfile action
contentstringContent to add or new content for replace
old_textstringSubstring to match for remove/replace
verify_broker_execution_receiptVerify a broker-signed execution receipt (Ed25519). Rejects agent-minted or rewritten "proof". ThumbGate verifies; the broker holds provider credentials and signs.
ParameterTypeDescription
receiptobjectBroker execution receipt object (schema broker-execution-receipt-v1)
verify_claimCheck whether a claim has enough tracked evidence and, for parseable factual claims (row counts, file lines/bytes/existence, versions), recheck configured SQLite/filesystem/JSON verifiers before the agent asserts it.
ParameterTypeDescription
claim *stringThe claim text to verify (e.g. "the row count is 1,284" or "all tests pass")
goalContractany
webhook_deliverSend a message to Teams, Slack, or Discord via webhook. Use for status reports, alerts, and notifications.
ParameterTypeDescription
message *stringMessage body (markdown supported)
platform *stringTarget platform
title *stringMessage title
webhook_url *stringWebhook URL for the target channel
workflow_sentinelPredict pre-action workflow risk, blast radius, and remediations before a tool call executes.
ParameterTypeDescription
baseBranchstringOptional protected base branch override (defaults to main)
branchesarrayOptional parallel workflow branches for fan-out budget and review checks.
budgetobjectOptional per-action budget controls: maxTokensPerAction, remainingTokens, maxCostUsdPerAction, remainingCostUsd, maxParallelBranches
changedFilesarrayOptional affected-file list used to estimate blast radius
commandstringOptional shell command when toolName is Bash
contentarrayProvider-native message content blocks; Anthropic tool_use blocks are normalized automatically
costUsdnumberEstimated USD cost for this action when provider usage is unavailable
filePathstringOptional primary file path for edit-like tools
financialControlobjectSingle-use purchase authorization scope from the append-only financial ledger.
goalstringOptional agent goal for open-ended tool planning.
methodstringOptional JSON-RPC/MCP method, such as tools/call
modelstringOptional model name used for audit evidence and budget review
paramsobjectOptional JSON-RPC/MCP params, including tools/call name and arguments, resources/read URI, or prompts/get template arguments
providerstringOptional provider name, such as anthropic, openai, codex, cursor, gemini, or mcp
providerToolCallobjectProvider-native tool call object, including Anthropic tool_use or OpenAI function/tool call shapes
repoPathstringOptional repository path used for git-aware integrity checks
requirePrForReleaseSensitivebooleanWhen true, release-sensitive changes on non-base branches require an open PR
requireVersionNotBehindBasebooleanWhen true, release-sensitive changes cannot lag behind the base branch package version
routesarrayOptional routing workflow destinations or classes.
stepsarrayOptional predefined workflow steps for chaining/evaluator workflow audit evidence.
tokenEstimatenumberEstimated total tokens for this action when provider usage is unavailable
toolNamestringTool being assessed, such as Bash, Edit, or Write. Optional when provider-native tool call payload is supplied.
toolsarrayOptional abstract/combinable tool names available to an open-ended agent.
usageobjectProvider token/cost usage, such as input_tokens, output_tokens, or total_tokens
workflowobjectOptional workflow metadata: pattern, steps, routes, branches, tools, inspection, and verification evidence.
workflowPatternstringOptional workflow architecture hint. Agents require inspection evidence; predefined workflows are easier to evaluate.

Security checks

  • ✓README presentThe repository's README runs to about 3.2K words.

5 checks have not been run yet.

README

The repository's README runs to about 3.2K words. The original in the repository is authoritative.

Read full README
Questions

About IgorGanapolsky/ThumbGate

How do I install IgorGanapolsky/ThumbGate?

In Claude Code, run claude mcp add igorganapolsky-thumbgate -- npx thumbgate serve # start MCP server on stdio. Other MCP clients take the command after "--" in their server configuration.

Is IgorGanapolsky/ThumbGate safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is IgorGanapolsky/ThumbGate still maintained?

Yes — the last commit was 2 hours ago. The repository has 34 stars and 9 forks.

What tools does IgorGanapolsky/ThumbGate provide?

Conduid read 124 tools from the source: ai_component_inventory, append_feedback_context, approve_protected_action, bootstrap_internal_agent, capture_feedback, capture_memory_feedback, check_operational_integrity, classify_email and 116 more. 106 of them publish their parameters, listed under Tools above.