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 分