x402-market
io.github.AsaiShota/mcp-server
v0.2.0-alpha.1Updated May 2, 2026stdio · npm
Let AI agents pay-per-call for any HTTP API via x402 on Base mainnet. One tool: pay_and_call.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add mcp-server -e MARKET_API_URL=https://x402-market-api.lien-studio-akiyama.workers.dev -e BASE_RPC_URL=https://mainnet.base.org -e BASE_CHAIN_ID=8453 -e MCP_MAX_PRICE=1.0 -- npx -y @x402-market/[email protected]Configuration
5 settings.
MCP_BUYER_PRIVATE_KEYEnv var· optional· secretFunded buyer wallet private key (0x-prefixed). Required for pay_and_call; read-only tools work without it.MARKET_API_URLEnv var· optionalMarketplace API base URL.Default:https://x402-market-api.lien-studio-akiyama.workers.devBASE_RPC_URLEnv var· optionalBase RPC endpoint. Defaults to Base mainnet public RPC; Alchemy/QuickNode recommended for higher rate limits.Default:https://mainnet.base.orgBASE_CHAIN_IDEnv var· optional8453 = Base mainnet (default, matches live listings). 84532 = Base Sepolia testnet.Default:8453MCP_MAX_PRICEEnv var· optionalHard cap on per-call cost (USDC). Refuses to pay above this.Default:1.0
Links
Listed in the official MCP Registry since May 2, 2026. Mirrored daily; last checked Nov 26, 2026.