# 402mcp MCP server

Agent View of the PolicyLayer registry record for 402mcp: identity, probed posture, risk grade, and all 7 tools classified. HTML page: https://policylayer.com/tools/402mcp

## Facts

- Server id: `402MCP/402mcp`
- Homepage: https://github.com/402MCP/402mcp
- Registry record: grade B, identity unverified
- Lifecycle: active
- Rate-limited: no
- Tools: 7
- Tool categories present: Read
- Tags: 402mcp
- Record last modified: 2026-10-16T12:32:10.563Z

## Tools (7)

| Tool | Category | Risk | Record |
| --- | --- | --- | --- |
| `decode_402_challenge` | Read | Low | https://policylayer.com/tools/402mcp/decode-402-challenge.md |
| `get_best_payment_solution` | Read | Low | https://policylayer.com/tools/402mcp/get-best-payment-solution.md |
| `get_scheme_reference` | Read | Low | https://policylayer.com/tools/402mcp/get-scheme-reference.md |
| `get_solution` | Read | Low | https://policylayer.com/tools/402mcp/get-solution.md |
| `probe_402_support` | Read | Low | https://policylayer.com/tools/402mcp/probe-402-support.md |
| `recommend_payment_rail` | Read | Low | https://policylayer.com/tools/402mcp/recommend-payment-rail.md |
| `search_402_solutions` | Read | Low | https://policylayer.com/tools/402mcp/search-402-solutions.md |

## Tool descriptions

- `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 require…
- `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_…
- `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.
- `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.
- `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 pa…
- `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 publ…
- `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…

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=402mcp · API: https://policylayer.com/registry/api · Recommended policies for every tool: https://policylayer.com/policies/402mcp
