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"
}社群
證據