x402receipts

v1.0.0
com.x402receipts/mcp Checked 2 days ago Published 2 months ago

Record x402 agent purchases as reconciled, auditable receipts; verify any receipt on the ledger.

Values you need

VariableWhat it is
X402RECEIPTS_EVM_PRIVATE_KEYoptional secret Optional. 0x… key holding USDC on Base; pays USD 1 per wallet per calendar month; later uploads that month are free.
X402RECEIPTS_SOLANA_PRIVATE_KEYoptional secret Optional. ed25519 key (hex or base58) holding USDC on Solana.

npm (npx) discovery passed

Requires Node.js 18+

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

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: x402receipts_service_info, x402receipts_record_receipts, x402receipts_verify_receipt.
  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