Trust Gate
Post-quantum, tamper-evident receipts for agent actions. Ed25519 + ML-DSA-65, offline verify.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"trust-gate-mcp": {
"url": "https://trust-gate-mcp.onrender.com/mcp"
}
}
}远程端点
https://trust-gate-mcp.onrender.com/mcpstreamable-http它能做什么
工具清单
工具(4)
🟡mint_receipt_for_record_change(record_id, object_type, field, old_value, new_value, ...)
Mint 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).
输入模式
{
"type": "object",
"properties": {
"record_id": {
"title": "Record Id",
"type": "string"
},
"object_type": {
"title": "Object Type",
"type": "string"
},
"field": {
"title": "Field",
"type": "string"
},
"old_value": {
"title": "Old Value",
"type": "string"
},
"new_value": {
"title": "New Value",
"type": "string"
},
"changed_by_agent": {
"title": "Changed By Agent",
"type": "string"
},
"tenant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tenant"
},
"policy": {
"default": "per-decision CRM change evidence",
"title": "Policy",
"type": "string"
}
},
"required": [
"record_id",
"object_type",
"field",
"old_value",
"new_value",
"changed_by_agent"
],
"title": "mint_receipt_for_record_changeArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"additionalProperties": true,
"title": "Result",
"type": "object"
}
},
"required": [
"result"
],
"title": "mint_receipt_for_record_changeOutput"
}🟢audit_my_agent_inventory(inventory, notes)
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.
输入模式
{
"type": "object",
"properties": {
"inventory": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Inventory",
"type": "array"
},
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Notes"
}
},
"required": [
"inventory"
],
"title": "audit_my_agent_inventoryArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"additionalProperties": true,
"title": "Result",
"type": "object"
}
},
"required": [
"result"
],
"title": "audit_my_agent_inventoryOutput"
}🟡mint_action_receipt(agent_id, operation, target, policy, inputs, ...)
Mint a post-quantum receipt for an arbitrary consequential agent action.
输入模式
{
"type": "object",
"properties": {
"agent_id": {
"title": "Agent Id",
"type": "string"
},
"operation": {
"title": "Operation",
"type": "string"
},
"target": {
"title": "Target",
"type": "string"
},
"policy": {
"default": "agent action evidence",
"title": "Policy",
"type": "string"
},
"inputs": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Inputs"
},
"decision": {
"default": "ACTION_GOVERNED",
"title": "Decision",
"type": "string"
}
},
"required": [
"agent_id",
"operation",
"target"
],
"title": "mint_action_receiptArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"additionalProperties": true,
"title": "Result",
"type": "object"
}
},
"required": [
"result"
],
"title": "mint_action_receiptOutput"
}⚪verify_receipt(receipt, require_pq)
Verify 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.
输入模式
{
"type": "object",
"properties": {
"receipt": {
"additionalProperties": true,
"title": "Receipt",
"type": "object"
},
"require_pq": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Require Pq"
}
},
"required": [
"receipt"
],
"title": "verify_receiptArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"additionalProperties": true,
"title": "Result",
"type": "object"
}
},
"required": [
"result"
],
"title": "verify_receiptOutput"
}社区
证据