402MCP.org — HTTP 402 & Agent Payment Registry
org.402mcp/registry
Decode HTTP 402 challenges (L402, x402, MPP) and choose agent payment rails from an open registry.
- Repository
- github.com/402MCP/402mcp
- Website
- 402mcp.org/
- Server address
https://402mcp.org/api/v1/mcp(streamable-http)- Version
- 1.1.1
- Author
- 402mcp.org (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 16, 2026)
How to install it
Variables to fill in: MCP_402_OFFLINE.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http registry https://402mcp.org/api/v1/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://402mcp.org/api/v1/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://402mcp.org/api/v1/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"registry": {
"url": "https://402mcp.org/api/v1/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"registry": {
"type": "http",
"url": "https://402mcp.org/api/v1/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add registry -e MCP_402_OFFLINE=YOUR_MCP_402_OFFLINE -- npx -y @402mcp/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"registry": {
"command": "npx",
"args": [
"-y",
"@402mcp/[email protected]"
],
"env": {
"MCP_402_OFFLINE": "YOUR_MCP_402_OFFLINE"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"registry": {
"command": "npx",
"args": [
"-y",
"@402mcp/[email protected]"
],
"env": {
"MCP_402_OFFLINE": "YOUR_MCP_402_OFFLINE"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"registry": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@402mcp/[email protected]"
],
"env": {
"MCP_402_OFFLINE": "YOUR_MCP_402_OFFLINE"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 11:24 (test run by L’Atlas)
- Response time
- 815 ms (whole test)
- Tools found
- 7
- Announced name
- 402mcp.org 1.1.1
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (7)
decode_402_challenge
Call this whenever an HTTP response has status 402, or carries a WWW-Authenticate (L402, LSAT or Payment) or PAYMENT-REQUIRED header. Identifies the payment scheme (L402, x402 v1/v2, MPP), decodes the invoice, macaroon or payment requiremenrecommend_payment_rail
Choose an HTTP 402 payment solution from requirements rather than from rank. Filters the registry by role (pay or charge), settlement asset, custody, infrastructure, network, scheme, MCP support and maturity, then re-weights the six publishsearch_402_solutions
Search the 402MCP.org registry of HTTP 402 payment solutions (L402, x402, MPP). Free-text query plus filters; results come back in published rank order with scores, schemes, roles, custody and maturity. Call with no arguments to list the whget_solution
Return one solution in full: summary, advantages and trade-offs, the six criterion scores with rationale, install commands, verified code samples, sources, maturity and the date its claims were last verified.get_scheme_reference
Protocol reference for L402, x402 or MPP: challenge, credential and receipt headers, encodings, the request/response flow, an example, and links to the specifications. Use when implementing a client or server.probe_402_support
Make one GET (or HEAD) request to a public URL and report whether it answers with an HTTP 402 payment challenge, which scheme, and the decoded terms. Redirects are reported, not followed. Private and local addresses are refused. Never paysget_best_payment_solution
Return whichever solution currently holds rank 1 on 402MCP.org, with its full breakdown, install commands and code. Rank 1 is the highest composite score, not an endorsement — for a choice that fits specific requirements, call recommend_pay
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/org.402mcp/registry)HTML
<a href="https://lagora.dev/en/entry/org.402mcp/registry"><img src="https://lagora.dev/badge/org.402mcp/registry.svg?lang=en" alt="org.402mcp/registry on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.