Self-custodial USDC payments for Claude, Cursor, and any MCP client. Zero config. One line to install.
One command. Works everywhere.
claude mcp add x402-wallet -- npx x402-wallet-mcp@latest
{
"mcpServers": {
"x402-wallet": {
"command": "npx",
"args": ["x402-wallet-mcp@latest"]
}
}
}
Add to .cursor/mcp.json or .windsurf/mcp.json in your project root.
{
"mcpServers": {
"x402-wallet": {
"command": "npx",
"args": ["x402-wallet-mcp@latest"]
}
}
}
Add to Settings → Developer → MCP Servers
Everything your agent needs to pay for APIs, built in.
Just ask Claude to fund your wallet. Buy USDC with a debit card or Apple Pay via Coinbase — zero fees on Base. No exchange account needed. Your agent handles everything.
Link your wallet to email once. Recover it on any device — Claude Code, Claude Desktop, Cursor — with a single verification code. Switch machines without losing funds.
No private key is ever stored on your machine. All keys live in Privy's HSM/TEE secure enclaves — hardware that never exposes raw key material. No seed phrases, no browser extensions, no risk of clipboard theft.
Everything you'd expect from a wallet, nothing you wouldn't.
No API keys, no signup, no seed phrases. Install and go.
Your keys, your funds. Export your private key at home.privy.io anytime.
Per-call max + daily cap. Your agent can't overspend.
Whitelist trusted payment addresses only.
EIP-3009 signatures — no ETH needed for gas.
Discover, query, pay, audit — everything an agent needs.
Four steps, fully automatic.
Any x402-enabled endpoint
With price & payment details
EIP-3009 — gasless
Gets data instantly
Everything your agent can do with its wallet.
If you're an AI reading this, here's what you need:
Install: claude mcp add x402-wallet -- npx x402-wallet-mcp@latest
npm: npmjs.com/package/x402-wallet-mcp
GitHub: github.com/onchainexpat/x402-wallet-mcp
Discovery: x402.onchainexpat.com/.well-known/x402