x402 starters

MCP serverDev tools

x402 facilitator: settlement prices, live networks, a catalogue of paid resources, integration code

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use x402 starters

Install x402 starters

The server’s own address, for the clients that take one directly. Or connect ahel onceand every client you use reads it from one address, with the account kept on ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http x402-starters 'https://pay.neuronto.com/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://pay.neuronto.com/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=x402-starters&config=eyJ1cmwiOiJodHRwczovL3BheS5uZXVyb250by5jb20vbWNwIn0=

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://pay.neuronto.com/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add x402-starters --url 'https://pay.neuronto.com/mcp'

    Run it once, then sign in with codex mcp login x402-starters if the server asks for an account.

From the project's README

As published by neuronto/x402-starters in README.md.

The shortest working way to charge for an HTTP route, and to pay for one, using the official x402 SDKs. Every file here runs as it is; the only thing you must change is the wallet that gets paid.

x402 revives HTTP 402 Payment Required. Your server answers an unpaid request with 402 and machine-readable terms, the client signs a stablecoin payment, and a facilitator verifies the signature and settles it on-chain. Your server never holds a key and never talks to a chain.

Pick one

FolderStackWhat it is
expressNode, ExpressOne paid GET /premium route
honoNode, HonoThe same route on Hono
nextNext.js App RouterA paid API route
fastapiPython, FastAPIThe same route in Python
clientNode and PythonPaying for a 402 route from a script or an agent

Run one in a minute

cd express
npm install
export MERCHANT=0xYourWalletAddress      # where the money goes, on Base
npm start
curl -i localhost:3000/premium           # 402 with terms

Then pay it with a client from client, or point any x402 client at it.

The facilitator

These starters use https://pay.neuronto.com as the facilitator: the service that verifies the payer's signature and broadcasts the settlement. It is one line in every file, and any x402 facilitator can take its place:

new HTTPFacilitatorClient({ url: "https://pay.neuronto.com" })

Base mainnet (eip155:8453) is live there. GET https://pay.neuronto.com/supported lists every network, scheme and version it settles right now; a network that cannot settle disappears from that list before it starts refusing, so a server that reads /supported never advertises a price it cannot take.

Testing without spending anything

https://pay.neuronto.com/echo is a live merchant that charges $0.001 and sends it straight back in the same request, so a client can be run end to end for the cost of nothing:

curl -i https://pay.neuronto.com/echo        # a real 402, with real terms

Point any of the clients in client at that URL. The refund is automatic; the gas is not yours.

What you need

  • A wallet address to be paid to. Nothing is installed on your side to receive money: payments arrive as USDC transfers to the address you put in MERCHANT.
  • For a paying client, a funded key. Never put a real key in a file: every example here reads it from the environment.

Licence

Apache-2.0.

Advanced
Delivery
x402-payments-facilitator MCP server → your ahel gateway (mcp.ahel.ai) → every connected AI client.
Catalog kind
mcp-server
Gateway key
com-neuronto-x402-payments-facilitator
Source
github.com/neuronto/x402-starters
Hosted endpoint
https://pay.neuronto.com/mcp