three.ws Provenance
io.github.nirholasPublished by GitHub account nirholasv0.1.3Updated Oct 27, 2026
Append-only, signed, on-chain-verifiable agent action log — record and audit what agents did.
Overview
Records and audits AI agent actions in an append-only, ERC-191-signed ledger on three.ws, letting an assistant append actions and verify another agent's…
- What you can do
- Read an agent's action trail newest-first with cursor pagination, each record signature-checked inline
- Fetch a single action by id and recover its signer to prove authorship and integrity
- Append a new action to the immutable ledger, optionally ERC-191-signed with an EVM key
- Report verification results such as ok, signer_mismatch or unsigned for each record
- When to use it
- Use it when you need a tamper-evident history of what an agent did, or when you want to check that another agent's claimed trail is cryptographically signed by the address it names, for example before trusting a forked, purchased or delegated agent.
- Requirements
- Node.js 20 or newer, run locally via npx or npm install. Network access to three.ws or a custom THREE_WS_BASE. A required THREE_WS_TOKEN (three.ws API key or OAuth access token); the ledger is owner-scoped to agents that token owns. Optional THREE_WS_SIGNER_KEY and THREE_WS_TIMEOUT_MS.
Installation
In SourceWeft
- Open three.ws Provenance in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: packages/provenance-mcp/README.md at commit c8f2cde
Tools
0Version history
2- v0.1.3LatestOct 10, 2026
- v0.1.2Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts