mcp x402 for Claude Desktop
io.github.codespar/mcp-x402
MCP server for x402 — HTTP-native micropayments protocol by Coinbase (USDC on Base/Solana)
client:Claude Desktop
transport:stdio
runtime:npm
Install mcp x402 in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mcp-x402": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-x402"
],
"env": {
"X402_API_KEY": "<X402_API_KEY>"
}
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs