Pay for x402 APIs safely with your own wallet: Seller Probe check, on-chain proof, receipt refetch.
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add agentpay402-mcp \ -e WALLET_PROVIDER=YOUR_WALLET_PROVIDER \ -- npx -y [email protected]
Environment
WALLET_PROVIDER (required): Wallet that pays: cdp, privy or crossmint; none runs only the discovery and checking tools.CDP_API_KEY_ID (optional, not in the config above): CDP API key ID (WALLET_PROVIDER=cdp).CDP_API_KEY_SECRET (optional, not in the config above): CDP API key secret (WALLET_PROVIDER=cdp).CDP_WALLET_SECRET (optional, not in the config above): CDP wallet secret (WALLET_PROVIDER=cdp).PRIVY_APP_ID (optional, not in the config above): Privy app ID (WALLET_PROVIDER=privy).PRIVY_APP_SECRET (optional, not in the config above): Privy app secret (WALLET_PROVIDER=privy).PRIVY_WALLET_ID (optional, not in the config above): Privy Ethereum server wallet ID that pays on Base (WALLET_PROVIDER=privy).CROSSMINT_SERVER_API_KEY (optional, not in the config above): Crossmint server-side API key (WALLET_PROVIDER=crossmint).CROSSMINT_SIGNER_SECRET (optional, not in the config above): Crossmint server signer secret (WALLET_PROVIDER=crossmint).CROSSMINT_WALLET_ADDRESS (optional, not in the config above): Crossmint smart wallet address (WALLET_PROVIDER=crossmint).NVM_API_KEY (optional, not in the config above): Optional Nevermined API key for nvm:erc4337 credit plans (sandbox: with testnet, live: with mainnet).X402_NETWORK (optional, not in the config above): testnet (Base Sepolia, Solana Devnet) or mainnet (real USDC on Base and Solana).X402_PER_CALL_MAX_USD (optional, not in the config above): Largest single payment in USD; anything above it is refused before signing.X402_PER_SESSION_MAX_USD (optional, not in the config above): Total USD that may be paid while the server runs.X402_ALLOWED_HOSTS (optional, not in the config above): Comma-separated hosts that may be paid; empty allows every host.X402_PROBE_MODE (optional, not in the config above): When Seller Probe recorded the host as paid but not delivered: block, warn or off.X402_PRICE_MISMATCH (optional, not in the config above): When the 402 price differs from the Bazaar listing: block, warn or off.X402_RETRY_WITH_RECEIPT (optional, not in the config above): Refetch once with the same payment from Delivery Receipt sellers after a failed delivery.X402_REPORT_TO_PROBE (optional, not in the config above): Send an anonymous not_delivered report to Seller Probe.We don't run packages, so we can't list this server's tools.