TruthGate
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TruthGateVerify my agent's last response"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TruthGate for Agents
TruthGate is a fail-closed preflight, approval, evidence, and verification runtime for Hermes, OpenClaw, n8n agents, and custom LLM systems.
It does not promise zero hallucinations. It prevents unsupported output from being treated as verified completion.
v0.2 security model
Server-owned policy cannot be weakened by request payloads.
API routes require a bearer key.
High-risk approvals are HMAC-signed, task-bound, expiring, and single-use.
External tool traces can require HMAC signatures.
Evidence IDs, citations, trust, claim coverage, tool success, output text, and artifact hashes receive deterministic checks.
Evidence is scanned for common prompt-injection patterns before generation.
A genuinely different verifier model is required by default.
Audit events avoid raw prompts, tokens, and secrets.
Verified memory is deduplicated and retains task provenance.
Provider requests use bounded retries and sanitized errors.
Related MCP server: AI Workbench MCP
Install
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env
truthgate-apiOpen http://127.0.0.1:8787/docs. All /v1/* routes require:
Authorization: Bearer <TRUTHGATE_API_KEY>Production startup rejects the included development secrets.
Hermes MCP integration
TruthGate exposes three narrow MCP tools:
truthgate_preflighttruthgate_verifytruthgate_authorize
Use integrations/hermes/config.example.yaml to configure the stdio server in
~/.hermes/config.yaml, then run /reload-mcp in Hermes. Copy the companion
integrations/hermes/SKILL.md into your Hermes skills directory if you want
Hermes to follow the gate workflow consistently.
Human approval
Preflight returns task_id and task_digest. A human can issue a short-lived
approval:
truthgate approve \
--task-id TASK_ID \
--task-digest TASK_DIGEST \
--risk-level highThe token does not authorize a different task contract and cannot be consumed twice.
Deterministic rules
Requests can attach server-validated rules:
evidence_existstool_succeededoutput_containsartifact_sha256
Model verification is never enough by itself. A final result is verified only
when the independent verifier and all deterministic gates pass.
API
GET /healthPOST /v1/preflightPOST /v1/verifyPOST /v1/runPOST /v1/authorizeGET /v1/memoryGET /v1/audit/{task_id}
Hard limitation
MCP cannot intercept every Hermes built-in tool result. Signed traces require a trusted host wrapper or a native Hermes tool-result hook. Without that hook, TruthGate should verify knowledge work and explicit evidence, but must not claim cryptographic proof of every action Hermes performs.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceProof-of-behavior enforcement for AI agents. Declare behavioral constraints, enforce at runtime, produce SHA-256 hash-chained audit trails. Supports covenants (permit/forbid/require), real-time verification, and cross-agent trust handshakes.Last updated438MIT
- AlicenseCqualityBmaintenanceEnables acceptance gates for AI coding-agent runs by recording evidence, running deterministic validation, applying a quality gate, and rendering auditable outcomes.Last updated7Apache 2.0
- AlicenseBqualityAmaintenanceAn MCP server that enforces fail-closed deterministic checks, independent refute-first review, and tamper-evident hash-chained receipts for AI agent outputs before claiming completion.Last updated43MIT
- Alicense-qualityAmaintenanceLocal-first AI agent for approval-gated automation and verifiable LLM workflows.Last updated1MIT
Related MCP Connectors
Preflight, approve, and prove consequential agent actions with signed evidence and x402 tools.
Runtime permission, approval, and audit layer for AI agent tool execution.
Pre-action attestation perimeter for AI agents — 8 primitives, signed C18 receipt per call.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ay7627514-dotcom/truthgate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server