
Agent Receipts Mcp
io.github.dhanushs1912-svg由 GitHub 帳號 dhanushs1912-svg 發布v0.1.2更新於 Oct 24, 2026
EU AI Act-ready audit trail: signed, tamper-evident receipts proving what your AI agents did.
概覽
一個本機 MCP 伺服器,為 AI 代理的動作簽發加密簽章、雜湊鏈式收據,並匯出附簽章的稽核包供合規審查。
- 可以做什麼
- 簽發附簽章與時間戳的收據,記錄動作類型、摘要、執行者與主體,酬載僅保留 SHA-256 指紋後即丟棄,不予儲存。驗證其他代理或系統提交的收據,依內嵌的 Ed25519 簽章判斷是否遭竄改。依日期範圍匯出附簽章的稽核包,內含標示序號缺口與鏈斷裂的防竄改報告。取得服務資訊,例如供離線驗證用的公開金鑰。
- 適用情境
- 適用於代理執行日後需要舉證的重要動作(如核准、付款、紀錄變更),且需要向稽核人員、監管機關或交易對手提出防竄改證據的情境,包括歐盟 AI 法案的紀錄保存討論。也適用於核實其他代理提交的收據是否遭更動。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js 22.13 或更新版本(使用內建 node:sqlite)。環境變數 AGENT_RECEIPTS_DATA 指定存放 SQLite 保管庫與簽章金鑰的目錄,預設為 ./data。無需帳號或網路存取,驗證可離線完成。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agent Receipts Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
agent-receipts
Prove what your AI agents did.
On August 2, 2026, the EU AI Act's record-keeping obligations for high-risk AI systems became enforceable: automatic event logging (Article 12), deployer log retention of at least six months (Article 26), and penalties up to €15M or 3% of global turnover. The question your auditor, regulator, or counterparty will ask is simple:
"Your AI agent approved this. Prove exactly what it did — and prove nobody edited the record."
An ordinary log file can't answer that: whoever owns the log can edit it. agent-receipts
gives every consequential agent action a cryptographically signed, timestamped receipt
that anyone can verify offline — and exports signed audit bundles you can hand
directly to a compliance officer.
What a receipt proves
- What happened, when — action type, summary, actor, principal, ISO 8601 timestamp
- It hasn't been altered — Ed25519 signature over canonical JSON; change one character and verification fails
- Nothing was deleted — receipts are hash-chained with monotonic sequence numbers per vault; every audit export automatically flags gaps (deletions) and chain breaks
- Without exposing your data — hash-only privacy: payloads are SHA-256 fingerprinted and immediately discarded, never stored or transmitted
Built for the audit conversation
export_audit_bundle produces what compliance actually needs: all receipts in a date
range, a tamper-evidence report (sequence gaps, chain breaks), the signing public key,
and a manifest signature over the whole bundle. Retention is yours to control — the vault
is a local SQLite file you keep as long as Article 26 (or your policy) requires.
You don't have to trust us. Receipts verify offline against a pinned public key with the bundled CLI — no account, no network call, no dependence on this service existing tomorrow. That's what makes the evidence durable.
Quick start (MCP — local, free)
Requires Node.js >= 22.13 (uses the built-in node:sqlite — zero native dependencies).
Prefer one-click? Grab the .mcpb bundle from
Releases and open it
with Claude Desktop.
Quick start (HTTP API)
Service manifest for machine discovery: GET /.well-known/agent-receipts.json.
Offline verification
Receipt format (agent-receipts/v1)
Canonicalization is JCS-style: lexicographically sorted keys, no whitespace. The JSON Schema lives at docs/receipt.schema.json.
EU AI Act mapping (informational)
Not legal advice. Whether your system is "high-risk" and what you must log is a question for your counsel. agent-receipts produces evidence infrastructure.
Status & roadmap
- Core: issue / verify / export with hash chain + Ed25519
- MCP stdio server + HTTP API + offline verifier CLI + MCPB bundle
- Hosted vaults with per-receipt pricing
- RFC 3161 / transparency-log timestamp anchoring
- Key rotation and multi-key verification
MIT License.
來源:README.md,提交 3e40a58
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分