three.ws Provenance
v0.1.3Append-only, signed, on-chain-verifiable agent action log — record and audit what agents did.
Values you need
| Variable | What it is | |
|---|---|---|
THREE_WS_BASE | optional | Base URL of the three.ws API that serves the agent-actions ledger. Override only when self-hosting or targeting a preview deployment. Default: https://three.ws |
THREE_WS_TIMEOUT_MS | optional | Per-request timeout in milliseconds for the ledger reads/appends. Default: 20000 |
THREE_WS_TOKEN | required secret | Bearer token authenticating every call — a three.ws API key (sk_live_…) or an OAuth access token. The ledger is owner-scoped: you can read and append actions only for agents your token owns. Required for all three tools. Treat like a password. |
THREE_WS_SIGNER_KEY | optional secret | Optional 0x-prefixed EVM private key. When set, append_agent_action ERC-191-signs each action so anyone can ecrecover the signer and verify authorship on-chain. A per-call `signer_key` arg overrides it. Omit to append unsigned. Treat like cash. |
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add provenance-mcp -e 'THREE_WS_TOKEN=<THREE_WS_TOKEN>' -- npx -y @three-ws/provenance-mcp@0.1.3Add to
claude_desktop_config.json{
"mcpServers": {
"provenance-mcp": {
"args": [
"-y",
"@three-ws/provenance-mcp@0.1.3"
],
"command": "npx",
"env": {
"THREE_WS_TOKEN": "<THREE_WS_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"provenance-mcp": {
"args": [
"-y",
"@three-ws/provenance-mcp@0.1.3"
],
"command": "npx",
"env": {
"THREE_WS_TOKEN": "<THREE_WS_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "THREE_WS_TOKEN",
"id": "three-ws-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"provenance-mcp": {
"args": [
"-y",
"@three-ws/provenance-mcp@0.1.3"
],
"command": "npx",
"env": {
"THREE_WS_TOKEN": "${input:three-ws-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.provenance-mcp]
command = "npx"
args = ["-y", "@three-ws/provenance-mcp@0.1.3"]
env = { "THREE_WS_TOKEN" = "<THREE_WS_TOKEN>" }For AI agents
- Ask the user for: THREE_WS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_agent_actions, query_action, append_agent_action.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json