Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
402MCP.org — HTTP 402 & Agent Payment Registry
概要
作者による説明(英語の原文)
Decode HTTP 402 challenges (L402, x402, MPP) and choose agent payment rails from an open registry.
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況i未計測★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンでもクラウドでも
- トランスポート: stdio, Streamable HTTP
- カテゴリ: ネットショップ・決済
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- 作者のサーバーで動きます。あなたが頼んだ内容は、作者のサーバーを通ります。
- 自分で入力するもの:
MCP_402_OFFLINE
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
ウェブ、デスクトップ、モバイルのClaudeで使えます:
- Settings → Connectors を開く
- Add custom connector を押す
- 下のアドレスを貼り付けて Add を押す
- サインインを求められたら、作者のサービスにサインインする
https://402mcp.org/api/v1/mcpまたは、パソコンで動かす
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"registry": {
"command": "npx",
"args": [
"-y",
"@402mcp/mcp"
],
"env": {
"MCP_402_OFFLINE": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add --transport http registry https://402mcp.org/api/v1/mcpまたは、パソコンで動かす
claude mcp add registry --env MCP_402_OFFLINE=your-value -- npx -y @402mcp/mcp動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"registry": {
"url": "https://402mcp.org/api/v1/mcp"
}
}
}または、パソコンで動かす
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"registry": {
"command": "npx",
"args": [
"-y",
"@402mcp/mcp"
],
"env": {
"MCP_402_OFFLINE": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"registry": {
"type": "http",
"url": "https://402mcp.org/api/v1/mcp"
}
}
}または、パソコンで動かす
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"registry": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@402mcp/mcp"
],
"env": {
"MCP_402_OFFLINE": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
ChatGPTがつなげるのは、インターネット上のサーバーだけです:
- ウェブ版のChatGPTを開き → Settings → Connectors (Apps)
- Create または Add を押す(プランによっては、先に Advanced で Developer mode をオンにする必要があります)
- 下のアドレスを貼り付け、名前を付けて保存する
- サインインを求められたら、作者のサービスにサインインする
https://402mcp.org/api/v1/mcpメニューの名前は、プランや時期によって少し違うことがあります。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
MCP_402_OFFLINEenvSet to 1 to use the bundled registry snapshot and never fetch.
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
このサーバーのツール一覧はまだ読み取っていません。エンドポイントは順番にチェックしています。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名はドメイン 402mcp.org で確認済みです(レジストリがドメインの所有を確認しています)
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
エンドポイントが応答する
まだチェックしていません。エンドポイントは順番にチェックしています
- … 未チェック
OAuthでサインイン
まだチェックしていません。エンドポイントは順番にチェックしています
- … 未チェック
ツールの説明に隠れた指示がない
まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります
ネットショップ・決済のほかのサーバーとの比較i
- このカテゴリのほかの1748件のうち0%よりスターが多い
- このカテゴリのほかの1748件のうち61%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの1748件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
402MCP.org — HTTP 402 & Agent Payment Registryは安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(1.1.1)がレジストリに届いたのは21 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URLでつながるので、リモートMCPサーバーに対応したアプリ(開発者モードのChatGPTなど)でも使えます。
代わりに使えるものは?
同じカテゴリには:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Stripe MCP
MCP server integrating with Stripe - tools for customers, products, payments, and more.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.