{"id":50956003,"url":"https://github.com/x402node/x402-mcp","last_synced_at":"2026-07-06T02:00:36.826Z","repository":{"id":360577258,"uuid":"1248629696","full_name":"x402node/x402-mcp","owner":"x402node","description":"MCP server bringing 100+ x402-paid APIs to AI agents. Auto-syncs from CDP Bazaar. Stablecoin micropayments via x402 protocol across multi-chain (Base, Solana, Polygon, BNB, EVM). Built for agentic commerce: developer utilities, validators, encoders, generators, M2M payments, autonomous workflows. Works with Claude, Cursor, and any MCP-aware client.","archived":false,"fork":false,"pushed_at":"2026-05-27T03:12:34.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-27T03:13:13.134Z","etag":null,"topics":["agentic","agentic-commerce","ai-agent","base-network","claude","cursor","m2m-payment","machine-to-machine","mcp","mcp-server","micropayment","model-context-protocol","multi-chain","pay-per-call","polygon","solana","stablecoin","usdc","x402","x402-payment"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/x402node.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-24T22:18:23.000Z","updated_at":"2026-05-27T03:12:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/x402node/x402-mcp","commit_stats":null,"previous_names":["x402node/x402-mcp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/x402node/x402-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x402node%2Fx402-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x402node%2Fx402-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x402node%2Fx402-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x402node%2Fx402-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/x402node","download_url":"https://codeload.github.com/x402node/x402-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x402node%2Fx402-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35175119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic","agentic-commerce","ai-agent","base-network","claude","cursor","m2m-payment","machine-to-machine","mcp","mcp-server","micropayment","model-context-protocol","multi-chain","pay-per-call","polygon","solana","stablecoin","usdc","x402","x402-payment"],"created_at":"2026-06-18T07:00:18.764Z","updated_at":"2026-07-06T02:00:36.821Z","avatar_url":"https://github.com/x402node.png","language":"JavaScript","funding_links":[],"categories":["Agent Wallets and On-chain Actions"],"sub_categories":[],"readme":"\u003c!-- mcp-name: io.github.x402node/x402-mcp --\u003e\n\n# x402-mcp\n\nMCP server bringing 100+ x402-paid APIs to AI agents (Claude, Cursor, MCP-aware clients). Auto-discovers tools from CDP Bazaar; handles USDC micropayments on Base + Solana.\n\n## Features\n\n- Auto-discovers x402 endpoints from CDP Bazaar (no hard-coded list)\n- Reads metadata directly from Bazaar (description, schema, pricing)\n- Refreshes every 5 min — new endpoints appear without restart\n- Handles HTTP 402 + USDC payment automatically\n- Multi-chain: Base + Solana mainnet live (USDC on both); Polygon/BNB/EVM expandable\n\n## Install (Claude Desktop)\n\nAdd to `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"x402-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"x402node-mcp\"],\n      \"env\": { \"X402_PRIVATE_KEY\": \"0xYOUR_BASE_PRIVATE_KEY\" }\n    }\n  }\n}\n```\n\nSet `X402_PRIVATE_KEY` to a Base EOA private key (hex, 0x-prefixed) with USDC on Base mainnet (Solana payment via SPL USDC also supported). Restart Claude Desktop. The server auto-discovers ~117 tools on first run.\n\n## Cost Safety\n\n- Each tool call costs $0.0001-$0.10 USDC depending on endpoint\n- Hard cap: `MAX_PRICE_USD` env var (default $0.10/call); calls above are blocked\n- Use a fresh burner wallet, not your main wallet\n\n## How it works\n\nAgent calls tool -\u003e HTTP 402 -\u003e x402-fetch signs EIP-3009 -\u003e CDP Facilitator settles on Base or Solana -\u003e response returned. Buyer pays no gas.\n\n## Development\n\n```bash\ngit clone https://github.com/x402node/x402-mcp\ncd x402-mcp\nnpm install\ncp .env.example .env  # edit X402_PRIVATE_KEY\nnode mcp-server.js\n```\n\n## Links\n\n- x402 protocol: https://x402.org\n- CDP Bazaar: https://docs.cdp.coinbase.com/x402/bazaar\n- MCP: https://modelcontextprotocol.io\n- npm: https://www.npmjs.com/package/x402node-mcp\n- Glama: https://glama.ai/mcp/servers/x402node/x402-mcp\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx402node%2Fx402-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx402node%2Fx402-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx402node%2Fx402-mcp/lists"}