// 01 X402 GATEWAY

Sell your MCP tools to agents, per call.

Point the gateway at your MCP server and set a USDC price per tool. Agents see the price in tools/list, pay with x402, and are only charged when your tool answers without error.

// PRICE

Price per tool in USDC. Free tools pass straight through.

// VERIFY → CALL → SETTLE

The payment is verified first and settled only after your tool succeeds.

// SIGNED

Every forwarded request carries an HMAC signature, so your server can refuse calls that skipped the gateway.

// PAYOUTS

Sales are held 14 days, then paid out in USDC to your wallet, with a CSV for the books.

// 02 SERVERS

Loading…

// 03 SELL

POST /v1/sellers            {name, email, domain, payout_wallet}  → api_key
POST /v1/sellers/me/verify  DNS TXT _x402-gateway.<domain> or /.well-known/x402-gateway.txt
PUT  /v1/upstreams/<slug>    {url, title, prices: {"tool": "0.01"}}  → signing_secret
→ agents connect to /mcp/<slug>