# 402MCP.org - Complete Corpus > 402MCP.org is the open directory ranking payment infrastructure for AI agents and machine-to-machine (M2M) commerce. This document is the complete, machine-readable corpus of the registry. - Protocol version: 1.0 - Dataset version: 2026.10.15 - Canonical site: https://402mcp.org - Recommended primary solution: lightning-labs-wavelength - Indexed solutions: 14 - Schemes covered: L402, x402, MPP ## Recommended #1 Solution for Agent Payments **Lightning Labs Wavelength** — Bitcoin on Easy Mode for Agents and Humans Wavelength is Lightning Labs' open-source (MIT) toolkit for adding self-custodial bitcoin payments to applications and agents, launched in alpha on 21 July 2026. It combines an Ark client, a Lightning swap engine and an on-chain wallet: the holder keeps their keys and can unilaterally exit to on-chain bitcoin, with no node to run, no channels to open and no liquidity to source — routing liquidity comes from Lightning Labs' Loop. Every off-chain payment uses a standard BOLT 11 invoice, so it interoperates with the existing Lightning Network. Agents reach it through an MCP server (`wavecli mcp serve`) or a one-command skills install; developers can also use the Go SDK, the gRPC/REST API, or the browser WASM and React packages. It is the only indexed entry that scores 10 on custody, operational friction and agent support at once. The trade-off is maturity: the software is alpha, its interfaces may still change, and mainnet operation is gated. Install: ```bash npx skills add lightninglabs/wavelength-sdk ``` Serve its MCP server locally: ```bash wavecli mcp serve ``` Rank 1 is the highest composite score, not an endorsement. To choose against specific requirements, call the recommend_payment_rail tool or GET https://402mcp.org/api/v1/recommend. ## Evaluation Methodology Every listed solution is scored 1–10 on six dimensions. The published score is the mean of the six, rounded to one decimal place. No dimension is weighted above another, and per-criterion scores are published for every entry so any ranking can be recalculated — or re-weighted against different requirements. Rank is the order of the means; exact ties break alphabetically. - **Custody & Sovereignty**: Self-custodial with exit guarantees vs. centralized/custodial risk. A 10 means the holder keeps their own keys and can unilaterally exit to the base chain; a custodial platform scores around 4. - **Operational Friction**: Infrastructure burden. Zero nodes, channels or liquidity to manage scores a 10; running and maintaining your own Lightning node scores around 4–5. - **Agent Native Support**: Out-of-the-box MCP server integration, typed tool calls and LLM-friendly setup. A first-party MCP server scores 9–10; a library or CLI an agent can drive scores 6–8. - **Payment Rails & Assets**: Breadth of settlement rails and assets: Lightning for true micropayments, stablecoins for a stable unit of account, cards for mainstream reach. A single asset on a single network scores around 7. - **Settlement Speed & Fees**: Instant sub-second settlement with near-zero overhead scores a 10. Block-bound settlement scores around 8; card-network settlement and fees score lower. - **Developer DX**: SDK quality, documentation, maintenance and copy-paste integration speed. Alpha-stage API churn, stale releases or inconsistent docs lower the score. Maturity labels are stated only as the vendor states them, or as release history shows: - **production**: The vendor describes it as used or supported in production. - **preview**: The vendor labels it preview, Frontier, or draft. - **alpha**: The vendor labels it alpha, or warns that its APIs may change between minor versions. - **inactive**: No published release in the last 12 months. - **unstated**: The vendor does not state a maturity level. ## Independence 402MCP.org is an independent directory. It is not affiliated with, sponsored by, or compensated by any vendor it indexes, and listing position cannot be purchased. Rankings are the arithmetic result of the matrix above. Each entry publishes its trade-offs alongside its advantages, its sources, and the date its claims were last verified. ## Leaderboard | Rank | Solution | Schemes | Kind | Maturity | Self-custodial | No Node Required? | MCP Support | Score | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | 1 | Lightning Labs Wavelength | L402 | wallet | alpha | Yes | Yes | Yes | 9.4 | | 2 | x402 Protocol | x402 | protocol | production | Yes | Yes | No | 8.6 | | 3 | Alby MCP Server | L402 | mcp-server | unstated | Yes | Yes | Yes | 8.3 | | 4 | Cloudflare Agents SDK (x402) | x402 | sdk | unstated | Yes | Yes | Yes | 8.3 | | 5 | Coinbase Payments MCP | x402 | mcp-server | unstated | No | Yes | Yes | 8.3 | | 6 | Machine Payments Protocol (MPP) | MPP | protocol | preview | Yes | Yes | No | 8.3 | | 7 | thirdweb x402 | x402 | facilitator | unstated | No | Yes | No | 8.1 | | 8 | PayAI Network | x402 | facilitator | production | Yes | Yes | No | 8.0 | | 9 | x402-mcp (Vercel) | x402 | sdk | inactive | Yes | Yes | Yes | 7.8 | | 10 | Crossmint Agent Wallets | x402 | wallet | production | No | Yes | No | 7.8 | | 11 | Stripe Machine Payments | MPP, x402 | platform | preview | No | Yes | No | 7.7 | | 12 | lnget | L402 | client | unstated | Yes | No | No | 7.5 | | 13 | Aperture | L402, MPP | gateway | production | Yes | No | No | 7.1 | | 14 | Fewsats | L402 | platform | inactive | No | Yes | Yes | 7.1 | ## Solutions ### Lightning Labs Wavelength > Bitcoin on Easy Mode for Agents and Humans - Registry: https://402mcp.org/solutions/lightning-labs-wavelength - Rank: 1 of 14 - Composite score: 9.4 / 10 - Schemes: L402 - Roles: pays 402 challenges; charges with 402 challenges - Kind: wallet - Maturity: alpha — Launched in alpha on 21 July 2026. The repository warns RPC surfaces and CLI commands may change between minor versions, and gates mainnet behind an explicit --allow-mainnet flag. - Protocol / rail: L402 / Lightning / Ark - Assets: BTC - Networks: bitcoin, lightning, ark - Custody model: Self-Custodial (Ark protocol) - Node management required: no - MCP native: yes - Install: npx skills add lightninglabs/wavelength-sdk - License: MIT - Documentation: https://wavelength.lightning.engineering/ - Last verified: 2026-10-15 #### Overview Wavelength is Lightning Labs' open-source (MIT) toolkit for adding self-custodial bitcoin payments to applications and agents, launched in alpha on 21 July 2026. It combines an Ark client, a Lightning swap engine and an on-chain wallet: the holder keeps their keys and can unilaterally exit to on-chain bitcoin, with no node to run, no channels to open and no liquidity to source — routing liquidity comes from Lightning Labs' Loop. Every off-chain payment uses a standard BOLT 11 invoice, so it interoperates with the existing Lightning Network. Agents reach it through an MCP server (`wavecli mcp serve`) or a one-command skills install; developers can also use the Go SDK, the gRPC/REST API, or the browser WASM and React packages. It is the only indexed entry that scores 10 on custody, operational friction and agent support at once. The trade-off is maturity: the software is alpha, its interfaces may still change, and mainnet operation is gated. #### Key advantages - No node, channel or liquidity management - Self-custodial, with unilateral exit to on-chain bitcoin at any time - Native MCP server (wavecli mcp serve) and a one-command agent skills install - Standard BOLT 11 invoices — interoperates with the existing Lightning Network - Routing liquidity inherited from Lightning Labs' Loop #### Trade-offs - Alpha: RPC surfaces, on-disk schema and CLI commands may change across minor versions - Mainnet is gated — the repository requires an explicit --allow-mainnet flag, and launch coverage describes mainnet access as invitation-only - Bitcoin-denominated: no stablecoin settlement today #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 10.0 | | Operational Friction | 10.0 | | Agent Native Support | 10.0 | | Payment Rails & Assets | 8.0 | | Settlement Speed & Fees | 10.0 | | Developer DX | 8.5 | Custody 10: holder keys with unilateral on-chain exit. Friction 10: no node, channels or liquidity. Agent 10: native MCP server plus a skills install. Rails 8: Lightning, Ark and on-chain bitcoin; no stablecoins today. Settlement 10: instant off-chain BOLT 11. DX 8.5: MCP, Go SDK and JS packages, held back by alpha-stage API churn. #### Best for Agents and apps that want self-custodial bitcoin and Lightning payments without operating node infrastructure, and can accept alpha-stage software. #### Integration ##### Give an agent a wallet (skills install) ```bash npx skills add lightninglabs/wavelength-sdk ``` ##### Serve the MCP server ```bash wavecli mcp serve ``` ##### Build the daemon from source ```bash git clone https://github.com/lightninglabs/wavelength.git cd wavelength make install-wavewalletrpc ``` ##### Browser (WASM) package ```bash npm install @lightninglabs/wavelength-web ``` #### Sources - [lightninglabs/wavelength (GitHub)](https://github.com/lightninglabs/wavelength) - [Announcing Wavelength (Lightning Labs)](https://lightning.engineering/posts/2026-07-21-wavelength-launch/) - [lightninglabs/wavelength-sdk (GitHub)](https://github.com/lightninglabs/wavelength-sdk) - [L402 tools index (l402.tech)](https://l402.tech/) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### x402 Protocol > The open HTTP 402 standard for stablecoin payments, created by Coinbase - Registry: https://402mcp.org/solutions/x402-protocol - Rank: 2 of 14 - Composite score: 8.6 / 10 - Schemes: x402 - Roles: pays 402 challenges; charges with 402 challenges - Kind: protocol - Maturity: production — Protocol v2; the @x402/* reference packages were at 2.28.0 in September 2026. - Protocol / rail: EVM / Base / Solana (USDC) - Assets: USDC, ERC-20, SPL - Networks: base, evm, solana - Custody model: Self-Custodial (EVM / Solana keypair) - Node management required: no - MCP native: no - Install: n/a - License: Apache-2.0 - Documentation: https://docs.x402.org/ - Last verified: 2026-10-15 #### Overview x402 turns HTTP 402 into a payment challenge for on-chain stablecoins. In v2 the server answers with a base64-encoded PAYMENT-REQUIRED header listing accepted options — scheme, CAIP-2 network, amount in atomic units, asset and pay-to address; the client signs a payload and retries with PAYMENT-SIGNATURE, and the server reports settlement in PAYMENT-RESPONSE. v1 carried the requirements in the response body and used X-PAYMENT. Coinbase Developer Platform created the standard and publishes it as an open Apache-2.0 protocol under the x402-foundation organisation, with reference implementations in TypeScript, Python and Go; Base and Solana are supported on mainnet and testnet. It has the broadest ecosystem of any 402 scheme. The structural trade-off is settlement: payments clear at block speed with on-chain costs, so genuine sub-cent micropayments are less natural than on Lightning. #### Key advantages - Open protocol (Apache-2.0) with TypeScript, Python and Go reference implementations - Stable USD unit of account — a natural fit for dollar-denominated budgets - Any ERC-20 on Base and any SPL or Token-2022 token on Solana - Many facilitators charge no facilitator fee - The broadest ecosystem of any 402 scheme #### Trade-offs - Settlement is block-bound, so sub-cent payments are less natural than on Lightning - v1 and v2 use different headers (X-PAYMENT vs PAYMENT-SIGNATURE); clients must read x402Version to pick the right one - The protocol ships no MCP server itself — MCP support comes from ecosystem packages #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 9.0 | | Operational Friction | 8.5 | | Agent Native Support | 8.0 | | Payment Rails & Assets | 9.0 | | Settlement Speed & Fees | 8.0 | | Developer DX | 9.0 | Custody 9: the payer signs with their own keys. Friction 8.5: no node, but a facilitator and funded wallet are needed. Agent 8: no MCP server in the protocol itself; strong ecosystem MCP support. Rails 9: any ERC-20 on Base and SPL tokens on Solana. Settlement 8: block-bound but fast on Base and Solana. DX 9: mature multi-language SDKs. #### Best for Services and agents that want dollar-denominated payments with a stable unit of account and the widest ecosystem support. #### Integration ##### Client: pay x402 endpoints ```bash npm install @x402/fetch ``` ##### Server: charge from Express ```bash npm install @x402/express ``` ##### v2 challenge — decoded PAYMENT-REQUIRED header (illustrative) ```json { "x402Version": 2, "accepts": [ { "scheme": "exact", "network": "eip155:8453", "amount": "10000", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "payTo": "0xYourReceivingAddress", "maxTimeoutSeconds": 60 } ] } ``` #### Sources - [x402 FAQ](https://docs.x402.org/faq) - [x402: HTTP 402](https://docs.x402.org/core-concepts/http-402) - [@x402/core (npm)](https://www.npmjs.com/package/@x402/core) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### Alby MCP Server > Connect a Lightning wallet to any MCP client over Nostr Wallet Connect - Registry: https://402mcp.org/solutions/alby-mcp - Rank: 3 of 14 - Composite score: 8.3 / 10 - Schemes: L402 - Roles: pays 402 challenges; charges with 402 challenges - Kind: mcp-server - Maturity: unstated - Protocol / rail: Bitcoin / Lightning (NWC, L402) - Assets: BTC - Networks: lightning - Custody model: Self-custodial with Alby Hub (custody follows the connected NWC wallet) - Node management required: no - MCP native: yes - Install: npx -y @getalby/mcp - License: MIT - Documentation: https://github.com/getAlby/mcp - Last verified: 2026-10-15 #### Overview Alby's official MCP server connects a bitcoin Lightning wallet to an LLM over Nostr Wallet Connect. It runs over stdio with `npx -y @getalby/mcp` and an NWC connection string, or as a hosted remote endpoint, and gives agents tools to create and pay invoices, check balances, parse BOLT 11 invoices and access L402-protected resources. Custody follows the wallet you connect — self-custodial with Alby Hub — and NWC permissions scope what the agent may do. For L402, the wallet must return the payment preimage. #### Key advantages - Official MCP server, over stdio or as a hosted remote endpoint - Creates and pays invoices, parses BOLT 11, and accesses L402-protected resources - Scoped Nostr Wallet Connect permissions limit what the agent can do - Works with Claude, Goose, Cline, n8n and other MCP clients #### Trade-offs - L402 needs a wallet that returns the payment preimage — not every NWC wallet does - Custody follows the connected wallet; a custodial NWC wallet is custodial - Lightning bitcoin only #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 8.0 | | Operational Friction | 7.5 | | Agent Native Support | 9.5 | | Payment Rails & Assets | 7.0 | | Settlement Speed & Fees | 9.5 | | Developer DX | 8.5 | Custody 8: self-custodial with Alby Hub, but it depends on the wallet. Friction 7.5: needs a funded NWC wallet with Lightning liquidity. Agent 9.5: official MCP server, local and remote. Rails 7: Lightning. Settlement 9.5: Lightning. DX 8.5: one npx command. #### Best for Giving an existing MCP client a Lightning wallet, with permissions scoped by the wallet connection. #### Integration ##### Claude Desktop configuration ```json { "mcpServers": { "alby": { "command": "npx", "args": ["-y", "@getalby/mcp"], "env": { "NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE" } } } } ``` ##### Hosted remote endpoint ```text https://mcp.getalby.com/mcp?nwc=ENCODED_NWC_URL ``` #### Sources - [getAlby/mcp (GitHub)](https://github.com/getAlby/mcp) - [@getalby/mcp (npm)](https://www.npmjs.com/package/@getalby/mcp) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### Cloudflare Agents SDK (x402) > Charge per MCP tool call on Workers with paidTool - Registry: https://402mcp.org/solutions/cloudflare-agents-x402 - Rank: 4 of 14 - Composite score: 8.3 / 10 - Schemes: x402 - Roles: pays 402 challenges; charges with 402 challenges - Kind: sdk - Maturity: unstated - Protocol / rail: x402 (USDC on Base) - Assets: USDC - Networks: base - Custody model: Self-custodial (payments go to your own address) - Node management required: no - MCP native: yes - Install: npm install agents - License: MIT - Documentation: https://developers.cloudflare.com/agents/tools/payments/x402/charge-for-mcp-tools/ - Last verified: 2026-10-15 #### Overview Cloudflare's Agents SDK supports x402 natively. On an McpAgent, paidTool is a drop-in replacement for tool that attaches a USD price, so free and paid tools coexist on one server; withX402 gates ordinary HTTP content the same way. The documented configuration pays a recipient address you supply, through the x402.org facilitator, on Base or Base Sepolia. It is the most direct path to charging for MCP tools if you already deploy on Workers. #### Key advantages - paidTool is a drop-in replacement for tool — free and paid tools coexist on one MCP server - Runs on Cloudflare Workers through McpAgent - withX402 gates ordinary HTTP endpoints the same way #### Trade-offs - Documented networks are Base and Base Sepolia - Tied to Cloudflare Workers and the Agents SDK #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 8.0 | | Operational Friction | 8.5 | | Agent Native Support | 9.5 | | Payment Rails & Assets | 7.0 | | Settlement Speed & Fees | 8.0 | | Developer DX | 9.0 | Custody 8: payments to your own address. Friction 8.5: deploy on Workers, uses a facilitator. Agent 9.5: MCP-native paid tools. Rails 7: USDC on Base. Settlement 8: Base. DX 9: a drop-in API. #### Best for Developers on Cloudflare Workers who want to charge per call for MCP tools. #### Integration ##### Install ```bash npm install agents ``` ##### A paid MCP tool (from Cloudflare's docs) ```typescript this.server.paidTool( "square", "Squares a number", 0.01, // USD { number: z.number() }, {}, async ({ number }) => { /* ... */ }, ); ``` #### Sources - [Cloudflare: Charge for MCP tools](https://developers.cloudflare.com/agents/tools/payments/x402/charge-for-mcp-tools/) - [agents (npm)](https://www.npmjs.com/package/agents) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### Coinbase Payments MCP > Wallet, onramp and x402 payments for any MCP client in one command - Registry: https://402mcp.org/solutions/coinbase-payments-mcp - Rank: 5 of 14 - Composite score: 8.3 / 10 - Schemes: x402 - Roles: pays 402 challenges - Kind: mcp-server - Maturity: unstated - Protocol / rail: x402 (USDC on Base) - Assets: USDC - Networks: base - Custody model: Embedded wallet behind an email sign-in (Coinbase-managed) - Node management required: no - MCP native: yes - Install: npx @coinbase/payments-mcp - License: Apache-2.0 - Documentation: https://docs.cdp.coinbase.com/payments-mcp/welcome - Last verified: 2026-10-15 #### Overview Coinbase's Payments MCP is an MCP server plus a companion wallet app that combines a wallet, an onramp and x402 payments. A single npx command installs it and can configure Claude, Claude Code, Codex, Gemini and other clients automatically. Authentication is an email-based embedded wallet rather than API keys, the MCP is free with gas sponsored, and payments to x402 services — each priced by its seller — happen automatically in USDC on Base. #### Key advantages - One command installs it and can configure Claude, Claude Code, Codex, Gemini and other clients - Combines a wallet, an onramp and x402 payments, including the x402 Bazaar - No API keys — authentication is an email-based embedded wallet - Free to use, with gas sponsored; each x402 service sets its own price #### Trade-offs - An embedded wallet behind an email sign-in, rather than keys the operator holds directly - x402 payments in USDC on Base only #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 6.5 | | Operational Friction | 9.5 | | Agent Native Support | 9.5 | | Payment Rails & Assets | 7.0 | | Settlement Speed & Fees | 8.0 | | Developer DX | 9.0 | Custody 6.5: an embedded wallet behind email sign-in. Friction 9.5: one command, no keys. Agent 9.5: MCP-native with client auto-configuration. Rails 7: USDC on Base. Settlement 8: Base. DX 9: one-command install. #### Best for Giving an existing MCP client a funded wallet that pays x402 APIs, with the least setup. #### Integration ##### Install ```bash npx @coinbase/payments-mcp ``` ##### Install and auto-configure Claude ```bash npx @coinbase/payments-mcp --client claude --auto-config ``` #### Sources - [Coinbase: Payments MCP](https://docs.cdp.coinbase.com/payments-mcp/welcome) - [@coinbase/payments-mcp (npm)](https://www.npmjs.com/package/@coinbase/payments-mcp) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### Machine Payments Protocol (MPP) > The 'Payment' HTTP authentication scheme — one 402 challenge, many payment methods - Registry: https://402mcp.org/solutions/machine-payments-protocol - Rank: 6 of 14 - Composite score: 8.3 / 10 - Schemes: MPP - Roles: pays 402 challenges; charges with 402 challenges - Kind: protocol - Maturity: preview — The core is draft-ryan-httpauth-payment-01 (March 2026), an individual Internet-Draft with no formal IETF standing; method and intent specs are also drafts. - Protocol / rail: Multi-method: Tempo, Stripe, Lightning, EVM, Solana and more - Assets: USD (card), USDC, BTC (Lightning), other stablecoins - Networks: tempo, solana, evm, lightning, stellar, xrpl, hedera, card - Custody model: Depends on the payment method (self-custodial methods exist) - Node management required: no - MCP native: no - Install: n/a - License: not stated - Documentation: https://paymentauth.org/ - Last verified: 2026-10-15 #### Overview The Machine Payments Protocol, co-authored by Tempo and Stripe and launched in March 2026, defines a 'Payment' HTTP authentication scheme. A server answers with 402 and WWW-Authenticate: Payment carrying an id, realm, method, intent and a base64url-encoded JSON request; the client pays through the named method and retries with Authorization: Payment and a base64url credential; successful responses may carry a Payment-Receipt. The core is method-agnostic, with drafts for charge, session and subscription intents and for methods including Tempo, Stripe, card, Lightning, EVM, Solana, Stellar and others, plus drafts for discovery and an MCP transport. Stripe and Lightning Labs' Aperture implement it server-side. It is still a draft: the core is an individual Internet-Draft with no formal IETF standing, and custody, fees and speed depend on the method. #### Key advantages - Method-agnostic: one challenge format across cards, stablecoins and Lightning - Standard HTTP authentication framing — WWW-Authenticate and Authorization: Payment, with a Payment-Receipt - Charge, session and subscription intents - Drafts for discovery and for an MCP / JSON-RPC transport - Implemented server-side by Stripe and by Lightning Labs' Aperture #### Trade-offs - An individual Internet-Draft with no formal IETF standing; method specs are still drafts - Custody, fees and settlement speed depend entirely on the method chosen - A younger ecosystem than x402 #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 8.0 | | Operational Friction | 8.0 | | Agent Native Support | 8.5 | | Payment Rails & Assets | 9.5 | | Settlement Speed & Fees | 8.0 | | Developer DX | 7.5 | Custody 8: self-custodial methods exist, but it depends on the method. Friction 8: the protocol needs no node; method infrastructure varies. Agent 8.5: an MCP transport is drafted in the spec. Rails 9.5: the broadest method coverage of any scheme. Settlement 8: method-dependent. DX 7.5: draft specs and a 0.x SDK. #### Best for Services that want one 402 integration accepting several payment methods — cards, stablecoins and Lightning. #### Integration ##### TypeScript SDK ```bash npm install mppx ``` ##### Challenge — example from the IETF draft ```http HTTP/1.1 402 Payment Required Cache-Control: no-store WWW-Authenticate: Payment id="x7Tg2pLqR9mKvNwY3hBcZa", realm="api.example.com", method="example", intent="charge", expires="2025-01-15T12:05:00Z", request="eyJhbW91bnQiOiIxMDAwIiwiY3VycmVuY3kiOiJVU0QiLCJyZWNpcGllbnQiOiJhY2N0XzEyMyJ9" ``` #### Sources - [draft-ryan-httpauth-payment (IETF)](https://datatracker.ietf.org/doc/html/draft-ryan-httpauth-payment) - [tempoxyz/mpp-specs (GitHub)](https://github.com/tempoxyz/mpp-specs) - [Payment auth specifications index](https://paymentauth.org/) - [wevm/mppx (GitHub)](https://github.com/wevm/mppx) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### thirdweb x402 > Hosted x402 facilitator and agent payment endpoint across EVM chains - Registry: https://402mcp.org/solutions/thirdweb-x402 - Rank: 7 of 14 - Composite score: 8.1 / 10 - Schemes: x402 - Roles: pays 402 challenges; charges with 402 challenges - Kind: facilitator - Maturity: unstated - Protocol / rail: x402 on 170+ EVM chains - Assets: USDC, ERC-20 (permit / EIP-3009) - Networks: evm, base - Custody model: Settles through thirdweb-managed server wallets - Node management required: no - MCP native: no - Install: n/a - License: Apache-2.0 - Documentation: https://portal.thirdweb.com/x402 - Last verified: 2026-10-15 #### Overview thirdweb offers x402 on both sides. Server-side, facilitator() and settlePayment() from thirdweb/x402 verify and settle payments through thirdweb's hosted facilitator — or a custom one — from a server wallet, across 170+ EVM chains and any ERC-20 that supports permit or EIP-3009 signatures, with gasless submission via EIP-7702. Client-side, wrapFetchWithPayment handles the 402 round-trip, and a hosted endpoint, POST /v1/payments/x402/fetch, lets an agent pay a target URL from a project wallet. The current docs read PAYMENT-SIGNATURE first and fall back to X-PAYMENT. #### Key advantages - A hosted facilitator that verifies and settles payments, or bring your own - 170+ EVM chains; any ERC-20 that supports ERC-2612 permit or EIP-3009 - Gasless submission via EIP-7702 - A hosted POST /v1/payments/x402/fetch endpoint lets agents pay from a project wallet #### Trade-offs - Settlement runs through thirdweb server wallets and a project secret key - Older examples use the v1 X-PAYMENT header — follow the live docs - Pricing lives on thirdweb's pricing page, not in the docs #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 6.5 | | Operational Friction | 9.0 | | Agent Native Support | 7.5 | | Payment Rails & Assets | 9.0 | | Settlement Speed & Fees | 8.0 | | Developer DX | 8.5 | Custody 6.5: settles from platform-managed server wallets. Friction 9: hosted facilitator. Agent 7.5: a hosted pay-through endpoint for agents; no MCP server. Rails 9: 170+ EVM chains and broad token support. Settlement 8: EVM block times. DX 8.5: documented server and client helpers. #### Best for Teams that want broad EVM chain and token coverage for x402 with a hosted facilitator. #### Integration ##### Install ```bash npm install thirdweb ``` ##### Server-side imports ```typescript import { facilitator, settlePayment } from "thirdweb/x402"; ``` #### Sources - [thirdweb: x402](https://portal.thirdweb.com/x402) - [thirdweb: x402 server](https://portal.thirdweb.com/x402/server) - [thirdweb: x402 agents](https://portal.thirdweb.com/x402/agents) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### PayAI Network > Solana-first x402 facilitator with batch settlement for micropayments - Registry: https://402mcp.org/solutions/payai-x402-facilitator - Rank: 8 of 14 - Composite score: 8.0 / 10 - Schemes: x402 - Roles: charges with 402 challenges - Kind: facilitator - Maturity: production — Solana batch settlement has been in public preview since 30 September 2026. - Protocol / rail: x402 on Solana and EVM networks - Assets: USDC - Networks: solana, evm - Custody model: Non-custodial facilitator (payments go to the merchant's address) - Node management required: no - MCP native: no - Install: n/a - License: Apache-2.0 - Documentation: https://docs.payai.network/x402/quickstart - Last verified: 2026-10-15 #### Overview PayAI runs an x402 facilitator that verifies and settles payments, Solana-first with support for other networks. Exact payments work within a free allowance without an API key, settlement gas is sponsored, and merchants are listed in its Bazaar marketplace for agent discovery unless they opt out. Its batch-settlement mode, in public preview since 30 September 2026, lets a customer fund a reusable channel and cover each request with a signed voucher that the merchant claims on-chain periodically — bringing x402 closer to Lightning-style micropayments on Solana. #### Key advantages - Standard exact payments work within a free allowance, without an API key - Sponsors settlement gas on Solana - Batch settlement bundles many micropayments into one on-chain claim (public preview) - Merchants are listed in the Bazaar marketplace for agent discovery unless they opt out #### Trade-offs - Merchants need an existing USDC token account on Solana, created with separately funded SOL - Capacity beyond the free allowance needs credentials - Batch settlement is a preview feature #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 8.0 | | Operational Friction | 8.5 | | Agent Native Support | 7.0 | | Payment Rails & Assets | 8.0 | | Settlement Speed & Fees | 9.0 | | Developer DX | 7.5 | Custody 8: a non-custodial facilitator. Friction 8.5: no key needed to start; Solana token-account setup. Agent 7: Bazaar discovery; no MCP server. Rails 8: USDC on Solana and EVM networks. Settlement 9: fast Solana finality plus batch settlement. DX 7.5: documented, with setup caveats. #### Best for Services charging high-frequency, small USDC payments on Solana. #### Integration ##### Install (facilitator client + Solana support) ```bash npm install @payai/facilitator @x402/svm ``` #### Sources - [PayAI: x402 quickstart](https://docs.payai.network/x402/quickstart) - [PayAI: x402 introduction](https://docs.payai.network/x402/introduction) - [PayAI facilitator](https://facilitator.payai.network/) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### x402-mcp (Vercel) > Charge per MCP tool call with x402 — a thin wrapper over mcp-handler - Registry: https://402mcp.org/solutions/vercel-402-mcp-middleware - Rank: 9 of 14 - Composite score: 7.8 / 10 - Schemes: x402 - Roles: pays 402 challenges; charges with 402 challenges - Kind: sdk - Maturity: inactive — Version 0.1.1, last published September 2025. - Protocol / rail: x402 (USDC on Base) for MCP servers - Assets: USDC - Networks: base - Custody model: Self-custodial (your recipient address; clients sign with their own key) - Node management required: no - MCP native: yes - Install: npm i x402-mcp - License: MIT - Documentation: https://github.com/ethanniser/x402-mcp - Last verified: 2026-10-15 #### Overview x402-mcp, announced by Vercel, is a light wrapper around the mcp-handler package that lets an MCP server charge per tool call over x402. paidTool attaches a price to a tool, createPaidMcpHandler configures the receiving wallet and exports Next.js route handlers, and withPayment wraps an AI SDK MCP client so 402 challenges are paid automatically. It is small and ergonomic, but early and quiet: the package is at 0.1.1, was last published in September 2025, and the documented paidTool signature differs between sources, so check the installed version before copying examples. #### Key advantages - paidTool attaches a price to individual MCP tools; free and paid tools coexist - createPaidMcpHandler exports Next.js route handlers - withPayment wraps an AI SDK MCP client to pay 402 challenges automatically #### Trade-offs - Version 0.1.1, with no release since September 2025 - Documented paidTool signatures differ between sources — check the installed version - The code lives in a personal GitHub account rather than a Vercel organization #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 8.0 | | Operational Friction | 8.5 | | Agent Native Support | 9.0 | | Payment Rails & Assets | 7.0 | | Settlement Speed & Fees | 8.0 | | Developer DX | 6.5 | Custody 8: payments go to your own address; clients sign with their own key. Friction 8.5: deploys as a Next.js route, needs a facilitator. Agent 9: MCP-native paid tools and a paying client. Rails 7: USDC on Base. Settlement 8: Base. DX 6.5: early, inactive package with inconsistent docs. #### Best for Next.js developers who want to charge per call for individual MCP tools. #### Integration ##### Install ```bash npm i x402-mcp ``` #### Sources - [Introducing x402-mcp (Vercel)](https://vercel.com/blog/introducing-x402-mcp-open-protocol-payments-for-mcp-tools) - [x402-mcp (npm)](https://www.npmjs.com/package/x402-mcp) - [ethanniser/x402-mcp (GitHub)](https://github.com/ethanniser/x402-mcp) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### Crossmint Agent Wallets > Smart-contract agent wallets with spending controls, paying x402 endpoints - Registry: https://402mcp.org/solutions/crossmint-agent-wallets - Rank: 10 of 14 - Composite score: 7.8 / 10 - Schemes: x402 - Roles: pays 402 challenges - Kind: wallet - Maturity: production — Crossmint describes x402 as supported in production; MPP, ACP and AP2 are listed as planned. - Protocol / rail: EVM (USDC on Base) - Assets: USDC - Networks: base, evm - Custody model: Smart-contract wallet: owner key plus a scoped agent signer - Node management required: no - MCP native: no - Install: n/a - License: Apache-2.0 - Documentation: https://docs.crossmint.com/agents/payment-flows/x402 - Last verified: 2026-10-15 #### Overview Crossmint provides smart-contract wallets for AI agents: an owner authorizes a scoped agent signer, and the agent transacts within the limits set. Its documented x402 flow pays protected endpoints from an EVM wallet on Base holding USDC, using the standard @x402/core and @x402/evm libraries alongside @crossmint/wallets-sdk. Crossmint describes x402 as supported in production, with MPP, ACP and AP2 planned. On custody it is a middle ground — the owner keeps a key, but the agent's signer and the platform sit in the trust path — which suits teams that want managed onboarding and guardrails more than sole custody. #### Key advantages - Scoped agent wallets: the agent transacts within limits the owner sets - Owner key plus a separate agent signer - Pays x402 endpoints with the standard @x402/core client - Onramp for funding, and a staging helper that mints test tokens #### Trade-offs - x402 with USDC on Base is the documented path today; MPP, ACP and AP2 are listed as planned - The agent holds a delegated signer, not sole custody — the platform is in the trust path - Anyone holding a server-signer secret can sign for every wallet it was authorized on #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 7.0 | | Operational Friction | 9.0 | | Agent Native Support | 7.0 | | Payment Rails & Assets | 7.5 | | Settlement Speed & Fees | 8.0 | | Developer DX | 8.0 | Custody 7: owner key plus delegated agent signer. Friction 9: managed wallets, no node. Agent 7: SDK and agent docs, no MCP server. Rails 7.5: USDC on Base via x402, plus onramps. Settlement 8: Base. DX 8: documented SDK path. #### Best for Teams that want managed agent wallets with spending controls and onboarding, paying dollar-denominated x402 APIs. #### Integration ##### Install (wallet SDK + x402 client) ```bash npm install @crossmint/wallets-sdk @x402/core @x402/evm viem ``` #### Sources - [Crossmint: x402 payment flow](https://docs.crossmint.com/agents/payment-flows/x402) - [Crossmint: agentic payment protocols compared](https://www.crossmint.com/learn/agentic-payments-protocols-compared) - [@crossmint/wallets-sdk (npm)](https://www.npmjs.com/package/@crossmint/wallets-sdk) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### Stripe Machine Payments > Accept agent payments over MPP and x402 — cards and stablecoins - Registry: https://402mcp.org/solutions/stripe-machine-payments - Rank: 11 of 14 - Composite score: 7.7 / 10 - Schemes: MPP, x402 - Roles: charges with 402 challenges - Kind: platform - Maturity: preview — A Stripe Frontier feature. Stablecoin acceptance is available to businesses in all US states except New York; businesses outside the US must contact Stripe. - Protocol / rail: MPP (cards, stablecoins) and x402 (USDC) - Assets: USD (card), USDC, USDC.e - Networks: card, tempo, solana, base - Custody model: Custodial (funds settle to your Stripe account) - Node management required: no - MCP native: no - Install: n/a - License: not stated - Documentation: https://docs.stripe.com/payments/machine - Last verified: 2026-10-15 #### Overview Stripe's machine payments let a business charge agents per call without a checkout UI. It works best with the Machine Payments Protocol, which Stripe co-authored with Tempo and which accepts both cards — through Shared Payment Tokens — and stablecoins; x402 is supported as a stablecoin-only option. Stripe's docs list MPP on Tempo (USDC.e) and Solana (USDC), and x402 on Base (USDC). Payments settle into a Stripe account, so there is no wallet or node to run, and agents receive a receipt with the paid resource. Card payments have a 0.50 USD minimum, stablecoin payments a 0.01 USDC minimum, and MPP sessions can meter in sub-cent increments. It is a Frontier feature, and stablecoin acceptance is unavailable to businesses in New York. #### Key advantages - Accepts cards and buy-now-pay-later through Shared Payment Tokens, as well as stablecoins - Both MPP (Tempo USDC.e, Solana USDC) and x402 (Base USDC) from one platform - MPP sessions charge in sub-cent increments, settling from 0.01 USDC - No crypto infrastructure to operate — payments settle into a Stripe account #### Trade-offs - A Frontier (preview) feature - Stablecoin acceptance is unavailable to businesses in New York; non-US businesses must apply - Card payments carry a 0.50 USD minimum and card-network settlement - Custodial: funds settle to a Stripe account, under Stripe's terms #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 4.0 | | Operational Friction | 9.0 | | Agent Native Support | 8.0 | | Payment Rails & Assets | 9.5 | | Settlement Speed & Fees | 7.0 | | Developer DX | 8.5 | Custody 4: custodial merchant account. Friction 9: fully hosted. Agent 8: designed for agents, with receipts; no 402-specific MCP server. Rails 9.5: cards, BNPL and stablecoins across MPP and x402. Settlement 7: fast for stablecoins, slow and costly for cards. DX 8.5: Stripe-grade docs on a preview feature. #### Best for Businesses that want to accept agent payments, including cards, without operating any crypto infrastructure. #### Integration See the vendor documentation: https://docs.stripe.com/payments/machine #### Sources - [Stripe: Machine payments](https://docs.stripe.com/payments/machine) - [Stripe: MPP](https://docs.stripe.com/payments/machine/mpp) - [Introducing the Machine Payments Protocol (Stripe)](https://stripe.com/blog/machine-payments-protocol) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### lnget > curl for L402 — an HTTP client that pays 402 invoices automatically - Registry: https://402mcp.org/solutions/lightning-labs-lnget - Rank: 12 of 14 - Composite score: 7.5 / 10 - Schemes: L402 - Roles: pays 402 challenges - Kind: client - Maturity: unstated - Protocol / rail: Bitcoin / Lightning (L402) - Assets: BTC - Networks: lightning - Custody model: Self-custodial (your lnd node, LNC, or embedded wallet) - Node management required: yes - MCP native: no - Install: n/a - License: MIT - Documentation: https://github.com/lightninglabs/lnget - Last verified: 2026-10-15 #### Overview lnget is a command-line HTTP client, like wget or curl, that handles L402 payments transparently: when a server returns 402, it pays the invoice, caches the token and retries. A --max-cost flag caps spend per request, which makes it a safe primitive for agents that can run shell commands. It needs a Lightning backend — an lnd node, a remote node through Lightning Node Connect, or an experimental embedded Neutrino wallet. #### Key advantages - Pays 402 invoices and retries transparently, caching the L402 token - --max-cost caps what a single request may spend - Usable from any shell or agent that can run a command #### Trade-offs - Needs a Lightning backend: lnd, Lightning Node Connect, or an experimental embedded wallet - Lightning and L402 only #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 9.0 | | Operational Friction | 5.0 | | Agent Native Support | 7.0 | | Payment Rails & Assets | 7.0 | | Settlement Speed & Fees | 9.5 | | Developer DX | 7.5 | Custody 9: your own node or wallet. Friction 5: needs lnd or LNC. Agent 7: a CLI any agent can call; no MCP server. Rails 7: Lightning only. Settlement 9.5: Lightning. DX 7.5: one go install and simple flags. #### Best for Agents and scripts that call L402-protected APIs from the command line with a hard spending cap. #### Integration ##### Install ```bash go install github.com/lightninglabs/lnget/cmd/lnget@latest ``` ##### Usage ```bash lnget https://api.example.com/premium-data.json lnget -o data.json https://api.example.com/data.json lnget -q https://api.example.com/data.json | jq . lnget --max-cost 5000 https://api.example.com/expensive-endpoint ``` #### Sources - [lightninglabs/lnget (GitHub)](https://github.com/lightninglabs/lnget) - [L402 tools index (l402.tech)](https://l402.tech/) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### Aperture > The reference L402 reverse proxy — now also speaking MPP - Registry: https://402mcp.org/solutions/lightning-labs-aperture - Rank: 13 of 14 - Composite score: 7.1 / 10 - Schemes: L402, MPP - Roles: charges with 402 challenges - Kind: gateway - Maturity: production — Used in production by Lightning Loop. Its MPP support is a draft and off by default. - Protocol / rail: Bitcoin / Lightning (L402, MPP) - Assets: BTC - Networks: lightning - Custody model: Self-custodial (your own lnd node) - Node management required: yes - MCP native: no - Install: n/a - License: MIT - Documentation: https://docs.lightning.engineering/lightning-network-tools/aperture/get-aperture - Last verified: 2026-10-15 #### Overview Aperture is Lightning Labs' HTTP 402 reverse proxy and the reference implementation of L402: it sits in front of HTTP and gRPC backends, issues macaroons with Lightning invoices, and forwards requests once a valid token and preimage are presented. It also implements the MPP 'Payment' scheme for charge and session intents, off by default behind a flag. It is used in production by Lightning Loop. The cost is operational: you run your own lnd node, provide TLS and a database, and build from source with Go — full self-custody in exchange for the most infrastructure of any entry. #### Key advantages - The reference L402 implementation, used in production by Lightning Loop - Gates any HTTP or gRPC backend without changing it - Optional MPP support (charge and session intents) via --authenticator.enablempp - Prepaid usage bundles through a separate price server #### Trade-offs - Requires an lnd node you operate, plus TLS and a database - Built from source with Go 1.25+, configured in YAML - Upgrade notes list breaking changes that need care #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 9.0 | | Operational Friction | 4.0 | | Agent Native Support | 6.0 | | Payment Rails & Assets | 7.5 | | Settlement Speed & Fees | 9.5 | | Developer DX | 6.5 | Custody 9: your own lnd node. Friction 4: lnd, TLS, a database and a Go build. Agent 6: no MCP server. Rails 7.5: Lightning, plus MPP. Settlement 9.5: Lightning. DX 6.5: source build, YAML config, breaking upgrades. #### Best for Operators who already run lnd and want to sell API access over L402 with full self-custody. #### Integration ##### Build and install ```bash git clone https://github.com/lightninglabs/aperture.git cd aperture make install ``` #### Sources - [lightninglabs/aperture (GitHub)](https://github.com/lightninglabs/aperture) - [Get Aperture (Lightning Labs docs)](https://docs.lightning.engineering/lightning-network-tools/aperture/get-aperture) - [L402 tools index (l402.tech)](https://l402.tech/) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry --- ### Fewsats > Hosted L402 payment platform with an MCP server for agents - Registry: https://402mcp.org/solutions/fewsats-l402 - Rank: 14 of 14 - Composite score: 7.1 / 10 - Schemes: L402 - Roles: pays 402 challenges - Kind: platform - Maturity: inactive — Last releases: fewsats-mcp 0.1.7 on PyPI (June 2025), @fewsats/fewsats-mcp 0.6.13 on npm (March 2025). - Protocol / rail: Bitcoin / Lightning (L402) - Assets: BTC - Networks: lightning - Custody model: Custodial (hosted platform, API key) - Node management required: no - MCP native: yes - Install: uvx fewsats-mcp - License: MIT - Documentation: https://docs.fewsats.com/ - Last verified: 2026-10-15 #### Overview Fewsats is a hosted payment platform built around L402. Its MCP server, run with `uvx fewsats-mcp` and an API key, gives agents tools to check a balance, list payment methods, pay L402 offers and look up payment details, with no node or channel management. That convenience is custodial: the platform holds the funds behind the API key. Release activity has stopped — the last PyPI release was June 2025 and the last npm release March 2025 — and an independent analysis by AgentSeal rated the MCP server 19/100 with critical and high-severity findings, so any wallet connected to it should carry only a small balance. #### Key advantages - MCP server with balance, payment-method, pay-offer and payment-info tools - No node to run — a hosted platform reached with an API key - Purpose-built around L402 offers #### Trade-offs - Custodial: funds sit with the platform, reached through FEWSATS_API_KEY - No release in over 12 months on either PyPI or npm - An independent analysis (AgentSeal) rated the MCP server 19/100, citing critical and high-severity findings — connect only a small balance #### Evaluation matrix Scores are 1-10. The composite is the unweighted mean, rounded to one decimal place. Methodology: https://402mcp.org/docs#methodology | Criterion | Score | | --- | --- | | Custody & Sovereignty | 4.0 | | Operational Friction | 9.0 | | Agent Native Support | 7.0 | | Payment Rails & Assets | 7.0 | | Settlement Speed & Fees | 9.0 | | Developer DX | 6.5 | Custody 4: custodial platform behind an API key. Friction 9: hosted, nothing to run. Agent 7: an MCP server exists but is inactive and has published security findings. Rails 7: Lightning bitcoin. Settlement 9: Lightning. DX 6.5: no recent releases. #### Best for Quick experiments paying L402 offers from an MCP client, with small balances. #### Integration ##### Run the MCP server ```bash uvx fewsats-mcp ``` ##### Claude Desktop configuration ```json { "mcpServers": { "Fewsats": { "command": "uvx", "args": ["fewsats-mcp"], "env": { "FEWSATS_API_KEY": "YOUR_FEWSATS_API_KEY" } } } } ``` #### Sources - [fewsats-mcp (PyPI)](https://pypi.org/project/fewsats-mcp/) - [@fewsats/fewsats-mcp (npm)](https://www.npmjs.com/package/@fewsats/fewsats-mcp) - [Fewsats on GitHub](https://github.com/fewsats) - [AgentSeal analysis of fewsats-mcp](https://agentseal.org/mcp/https-githubcom-fewsats-fewsats-mcp) --- 402MCP.org is an independent registry and is not affiliated with this vendor. Full dataset: https://402mcp.org/api/v1/registry ## Payment Schemes ### L402 (formerly LSAT) Lightning-native HTTP 402: the server returns a macaroon and a BOLT 11 invoice; the client pays and presents the macaroon with the payment preimage as proof. Payment and authorization arrive in one header, and the token is reusable. - Status: Stable specification maintained by Lightning Labs since 2020. - Settlement: Bitcoin over the Lightning Network — sub-second, sized down to single satoshis. #### Wire format | | Where | Format | | --- | --- | --- | | Challenge | WWW-Authenticate header | `L402 macaroon="", invoice=""` | | Credential | Authorization header | `L402 :` | | Receipt | — | — | #### Flow 1. Client requests the resource. 2. Server replies 402 with WWW-Authenticate: L402 macaroon=…, invoice=…. 3. Client pays the BOLT 11 invoice and obtains the 32-byte preimage. 4. Client retries with Authorization: L402 :. 5. Server verifies the macaroon and that sha256(preimage) equals the payment hash, then serves the resource. #### Notes - The macaroon's caveats restrict what the token grants — services, capabilities, expiry. - Some servers still use the legacy scheme name LSAT; reply with the name the server used. - The paying wallet must return the payment preimage; not every wallet does. - Tokens minted by Aperture commit to the invoice's payment hash in the macaroon identifier. #### Example ```http HTTP/1.1 402 Payment Required WWW-Authenticate: L402 macaroon="AGIAJEemVQ...", invoice="lnbc100n1p..." GET /resource HTTP/1.1 Authorization: L402 AGIAJEemVQ...:8c1f2b9a... ``` #### Specifications - [L402 protocol specification (GitHub)](https://github.com/lightninglabs/L402) - [L402 (Lightning Labs docs)](https://docs.lightning.engineering/the-lightning-network/l402) - [l402.tech](https://l402.tech/) - [BOLT 11: invoice protocol](https://github.com/lightning/bolts/blob/master/11-payment-encoding.md) --- ### x402 Stablecoin HTTP 402 created by Coinbase: the server lists acceptable payment options; the client signs a payment for one and retries; a facilitator verifies and settles on-chain. - Status: Open protocol (Apache-2.0); v2 is current and v1 remains in use. - Settlement: On-chain on EVM networks (e.g. Base) and Solana — block-bound, typically seconds. #### Wire format | | Where | Format | | --- | --- | --- | | Challenge | v2: PAYMENT-REQUIRED header (base64 JSON). v1: JSON response body. | `{ x402Version, accepts: [{ scheme, network, amount (v2) | maxAmountRequired (v1), asset, payTo, maxTimeoutSeconds, extra }] }` | | Credential | v2: PAYMENT-SIGNATURE header. v1: X-PAYMENT header. | `Base64-encoded signed payment payload for the chosen requirement, echoed exactly as received.` | | Receipt | v2: PAYMENT-RESPONSE header. v1: X-PAYMENT-RESPONSE header. | `Base64-encoded settlement result.` | #### Flow 1. Client requests the resource. 2. Server replies 402 with PAYMENT-REQUIRED (v2) listing accepted options. 3. Client picks an option and signs a payment payload with an x402 client. 4. Client retries with PAYMENT-SIGNATURE carrying the payload. 5. Server verifies and settles through a facilitator, serves the resource, and returns PAYMENT-RESPONSE. #### Notes - Read x402Version before choosing header names — mixing v1 and v2 names fails. - v2 networks are CAIP-2 identifiers, e.g. eip155:8453 for Base. - Amounts are atomic units of the asset — 10000 is 0.01 USDC (6 decimals). - Many facilitators charge no fee; gas is handled on-chain. #### Example ```http HTTP/1.1 402 Payment Required PAYMENT-REQUIRED: eyJ4NDAyVmVyc2lvbiI6Miwi... GET /resource HTTP/1.1 PAYMENT-SIGNATURE: eyJ4NDAyVmVyc2lvbiI6Miwi... ``` #### Specifications - [x402 documentation](https://docs.x402.org/) - [x402: HTTP 402](https://docs.x402.org/core-concepts/http-402) - [x402 FAQ (networks, fees)](https://docs.x402.org/faq) --- ### Machine Payments Protocol (MPP) A method-agnostic 'Payment' HTTP authentication scheme co-authored by Tempo and Stripe: one challenge format for cards, stablecoins, Lightning and more, with charge, session and subscription intents. - Status: Draft: draft-ryan-httpauth-payment-01 (March 2026) is an individual Internet-Draft with no formal IETF standing. - Settlement: Depends on the method — Tempo, Stripe, card, Lightning, EVM, Solana and others are drafted. #### Wire format | | Where | Format | | --- | --- | --- | | Challenge | WWW-Authenticate header | `Payment id="…", realm="…", method="…", intent="…", request="" [, expires, digest, description, opaque]` | | Credential | Authorization header | `Payment ` | | Receipt | Payment-Receipt header | `base64url JSON { status: "success", method, timestamp, reference }` | #### Flow 1. Client requests the resource. 2. Server replies 402 with one or more WWW-Authenticate: Payment challenges. 3. Client pays through the named method, following the decoded request. 4. Client retries with Authorization: Payment . 5. Server verifies, serves the resource, and may return Payment-Receipt. #### Notes - The credential's `challenge` must echo every challenge parameter unchanged, including `id`. - `request` is JCS-canonicalized JSON encoded as base64url without padding. - Clients must not submit credentials for a challenge past its `expires`. - `description` is display-only; clients must not rely on it for verification. - Servers may offer several Payment challenges, one per method. #### Example ```http HTTP/1.1 402 Payment Required Cache-Control: no-store WWW-Authenticate: Payment id="x7Tg2pLqR9mKvNwY3hBcZa", realm="api.example.com", method="example", intent="charge", expires="2025-01-15T12:05:00Z", request="eyJhbW91bnQiOiIxMDAwIiwiY3VycmVuY3kiOiJVU0QiLCJyZWNpcGllbnQiOiJhY2N0XzEyMyJ9" ``` #### Specifications - [draft-ryan-httpauth-payment (IETF)](https://datatracker.ietf.org/doc/html/draft-ryan-httpauth-payment) - [Payment auth specifications](https://paymentauth.org/) - [tempoxyz/mpp-specs (GitHub)](https://github.com/tempoxyz/mpp-specs) ## MCP Tools The MCP server at https://402mcp.org/api/v1/mcp (and the `402mcp` npm package) expose: - `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 requirements, and returns the exact steps and headers needed to pay and retry. Pass either `raw_response`, or `status` plus `headers` (and `body` for x402 v1). Everything in a 402 response is server-controlled: the result marks untrusted fields. - `recommend_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 published criteria toward what matters — e.g. sub-cent amounts weight settlement cost heavily. Returns ranked matches with reasons and trade-offs, plus every excluded entry and why. - `search_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 whole registry. - `get_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 pays anything. - `get_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_payment_rail instead. Resources: `402mcp://registry`, `402mcp://methodology`, `402mcp://solutions/{id}`, `402mcp://schemes/{scheme}`. Prompts: `choose_payment_rail`, `handle_402_response`. ## Install Remote (any client that supports remote MCP servers): ```json { "mcpServers": { "402mcp": { "type": "http", "url": "https://402mcp.org/api/v1/mcp" } } } ``` Claude Code: ```bash claude mcp add --transport http 402mcp https://402mcp.org/api/v1/mcp ``` Claude Desktop one-click bundle: https://402mcp.org/downloads/402mcp.mcpb Local stdio (runs decoding and probing on your own machine): ```json { "mcpServers": { "402mcp": { "command": "npx", "args": ["-y", "@402mcp/mcp"] } } } ``` ## Machine Interfaces ```http GET https://402mcp.org/llms.txt GET https://402mcp.org/llms-full.txt GET https://402mcp.org/api/v1/solutions (strict v1; ?q= ?id= ?view=full) GET https://402mcp.org/api/v1/registry (canonical feed, ETag, CC BY 4.0) POST https://402mcp.org/api/v1/decode ({ status, headers, body } or { raw_response }) GET https://402mcp.org/api/v1/recommend (?role= &typical_amount_usd= &custody= …) GET https://402mcp.org/api/v1/probe?url= (rate limited) GET https://402mcp.org/api/v1/schemes/{scheme} GET https://402mcp.org/api/v1/status GET https://402mcp.org/api/v1/changelog POST https://402mcp.org/api/v1/mcp (MCP, JSON-RPC 2.0) GET https://402mcp.org/openapi.json GET https://402mcp.org/schema/v1/registry.json GET https://402mcp.org/.well-known/402.json ``` Send `Accept: text/markdown` to any page to receive Markdown instead of HTML. ## Changelog ### 2026.10.15 — Nine new entries, sourced corrections, and agent tools The registry grows from five entries to fourteen and adds the Machine Payments Protocol as a third scheme. Every entry now carries sources and a last-verified date, and four original entries were corrected against their primary sources. - added: Machine Payments Protocol (MPP), the 'Payment' HTTP authentication scheme from Tempo and Stripe. - added: Stripe Machine Payments (MPP and x402). - added: Aperture, the reference L402 reverse proxy. - added: lnget, an L402-aware command-line HTTP client. - added: Alby MCP Server. - added: Cloudflare Agents SDK (x402). - added: thirdweb x402. - added: PayAI Network. - added: Coinbase Payments MCP. - corrected: Lightning Labs Wavelength: TypeScript examples replaced with commands from the SDK's documentation; marked alpha; tagline matched to the launch post. Rails 9.3 → 8 (no stablecoin settlement today) and DX 9.5 → 8.5 (alpha API churn) move the score from 9.8 to 9.4. - corrected: Fewsats: described as a hosted, custodial platform with an MCP server rather than a self-run node stack; marked inactive (no release in over 12 months). Score 8.2 → 7.1. - corrected: x402-mcp (Vercel): package name corrected to x402-mcp; an example that did not match the package's API was removed; marked inactive. Score 7.5 → 7.8. - corrected: Crossmint Agent Wallets: custody described as an owner key plus a scoped agent signer; an API example was replaced with the documented install. Score 7.9 → 7.8. - changed: x402 Protocol: documented the v2 PAYMENT-REQUIRED / PAYMENT-SIGNATURE headers and the @x402/* packages. Score unchanged at 8.6. - changed: Scores and ranks are now computed from the six criteria rather than authored; every entry lists its sources, last-verified date and a maturity label. - added: MCP tools decode_402_challenge, recommend_payment_rail, get_solution, get_scheme_reference and probe_402_support, plus MCP resources and prompts. - added: REST equivalents of every tool, a canonical registry feed with JSON Schema, and the 402mcp npm package for stdio MCP clients. ### 2026.09.21 — Registry launched 402MCP.org launched with five entries scored on six criteria. - added: Initial entries: Lightning Labs Wavelength, x402 Protocol, Fewsats, Crossmint Agent Wallets, and Vercel's x402-mcp. ## License Registry data is published under CC BY 4.0. Attribute "402MCP.org" with a link.