If you've built MCP servers for Claude Code, you know the distribution problem: anyone who installs your server gets unlimited free access. There's no clean way to charge per call without rolling your own auth + billing. x402 solves this at the HTTP layer. Here's how to build a pay-per-call MCP server where every tool call costs USDC — settled instantly on Base. What is x402? x402 is an HTTP payment protocol that revives the abandoned 402 Payment Required status code. The flow: Client requests a resource Server returns 402 with a PAYMENT-REQUIRED header containing payment details (price, wallet, network) Client signs a USDC transfer using EIP-3009 (no gas needed from the client) Client retries with a PAYMENT-SIGNATURE header Coinbase facilitator validates and settles on-chain Server returns the resource No API keys. No billing infrastructure. No subscriptions. Just HTTP + crypto.…