audit_my_agent_inventory
Rank a CALLER-PROVIDED list of MCP tools by worst-regret if they act, with a signed receipt. Cannot auto-discover the inventory -- MCP does not allow that; the caller must pass it in.
Mint a tamper-evident receipt for a consequential agent action, and verify it offline from the certificate alone.
LABSCO SUMMARY
Verification here runs from the certificate by itself, which is what keeps it useful when the vendor is gone, uninterested, or the party in dispute. The same idea points at the vendor in the exit drill: it asks whether you still hold a signing key, a local model and your own data.
An accountability layer for agent actions, built on the open-source OpenAgentOntology signing primitive: post-quantum receipts for things that matter, a preview-then-commit decision gate, egress classification, and a drill for how much a vendor's disappearance would cost you.
Python. pip install trust-gate-mcp runs it over stdio and signs with Ed25519 plus ML-DSA-65 in pure Python, with no native toolchain; the [slh] extra adds the hash-based SLH-DSA leg through liboqs and needs one. A hosted endpoint at https://trust-gate-mcp.onrender.com/mcp speaks streamable HTTP. Running the container in production needs the volume mounted at /data/oao — without it the signing key rotates on every restart and long-running verification chains break. TRUST_GATE_BEARER_TOKEN and TRUST_GATE_ALLOWED_ORIGINS turn on bearer auth and narrow CORS.
One command — pip install trust-gate-mcp
USE CASES
Mint a receipt at the moment it acts, recording the operation, the target and what decided it, then verify that receipt later without contacting anything.
Run the preview for a risk assessment, decide, then commit with the same preview_id — the inputs are checked to be unchanged before the permit is issued.
Record each field change as a receipt where old and new values are hashes, so the trail proves what changed without holding what it was.
Classify the sample against sensitivity markers before it goes to an external provider; anything RESTRICTED is blocked and the result comes back with its own receipt.
Pass the list of tools your agent is holding and get them ranked by worst regret if they act, with a signed record of the assessment.
Run the drill and read it step by step: local signing key, local model access, local data export — informational, with nothing changed.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
audit_my_agent_inventoryRank a CALLER-PROVIDED list of MCP tools by worst-regret if they act, with a signed receipt. Cannot auto-discover the inventory -- MCP does not allow that; the caller must pass it in.
check_egressEgress classification check. Scans a data sample for sensitivity markers (heuristic) and classifies as PUBLIC / INTERNAL / CONFIDENTIAL / RESTRICTED. Blocks RESTRICTED-class egress. Returns classification, retention info, and a tamper-evident receipt.
gate_decisionTwo-phase decision gate. PREVIEW phase returns a risk assessment and preview_id without acting. COMMIT phase requires that preview_id back, verifies inputs match, mints a tamper-evident receipt, and returns an execution permit. Stateless. Optional attestation: triggered_by_type, triggered_by_source, decision_model.
mint_action_receiptMint a post-quantum receipt for an arbitrary consequential agent action. Optional attestation: triggered_by_type (human/agent/script), triggered_by_source (api/cli/cron), decision_model (the LLM model used). Allowlisted to safe chars.
mint_receipt_for_record_changeMint a post-quantum receipt for one CRM record change. Old/new values are carried as SHA-256 hashes. Works with any CRM (Relaticle, hosted CRMs, custom).
run_exit_drillVendor exit readiness drill. Checks local signing key, local model access (Ollama), and local data export capability. Returns step-by-step results and a tamper-evident receipt. Informational -- no side effects.
verify_receiptVerify a Trust Gate receipt from the certificate alone (offline). require_pq=True (default via OAO_REQUIRE_PQ) FAILS if the ML-DSA-65 or SLH-DSA legs are missing -- defends against signature-stripping downgrade attacks.
BEFORE YOU INSTALL
7 tools when we connected. pip install "trust-gate-mcp[slh]" adds SLH-DSA signing beyond Ed25519 and ML-DSA-65. audit_my_agent_inventory ranks only the tools you pass it.
uvx on PATH
CONTEXT COST
Rated by the size of the 7 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"trust-gate-mcp": {
"command": "uvx",
"args": [
"trust-gate-mcp"
]
}
}
}pip install trust-gate-mcp