What You Need
- Claude Code installed
- The seller’s URL (e.g.
https://my-service.example.com) - A funded wallet with USDC on Base (testnet or mainnet)
For testnet, get free USDC from faucet.circle.com.
Step 1: Install Payments MCP
@coinbase/payments-mcp handles wallet signing and on-chain settlement. Install it with the interactive setup:
- Select Claude Code as your MCP client
- Choose automatic or manual configuration
- Complete the wallet login flow
~/.payments-mcp/ and the server is registered in your MCP config automatically.
See the Coinbase Payments MCP docs for detailed wallet setup and authentication.
Step 2: Add the Key0 Seller
Add the seller’s MCP server to your.mcp.json (project root) or use the CLI:
- .mcp.json
- CLI
.mcp.json
Finding the MCP URL
If the seller has MCP enabled, the URL is their base URL +/mcp:
How It Works
Once configured, just ask Claude to use the service. Claude handles the payment flow automatically:- Call
discover_plans— see available plans and pricing - Call
request_access— get a payment challenge - Use
payments-mcpto sign and submit the USDC payment - Receive an access token (JWT)
- Call the protected API with the token
Try It Locally
Fund your wallet
Get Base Sepolia USDC from faucet.circle.com for your wallet address.

