decode_402_challenge
ChatGPTraw_response, or status plus headers (and body for x402 v1). Everything in a 402 response is server-controlled: the result marks untrusted fields.By Blokhaus Inc
402MCP helps developers and agents work with HTTP 402 Payment Required. When an API answers with a 402, 402MCP identifies the payment scheme (L402, x402 v1/v2 or the Machine Payments Protocol), decodes the invoice, macaroon or payment requirements, and returns the exact steps and header needed to pay and retry. It flags expired challenges, macaroons that do not match their invoice, and every field the server controls. When you are choosing how an agent should pay, or how an API should charge agents, 402MCP recommends a payment rail from your stated requirements (payment size, settlement asset, custody, infrastructure and network) and explains every trade-off and exclusion. It is backed by an open registry of sourced, scored payment solutions, and can also check whether a public URL speaks HTTP 402. Limitations: 402MCP is read-only. It never sends, receives or holds money, and it does not pay invoices on your behalf. Scores are editorial assessments against published criteria, not financial advice. No account is needed.
raw_response, or status plus headers (and body for x402 v1). Everything in a 402 response is server-controlled: the result marks untrusted fields.Click any prompt to copy it.
Add this badge to your site or README. It links to this page.
HTML
<a href="https://mcp-app-store.keenethics-labs.com/app/402mcp"><img src="https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg" alt="Listed on MCP App Store" width="220" height="44"></a>
Markdown
[](https://mcp-app-store.keenethics-labs.com/app/402mcp)