x402 Notary MCP

v0.1.12
io.github.forgemeshlabs/x402-notary-mcp Checked 1 day ago Published 1 month ago

Cryptographic receipts for AI outputs on Base or Solana via x402.

Values you need

VariableWhat it is
WALLET_PRIVATE_KEYoptional secret Dedicated low-balance Base wallet private key for x402 USDC micropayments. Optional — verification tools work without it. Never use your primary wallet.
NOTARY_RAILoptional Payment rail: base or solana. Defaults to base, or solana when NOTARY_BASE_URL contains notary-solana.

npm (npx) discovery passed

Requires Node.js 18+

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

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: notarize_inference, notarize_batch, verify_attestation, get_receipt, notary_stats, notary_pubkey.
  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