x402receipts MCP Server
by x402receiptscom.x402receipts/mcpv1.0.0
Record x402 agent purchases as reconciled, auditable receipts; verify any receipt on the ledger.
context tax
queued
security
queued
cold start
queued
freshness
Active11d ago
Install x402receipts MCP server
Install in Claude Code
claude mcp add x402receipts -e X402RECEIPTS_EVM_PRIVATE_KEY='<x402receipts-evm-private-key>' -e X402RECEIPTS_SOLANA_PRIVATE_KEY='<x402receipts-solana-private-key>' -- npx -y x402receipts-mcpInstall in Cursor
{
"mcpServers": {
"x402receipts": {
"command": "npx",
"args": [
"-y",
"x402receipts-mcp"
],
"env": {
"X402RECEIPTS_EVM_PRIVATE_KEY": "<x402receipts-evm-private-key>",
"X402RECEIPTS_SOLANA_PRIVATE_KEY": "<x402receipts-solana-private-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"x402receipts": {
"command": "npx",
"args": [
"-y",
"x402receipts-mcp"
],
"env": {
"X402RECEIPTS_EVM_PRIVATE_KEY": "<x402receipts-evm-private-key>",
"X402RECEIPTS_SOLANA_PRIVATE_KEY": "<x402receipts-solana-private-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"x402receipts": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"x402receipts-mcp"
],
"env": {
"X402RECEIPTS_EVM_PRIVATE_KEY": "<x402receipts-evm-private-key>",
"X402RECEIPTS_SOLANA_PRIVATE_KEY": "<x402receipts-solana-private-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"x402receipts": {
"command": "npx",
"args": [
"-y",
"x402receipts-mcp"
],
"env": {
"X402RECEIPTS_EVM_PRIVATE_KEY": "<x402receipts-evm-private-key>",
"X402RECEIPTS_SOLANA_PRIVATE_KEY": "<x402receipts-solana-private-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| X402RECEIPTS_EVM_PRIVATE_KEY | — | yes | 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 | — | yes | Optional. ed25519 key (hex or base58) holding USDC on Solana. |
Freshness
Active — last maintenance signal 11d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-29 · 11d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-27 · 13d ago · official registry · v1.0.0
FAQ
›How do I install the x402receipts MCP server in Claude Code?
Run: claude mcp add x402receipts -e X402RECEIPTS_EVM_PRIVATE_KEY='<x402receipts-evm-private-key>' -e X402RECEIPTS_SOLANA_PRIVATE_KEY='<x402receipts-solana-private-key>' -- npx -y x402receipts-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does x402receipts require an API key?
Yes. It expects X402RECEIPTS_EVM_PRIVATE_KEY, X402RECEIPTS_SOLANA_PRIVATE_KEY, of which 2 are secrets.
›Can I use x402receipts as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is x402receipts in the official MCP registry?
Yes, as com.x402receipts/mcp.