Let AI agents pay-per-call for any HTTP API via x402 on Base mainnet. One tool: pay_and_call.
Use this profile to copy client config, check auth requirements, review tools and resources, and compare related MCP servers before adding it to an AI client.
npx -y @x402-market/mcp-server{
"MARKET_API_URL": "https://x402-market-api.lien-studio-akiyama.workers.dev",
"MCP_BUYER_PRIVATE_KEY": "YOUR_SECRET_VALUE",
"BASE_RPC_URL": "https://mainnet.base.org",
"BASE_CHAIN_ID": "8453",
"MCP_MAX_PRICE": "1.0"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-asaishota-mcp-server": {
"command": "npx",
"args": [
"-y",
"@x402-market/mcp-server"
],
"env": {
"MARKET_API_URL": "https://x402-market-api.lien-studio-akiyama.workers.dev",
"MCP_BUYER_PRIVATE_KEY": "YOUR_SECRET_VALUE",
"BASE_RPC_URL": "https://mainnet.base.org",
"BASE_CHAIN_ID": "8453",
"MCP_MAX_PRICE": "1.0"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
x402-market is an MCP server for Let AI agents pay-per-call for any HTTP API via x402 on Base mainnet. One tool: pay_and_call.. It supports STDIO transport.
Use the generated config in Install. This server runs with npx -y @x402-market/mcp-server; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for npx -y @x402-market/mcp-server. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for npx -y @x402-market/mcp-server. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for npx -y @x402-market/mcp-server. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for npx -y @x402-market/mcp-server. Add required environment variables before starting Cursor or VS Code.
x402-market uses STDIO transport. Use the package or command config in Install.
x402-market inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
x402-market does not advertise a verified auth requirement. If discovery fails, it may still need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
@x402-market/mcp-serverstdio | npm | 0.2.0-alpha.1 | Env: MARKET_API_URL Env: MCP_BUYER_PRIVATE_KEY secret Env: BASE_RPC_URL Env: BASE_CHAIN_ID Env: MCP_MAX_PRICE |