x402-market
MCPby AsaiShota · v0.2.0-alpha.1
Let AI agents pay-per-call for any HTTP API via x402 on Base mainnet. One tool: pay_and_call.
mcplocal
MCP configuration
stdio
Command
npx -y @x402-market/mcp-server@0.2.0-alpha.1
Environment
MARKET_API_URLMarketplace API base URL.
MCP_BUYER_PRIVATE_KEYsecretFunded buyer wallet private key (0x-prefixed). Required for pay_and_call; read-only tools work without it.
BASE_RPC_URLBase RPC endpoint. Defaults to Base mainnet public RPC; Alchemy/QuickNode recommended for higher rate limits.
BASE_CHAIN_ID8453 = Base mainnet (default, matches live listings). 84532 = Base Sepolia testnet.
MCP_MAX_PRICEHard cap on per-call cost (USDC). Refuses to pay above this.
Install in one click with Zurek
Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.