Install guide · Claude Desktop
Install AgentPay402 MCP for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
Add to Cursor: AgentPay402 MCPInstall in VS Code: AgentPay402 MCPInstall in VS Code Insiders: AgentPay402 MCP
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
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.
{ "mcpServers": { "kato9292929-x402-wallet-mcp": { "command": "npx", "args": [ "-y", "agentpay402-mcp@0.4.0" ], "env": { "WALLET_PROVIDER": "none", "CDP_API_KEY_ID": "YOUR_CDP_API_KEY_ID", "CDP_API_KEY_SECRET": "YOUR_CDP_API_KEY_SECRET", "CDP_WALLET_SECRET": "YOUR_CDP_WALLET_SECRET", "PRIVY_APP_ID": "YOUR_PRIVY_APP_ID", "PRIVY_APP_SECRET": "YOUR_PRIVY_APP_SECRET", "PRIVY_WALLET_ID": "YOUR_PRIVY_WALLET_ID", "CROSSMINT_SERVER_API_KEY": "YOUR_CROSSMINT_SERVER_API_KEY", "CROSSMINT_SIGNER_SECRET": "YOUR_CROSSMINT_SIGNER_SECRET", "CROSSMINT_WALLET_ADDRESS": "YOUR_CROSSMINT_WALLET_ADDRESS", "NVM_API_KEY": "YOUR_NVM_API_KEY", "X402_NETWORK": "testnet", "X402_PER_CALL_MAX_USD": "0.10", "X402_PER_SESSION_MAX_USD": "1.00", "X402_ALLOWED_HOSTS": "", "X402_PROBE_MODE": "block", "X402_PRICE_MISMATCH": "warn", "X402_RETRY_WITH_RECEIPT": "true", "X402_REPORT_TO_PROBE": "false" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |