← Agent Tools Directory / MCP servers
Exposes x402-paid APIs discovered from Coinbase Bazaar, handling USDC micropayments on Base.
Category: Developer Tools · Source: x402node/x402-mcp
claude mcp add x402-mcp -e X402_PRIVATE_KEY=YOUR_VALUE -- npx -y x402node-mcp
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"x402-mcp": {
"command": "npx",
"args": [
"-y",
"x402node-mcp"
],
"env": {
"X402_PRIVATE_KEY": "0xYOUR_BASE_PRIVATE_KEY"
}
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"x402-mcp": {
"command": "npx",
"args": [
"-y",
"x402node-mcp"
],
"env": {
"X402_PRIVATE_KEY": "0xYOUR_BASE_PRIVATE_KEY"
}
}
}
}
The same mcpServers block works in Claude Desktop (claude_desktop_config.json), Windsurf and most other MCP clients.
X402_PRIVATE_KEYValues shown as placeholders in the README; get them from the provider. Never commit them to git.
Config taken from the project README. Check the repository for the latest options before running third-party code.