Discover machine-payable APIs, probe x402 payment terms, and run seller operations. Non-custodial. Connect the official Code402 MCP server to Claude, ChatGPT, or Cursor through gate — one gateway URL, no config files, security-checked.
Free to start · No credit card · No hosting needed
Pick your client. Copy, paste, done — or let gate handle sign-ins and policies for you.
claude mcp add --transport http code402 https://mcp.code402.dev/mcpRun in your terminal, then restart Claude Code.
Code402 · https://mcp.code402.dev/mcp
Real prompts you can type the moment it's connected — no setup, no docs to read.
“Use “code402_list_services”: List services on the code402 gateway storefront (GET /v1/services): first-party APIs and third-party seller listings, each with method, URL,.”
“Use “code402_get_service”: Fetch a single service from the code402 storefront by its serviceId (as returned by code402_list_services). Returns the same service shape a.”
“Use “code402_probe_endpoint”: Send an unpaid GET to any public https URL and report whether it answers with a valid x402 402 challenge, plus normalized terms { scheme, ne.”
“Use “code402_gateway_health”: Check the code402 gateway's /healthz: returns { status, service, network } where network is the settlement chain currently configured (e.g.”
Every server in the gate directory has to pass the same four checks before your AI can touch it. Here's how Code402 holds up.
Operated by Code402 (code402.dev) at its documented MCP endpoint — not a third-party mirror or community re-host.
This server only exposes public data — no account and no credentials are involved when you connect.
gate checks every tool for prompt injection, hidden instructions, data-exfiltration hints, and over-broad permissions before the server is available through your gateway.
If Code402 adds or changes tools later, gate re-scans and alerts you — before your AI acts on the change.
Add one gateway URL to Claude, ChatGPT, or any MCP client. One-time setup, about two minutes.
Choose Code402 in the gate directory. No sign-in needed.
Code402's tools are live in every AI client you've connected — with rules and logging built in.
Free to start · No credit card · No hosting needed
Fetched live from the official endpoint and re-checked daily by gate — not marketing copy.
code402_list_services — List services on the code402 gateway storefront (GET /v1/services): first-party APIs and third-party seller listings, each with method, URL,
code402_get_service — Fetch a single service from the code402 storefront by its serviceId (as returned by code402_list_services). Returns the same service shape a
code402_probe_endpoint — Send an unpaid GET to any public https URL and report whether it answers with a valid x402 402 challenge, plus normalized terms { scheme, ne
code402_gateway_health — Check the code402 gateway's /healthz: returns { status, service, network } where network is the settlement chain currently configured (e.g.
code402_register_seller — Register a seller on the code402 gateway (or update its name — the payout wallet is immutable once set; re-binding requires EIP-191 proof):
code402_create_listing — Create or update a paid listing for a registered seller: POST /v1/sellers/{sellerId}/services with { serviceId, upstream_url, price_usd, met
code402_get_seller_analytics — Fetch a seller's own settlement analytics (free): GET /v1/sellers/{sellerId}/analytics. Returns { total_settled_calls, gross_usd, unique_buy
code402_get_seller_invoice — Compute a seller's platform-fee invoice from settled receipts: GET /v1/sellers/{sellerId}/invoice?since={unix_ms}. Returns { tier, transacti
+ 2 more tools once connected
https://mcp.code402.dev/mcpYes — Code402 operates its own remote MCP server at mcp.code402.dev. gate connects you to that official endpoint and adds security scanning, per-tool access rules, and an activity log on top.
Add gate's gateway URL to your AI client once, then pick Code402 in the directory. No account or sign-in is needed. From then on, Code402's tools are available in every client you've connected to gate.
No. Code402 runs the server, and gate is fully managed. You just connect one URL — there's nothing to install, deploy, or maintain.
It's the vendor's official endpoint, and gate scans its tools for prompt injection and hidden instructions before it goes live, re-checks it whenever it changes, and lets you allow, block, or require approval for every single tool.
Yes — you can get started with gate for free and connect Code402 in minutes. No credit card required.
Every server below works through the same gateway URL — connect once, add tools anytime.
Set up Code402 in: Claude · Claude Code · ChatGPT · Cursor · VS Code