x402-market for Claude Desktop
io.github.asaishota/mcp-server
Let AI agents pay-per-call for any HTTP API via x402 on Base mainnet. One tool: pay_and_call.
client:Claude Desktop
transport:stdio
runtime:npm
Install x402-market in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@x402-market/mcp-server"
],
"env": {
"MARKET_API_URL": "<MARKET_API_URL>",
"MCP_BUYER_PRIVATE_KEY": "<MCP_BUYER_PRIVATE_KEY>",
"BASE_RPC_URL": "<BASE_RPC_URL>",
"BASE_CHAIN_ID": "<BASE_CHAIN_ID>",
"MCP_MAX_PRICE": "<MCP_MAX_PRICE>"
}
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs