Community · Official remote MCP server

The Code402 MCP server,
connected in one click.

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

Use this server

Add Code402 to your AI in one minute

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/mcp

Run in your terminal, then restart Claude Code.

Code402 · https://mcp.code402.dev/mcp

What you can do

What your AI can do with Code402

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.

Security check

How secure is the Code402 MCP server?

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.

Verified directory serverCode402 · code402.dev

Official endpoint

Operated by Code402 (code402.dev) at its documented MCP endpoint — not a third-party mirror or community re-host.

No sign-in needed

This server only exposes public data — no account and no credentials are involved when you connect.

Scanned before it goes live

gate checks every tool for prompt injection, hidden instructions, data-exfiltration hints, and over-broad permissions before the server is available through your gateway.

Watched for drift

If Code402 adds or changes tools later, gate re-scans and alerts you — before your AI acts on the change.

How it works

Connected in three steps

01

Connect your gate

Add one gateway URL to Claude, ChatGPT, or any MCP client. One-time setup, about two minutes.

02

Pick Code402

Choose Code402 in the gate directory. No sign-in needed.

03

Use it anywhere

Code402's tools are live in every AI client you've connected — with rules and logging built in.

Connect Code402 free

Free to start · No credit card · No hosting needed

Straight from the server

The actual tools Code402 exposes

Fetched live from the official endpoint and re-checked daily by gate — not marketing copy.

code402_list_servicesList services on the code402 gateway storefront (GET /v1/services): first-party APIs and third-party seller listings, each with method, URL,

code402_get_serviceFetch a single service from the code402 storefront by its serviceId (as returned by code402_list_services). Returns the same service shape a

code402_probe_endpointSend 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_healthCheck the code402 gateway's /healthz: returns { status, service, network } where network is the settlement chain currently configured (e.g.

code402_register_sellerRegister 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_listingCreate or update a paid listing for a registered seller: POST /v1/sellers/{sellerId}/services with { serviceId, upstream_url, price_usd, met

code402_get_seller_analyticsFetch a seller's own settlement analytics (free): GET /v1/sellers/{sellerId}/analytics. Returns { total_settled_calls, gross_usd, unique_buy

code402_get_seller_invoiceCompute 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

Server facts

The Code402 MCP server at a glance

Endpointhttps://mcp.code402.dev/mcp
Operated byCode402 (code402.dev)
CategoryCommunity
Sign-inNone — public data only
Available in gateYes — one-click connect
Works withClaude, ChatGPT, Cursor & any MCP client
FAQ

Questions, answered

Is there an official Code402 MCP server?

Yes — 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.

How do I connect Code402 to Claude or ChatGPT?

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.

Do I need to host anything?

No. Code402 runs the server, and gate is fully managed. You just connect one URL — there's nothing to install, deploy, or maintain.

Is the Code402 MCP server safe to connect?

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.

Is it free?

Yes — you can get started with gate for free and connect Code402 in minutes. No credit card required.

More servers

Connect more than just Code402

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

Give your AI Code402 — safely.

One URL. All MCPs. Full control. Free to start.

Get started free