Install x402 Universal Payer for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"nirholas-mcp-bridge": {
"command": "npx",
"args": [
"-y",
"@three-ws/mcp-bridge@1.0.2"
],
"env": {
"MCP_BRIDGE_EVM_PRIVATE_KEY": "YOUR_MCP_BRIDGE_EVM_PRIVATE_KEY",
"MCP_BRIDGE_SVM_PRIVATE_KEY": "YOUR_MCP_BRIDGE_SVM_PRIVATE_KEY",
"MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC": "100000",
"MCP_BRIDGE_MAX_TOTAL_ATOMIC": "1000000",
"MCP_BRIDGE_ALLOWED_PAYTO": "",
"MCP_BRIDGE_ALLOWED_HOSTS": "",
"MCP_BRIDGE_ALLOW_HTTP": "0",
"MCP_BRIDGE_DISCOVER_LIMIT": "20",
"MCP_BRIDGE_BAZAAR_URL": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
"MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER": "5",
"MCP_BRIDGE_MAX_DEPOSIT_ATOMIC": "5000000",
"X402_MCP_BRIDGE_CHANNELS_DIR": "~/.x402-mcp-bridge/channels",
"RPC_URL_8453": ""
}
}
}
}