Sheaf

v0.2.2
io.sheafhq/mcp-tools Checked 1 day ago Published 8 days ago

Verify tamper-evident receipts for AI agent tool calls; query Sheaf chains and Merkle proofs.

Values you need

VariableWhat it is
SHEAF_RECORDER_URLoptional Recorder to query (default https://api.sheafhq.io).
SHEAF_BASE_RPCoptional Base mainnet RPC used to confirm anchors (default https://mainnet.base.org).
SHEAF_PAYER_PRIVATE_KEYoptional secret Funded Base wallet key, only for the two paid x402 tools. Read tools need no key.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-tools -- npx -y --package=@sheafhq/mcp-tools@0.2.2 sheaf-mcp-tools
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-tools": {
      "args": [
        "-y",
        "--package=@sheafhq/mcp-tools@0.2.2",
        "sheaf-mcp-tools"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-tools": {
      "args": [
        "-y",
        "--package=@sheafhq/mcp-tools@0.2.2",
        "sheaf-mcp-tools"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-tools": {
      "args": [
        "-y",
        "--package=@sheafhq/mcp-tools@0.2.2",
        "sheaf-mcp-tools"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-tools]
command = "npx"
args = ["-y", "--package=@sheafhq/mcp-tools@0.2.2", "sheaf-mcp-tools"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: sheaf_chain_head, sheaf_get_proof_for, sheaf_verify_bundle, sheaf_buy_bundle, sheaf_anchor_local.
  4. 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