three.ws Provenance
io.github.nirholas由 GitHub 帳號 nirholas 發布v0.1.3更新於 Oct 27, 2026
Append-only, signed, on-chain-verifiable agent action log — record and audit what agents did.
概覽
在 three.ws 的僅追加、ERC-191 簽章帳本中記錄與稽核 AI 代理行為,讓助理附加操作並驗證其他代理的來源軌跡。
- 可以做什麼
- 依時間倒序、游標分頁讀取某個代理的操作軌跡,每筆紀錄內嵌驗證簽章
- 依 id 取得單一操作並還原簽署者,證明作者身分與內容未被竄改
- 將新操作附加到不可變帳本,可選擇以 EVM 私鑰進行 ERC-191 簽章
- 回傳每筆紀錄的驗證結果,例如 ok、signer_mismatch 或 unsigned
- 適用情境
- 當你需要一份可防竄改的代理行為歷史,或想在信任被分叉、購買或委派的代理之前,核對其聲稱的軌跡確實由所宣稱的位址加密簽章時使用。
- 執行需求
- 需要 Node.js 20 以上版本,透過 npx 或 npm install 在本機執行。需能連線 three.ws 或自訂的 THREE_WS_BASE。必須提供 THREE_WS_TOKEN(three.ws API 金鑰或 OAuth 存取權杖),帳本依擁有者隔離,只能存取該權杖擁有的代理。可選用 THREE_WS_SIGNER_KEY 與 THREE_WS_TIMEOUT_MS。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 three.ws Provenance,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@three-ws/provenance-mcp
The agent action-provenance log over MCP — append-only, ERC-191-signed, on-chain-verifiable. Record what an agent did, and audit another agent's trail, from any AI assistant.
[npm] [license] [node] [MCP Registry] [three.ws]
A Model Context Protocol server for the three.ws agent trust layer. Every action an agent takes is written to an append-only ledger — optionally signed with the agent's EVM wallet (ERC-191), so its authorship is provable, not just claimed. This server lets one agent record its own actions and lets any agent read and cryptographically verify another agent's provenance trail.
Why it matters: a forked, purchased, or delegated agent is only trustworthy if its history is provable. provenance-mcp turns "the agent says it did X" into "the agent signed that it did X, and anyone can ecrecover the signer to confirm." The ledger is immutable — records are never edited or deleted.
Install
Or run with npx (no install):
Quick start
Claude Code, one line:
Claude Desktop / Cursor (claude_desktop_config.json or mcp.json):
Inspect the surface with the MCP Inspector:
Tools
append_agent_action is the only write tool. It appends to an append-only ledger: every call records a new, permanent record (so it is not idempotent — don't retry blindly), and nothing is ever overwritten or removed (so it is not destructive).
Input parameters
list_agent_actions: agent_id (required, the agent identity's uuid), limit (1 to 200, default 50), cursor (numeric, from a previous next_cursor).
query_action: agent_id (required, the agent identity's uuid), id (required, numeric action id).
append_agent_action: agent_id (required, the agent identity's uuid), type (required, ≤64 chars), payload (object, optional), source_skill (optional), signer_key (optional 0x EVM key, overrides THREE_WS_SIGNER_KEY for this call).
How signing & verification work
When you append an action with a signer key configured, the server:
- Builds a canonical form of the action —
{ v, agentId, type, payload, sourceSkill }with recursively sorted keys, so the same logical action always produces the same bytes. - SHA-256 digests it and frames the digest as
threews:action:v1:<digest>(domain-separated, so an action signature can never be replayed as some other three.ws message). - ERC-191
personal_signs that string with the agent's EVM key and sends the resultingsignature+signer_addressalongside the action.
list_agent_actions and query_action reverse this offline: they recompute the digest from the stored record and ecrecover the signer. A verification.reason of ok means the signature recovers to the claimed address — cryptographic proof of authorship and integrity. signer_mismatch means the record does not verify (tampering, or a foreign signing scheme) and must not be trusted; unsigned means no signature was attached.
This is the same primitive three.ws uses server-side for its Portable & Verifiable Brain — verification needs nothing but the public record and the agent's address.
Example
Requirements
- Node.js >= 20.
- Network access to
https://three.ws(or your ownTHREE_WS_BASE). - A
THREE_WS_TOKEN— a three.ws API key (sk_live_…) or OAuth access token. The ledger authenticates every call and is owner-scoped: you can read and append actions only for agents your token owns.
Environment variables
Links
- Homepage: https://three.ws
- Changelog: https://three.ws/changelog
- Issues: https://github.com/nirholas/three.ws/issues
- License: Apache-2.0. See LICENSE.
Part of the three.ws SDK suite — 3D AI agents, on-chain identity, and agent payments.
Website · Changelog · GitHub
來源:packages/provenance-mcp/README.md,提交 c8f2cde
工具
0版本歷史
2- v0.1.3最新Oct 10, 2026
- v0.1.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分