anchor-x402-mcp
MCP server exposing 14 anchor-x402 services as tools any Claude Desktop / Cursor / Codex / Continue agent can call. Pay-per-use USDC via x402 on Base mainnet — no API keys, no subscriptions.
Two transports — pick by who holds the wallet key
This package (stdio) needs a funded EVM private key in the local process (ANCHOR_WALLET_PRIVATE_KEY) and pays for each call on your behalf. Convenient, but you are handing a hot key to a process.
Streamable HTTP — POST https://api.anchor-x402.com/mcp — needs no install and no key handover. It exposes all 18 services (four more than this package: roll_random, investigate_wallet, ledger_summary, ledger_report), and you pay per call with a PAYMENT-SIGNATURE header, so your key never leaves your side.
{
"mcpServers": {
"anchor-x402": { "url": "https://api.anchor-x402.com/mcp" }
}
}Clients that speak remote MCP natively take the url form above. For one that only launches stdio processes, bridge it:
{
"mcpServers": {
"anchor-x402": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.anchor-x402.com/mcp"]
}
}
}





