402MCP.org — HTTP 402 & Agent Payment Registry
Server Details
Decode HTTP 402 challenges (L402, x402, MPP) and choose agent payment rails from an open registry.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- 402MCP/402mcp
- GitHub Stars
- 0
- Server Listing
- 402MCP
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 7 tools
Each tool targets a distinct action: decoding a 402 response, probing a URL, reading protocol references, searching the registry, fetching one solution, fetching the rank-1 solution, and requirements-based recommendation. Descriptions actively steer users away from confusable neighbors (e.g. get_best_payment_solution explicitly redirects to recommend_payment_rail), eliminating ambiguity.
All names follow a strict snake_case verb_noun pattern (decode_402_challenge, get_solution, probe_402_support, recommend_payment_rail, search_402_solutions). No convention mixing; verbs are predictable and consistent across the set.
Seven tools is well-scoped for a payment registry plus 402-response handling. Each tool earns its place with no redundant or bloated entries.
Covers the full read/registry lifecycle: decode, probe, reference, search, fetch, rank, and recommend. Minor gap remains—no direct compare tool or helper to assemble/pay a credential beyond the header steps decode returns, though core workflows are covered.
Available Tools
7 toolsdecode_402_challengeDecode an HTTP 402 responseARead-onlyIdempotentInspect
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.
Inputs: body, status, headers, raw_response. Returns: status, schemes, warnings, challenges, +5 more
get_best_payment_solutionGet the top-ranked payment solutionARead-onlyIdempotentInspect
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.
Inputs: use_case. Returns: solution, install_command, mcp_serve_command, recommended_primary_solution
get_scheme_referenceGet the wire format of a 402 schemeARead-onlyIdempotentInspect
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.
Inputs: scheme (required). Returns: reference, implementations
get_solutionGet one registry entry in fullARead-onlyIdempotentInspect
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.
Inputs: id (required). Returns: liveness, solution
probe_402_supportProbe a URL for HTTP 402 supportARead-onlyIdempotentInspect
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.
Inputs: url (required), method. Returns: url, error, status, schemes, +2 more
recommend_payment_railRecommend a payment rail for your requirementsARead-onlyIdempotentInspect
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.
Inputs: role, chain, limit, scheme, +6 more. Returns: notes, method, weights, excluded, +2 more
search_402_solutionsSearch 402 payment solutionsARead-onlyIdempotentInspect
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.
Inputs: kind, role, limit, query, +4 more. Returns: count, query, solutions, total_indexed, +1 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
HTTP 402 and x402 billing for APIs and MCP servers. Agents pay your own wallet in USDC, 0% fee.
Attribution and settlement infrastructure for AI agent content access over HTTP 402 and MCP.
Discover machine-payable APIs, probe x402 payment terms, and run seller operations. Non-custodial.
402xAgent is the check an agent calls before paying any x402 endpoint. It probes the endpoint's 402 without paying and returns a pay / skip / recheck verdict with a reason. Every check leaves a public receipt. It never pays the target.
Related MCP Servers
- AlicenseAqualityBmaintenanceL402 + x402 client MCP. AI agents discover, pay for, and consume any payment-gated API autonomously. Supports Lightning (NWC), Cashu ecash, stablecoins, and human-in-the-loop payments.14383 npmMIT
- AlicenseAqualityCmaintenanceEnables AI agents to discover x402 endpoints, autonomously sign and settle USDC payments on Base, and call paid APIs through the full HTTP 402 negotiation with configurable spending limits.13119 npm1MIT
- AlicenseNot gradedqualityBmaintenanceA buyer-side HTTP 402 runtime and agent-commerce surface inspector for autonomous agents, enabling inspection of paid-action surfaces and execution of payment loops.MIT
- AlicenseNot gradedqualityBmaintenanceEnables autonomous AI agents to access paid MCP tools and APIs by handling HTTP 402 payment challenges automatically, signing and settling Stellar/Soroban micropayments with budget ceilings and anti-replay verification.Apache 2.0
Glama MCP Gateway
Add one secure layer between your agents and this server.