Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
402MCP.org — HTTP 402 & Agent Payment Registry
Overview
Description from the maker (original English)
Decode HTTP 402 challenges (L402, x402, MPP) and choose agent payment rails from an open registry.
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi1 of 1 passedChecked from public information; code not scanned yet
- UsageiNot measured yet★ –
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Computer or cloud
- Transport: stdio, Streamable HTTP
- Category: Online shops & payments
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 1 of 1 passed
- Runs on the maker’s server: what you ask it goes through their server.
- You fill in yourself:
MCP_402_OFFLINE
You need
- Runs in the cloudNothing to install; it connects over the internet
- npmNode.js installed (for the npx command)
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Works in Claude on the web, desktop and mobile:
- Open Settings → Connectors
- Press Add custom connector
- Paste the address below and press Add
- If it asks you to sign in, sign in with the maker
https://402mcp.org/api/v1/mcpOr run it on your computer
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"registry": {
"command": "npx",
"args": [
"-y",
"@402mcp/mcp"
],
"env": {
"MCP_402_OFFLINE": "your-value"
}
}
}
}Run this in your terminal
claude mcp add --transport http registry https://402mcp.org/api/v1/mcpOr run it on your computer
claude mcp add registry --env MCP_402_OFFLINE=your-value -- npx -y @402mcp/mcpFill in the empty values before running it.
Or copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"registry": {
"url": "https://402mcp.org/api/v1/mcp"
}
}
}Or run it on your computer
Or copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"registry": {
"command": "npx",
"args": [
"-y",
"@402mcp/mcp"
],
"env": {
"MCP_402_OFFLINE": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"registry": {
"type": "http",
"url": "https://402mcp.org/api/v1/mcp"
}
}
}Or run it on your computer
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"registry": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@402mcp/mcp"
],
"env": {
"MCP_402_OFFLINE": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
ChatGPT connects only to servers on the internet:
- Open ChatGPT on the web → Settings → Connectors (Apps)
- Press Create or Add (some plans need Developer mode under Advanced first)
- Paste the address below, give it a name and save
- If it asks you to sign in, sign in with the maker
https://402mcp.org/api/v1/mcpMenu names can differ slightly by plan and over time.
Your choice stays on this device in a cookie; no account needed.
Values you fill in
MCP_402_OFFLINEenvSet to 1 to use the bundled registry snapshot and never fetch.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
What it can do
We have not read this server’s tool list yet; we check endpoints in rotation.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified against the domain 402mcp.org (the registry checks domain ownership)
- … Not checked yet
Still maintained
We have not read this repo from GitHub yet
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- … Not checked yet
Endpoint responds
Not checked yet; we check endpoints in rotation
- … Not checked yet
Sign-in with OAuth
Not checked yet; we check endpoints in rotation
- … Not checked yet
No hidden instructions in tool descriptions
Not checked yet; we read the tool list when we check the endpoint
Compared with others in Online shops & paymentsi
- More stars than 0% of the other 1753 servers in this category
- Published to the registry more recently than 60% of the other 1753 servers in this category
- Basic checks equal to or better than 100% of the other 1753 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is 402MCP.org — HTTP 402 & Agent Payment Registry safe?
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
The registry does not list a required key, though some servers ask you to sign in on first use.
Does it run on my computer or in the cloud?
Either way works: install it on your computer or connect to the cloud version.
Is it still maintained?
The GitHub repo last changed –, and the latest version (1.1.1) reached the registry 22 days ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT in developer mode.
What can I use instead?
In the same category: Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Stripe MCP
Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
402MCP.org
The MCP server and open registry for HTTP 402 agent payments.
When an AI agent receives 402 Payment Required, 402MCP tells it which scheme the server speaks (L402, x402 or MPP), what is being asked for, and exactly how to pay and retry. When a developer is choosing how an agent should pay, or how an API should charge agents, it recommends a rail from stated requirements. Behind both sits an open registry of sourced, scored payment solutions.
- Site: https://402mcp.org
- Remote MCP endpoint:
https://402mcp.org/api/v1/mcp(streamable HTTP) - npm:
@402mcp/mcp(stdio) - Install guides: https://402mcp.org/docs#install
Install
Claude Code:
claude mcp add --transport http 402mcp https://402mcp.org/api/v1/mcp
Any stdio MCP client (Claude Desktop, Cursor, Windsurf and others):
{
"mcpServers": { "402mcp": { "command": "npx", "args": ["-y", "@402mcp/mcp"] } } }
MCP server
One transport-agnostic core (lib/mcp/) serves both the hosted endpoint and the stdio package, so the two expose the same tools, resources and prompts.
| Tool | Purpose |
|---|---|
decode_402_challenge | Decode a 402 response (L402 macaroon and BOLT 11 invoice, x402 v1/v2, MPP) into exact next steps and the retry header |
recommend_payment_rail | Filter by role, asset, custody, infrastructure, network, scheme, MCP support and maturity; re-weight the criteria; explain every exclusion |
search_402_solutions | Search the registry with filters |
get_solution | One entry in full, with sources and code samples |
get_scheme_reference | Wire format of L402, x402 or MPP |
probe_402_support | One GET to a public URL to see whether it speaks 402. Never pays |
get_best_payment_solution | The entry with the highest composite score |
Resources: 402mcp://registry, 402mcp://methodology, 402mcp://solutions/{id}, 402mcp://schemes/{scheme}. Prompts: choose_payment_rail, handle_402_response. Every tool is annotated readOnlyHint.
Safety. Everything in a 402 response is server-controlled, so the decoder lists those fields in untrusted_fields and never repeats their text as instructions. It flags expired challenges and macaroons that commit to a different payment hash than their invoice. The probe refuses private, loopback, link-local and metadata addresses (including hostnames that resolve to them) and non-web ports, and the hosted endpoint rate-limits it per client. No tool can spend money.
Machine interfaces
| Endpoint | Purpose |
|---|---|
POST /api/v1/mcp | MCP (JSON-RPC 2.0, streamable HTTP) |
POST /api/v1/decode | Decode a 402 response |
GET /api/v1/recommend | Recommend a rail from requirements |
GET /api/v1/probe?url= | Probe a URL for 402 support (rate limited) |
GET /api/v1/solutions | Versioned list (?q=, ?id=, ?view=full) |
GET /api/v1/registry | Canonical feed with ETag / 304 support |
GET /api/v1/schemes/{scheme} | Wire format of L402, x402, MPP |
GET /api/v1/status | Daily liveness of every entry's docs and website |
GET /api/v1/changelog · /changelog.xml · /changelog | Changes and corrections |
/schema/v1/registry.json · /schema/v1/solution.json | JSON Schemas (draft 2020-12) |
/openapi.json | OpenAPI 3.1 |
/llms.txt · /llms-full.txt | Plain-text indexes |
/.well-known/402.json · api-catalog · mcp/server-card.json · agent-skills/ | Discovery |
Any page returns Markdown when requested with Accept: text/markdown.
Methodology
Every entry is scored 1–10 on six equally weighted criteria: custody and sovereignty, operational friction, agent-native support, payment rails and assets, settlement speed and fees, and developer experience. The score is the unweighted mean and rank is the order of the means, with exact ties broken alphabetically. Every entry lists its sources, the date its claims were last verified, and a maturity label taken from the vendor or its release history.
The current ranking is at https://402mcp.org and in /api/v1/registry. The full methodology is at https://402mcp.org/docs#methodology.
402MCP.org is not affiliated with, sponsored by, or compensated by any vendor it indexes, and listing position cannot be purchased. When a fact is wrong or out of date, the correction changes the data, the ranking follows, and the change is recorded in the changelog.
Development
Requires Node 18.18 or later.
npm install
npm run dev # http://localhost:3000
| Command | What it does |
|---|---|
npm run test:unit | Decoder tests against vectors from the BOLT 11 spec, the MPP draft, reference-minted macaroons and x402 shapes |
npm run verify:agents -- [url] | Every machine endpoint: formats, contracts, JSON-RPC behaviour, schema validation, dataset invariants |
npm run verify:seo -- [url] | Crawler directives, metadata, structured data, icons, discovery documents, feeds, headers |
npm run build:package | Builds the stdio package and the .mcpb desktop extension |
npm run verify:stdio -- [registryUrl] | The built stdio package, end to end |
npm run lint · npm run typecheck | ESLint and TypeScript |
The verify suites default to http://localhost:3000; pass a URL to run them against a deployment.
Deploying to Cloudflare
The site runs as a Cloudflare Worker through the OpenNext adapter. Copy wrangler.example.jsonc to wrangler.jsonc, create the KV namespace it names, and fill in your own values. Then:
npm run cf:build
npm run cf:deploy
Project layout
data/solutions.ts The registry dataset; scores and ranks are computed here
data/changelog.ts Additions and corrections, with reasons lib/decode/ bech32, BOLT 11, macaroons, RFC 9110 challenges, x402, MPP lib/mcp/ Transport-agnostic MCP server: tools, resources, prompts lib/recommend.ts Requirement-driven recommendation lib/probe.ts URL probe with SSRF guards lib/schemes.ts Wire-format reference for each scheme lib/liveness.ts Daily docs and website checks app/ Next.js App Router pages and route handlers worker.ts Worker entry: OpenNext handler plus the scheduled liveness job packages/402mcp/ The @402mcp/mcp stdio package server.json Official MCP Registry entry tests/ · scripts/ Unit tests, verification suites and the package build
License
Code: MIT (see LICENSE). Registry data: CC BY 4.0.