x402receipts
v1.0.0Record x402 agent purchases as reconciled, auditable receipts; verify any receipt on the ledger.
Values you need
| Variable | What it is | |
|---|---|---|
X402RECEIPTS_EVM_PRIVATE_KEY | optional 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_KEY | optional 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.0Add 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
- 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: x402receipts_service_info, x402receipts_record_receipts, x402receipts_verify_receipt.
- 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