x402-scan-mcp

v0.1.9
io.github.forgemeshlabs/x402-scan-mcp Checked 3 days ago Published 1 month ago

x402 Endpoint Scanner — a free local health probe for x402 paid endpoints as an MCP server.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan_endpoint Scan one x402 endpoint for a well-formed 402 challenge

Free, local, no-payment health probe for one x402 endpoint. GETs the URL (retries once as POST with {} on a 405), then checks: is the response HTTP 402; does it carry a valid PAYMENT-REQUIRED envelope (Base64 JSON with numeric x402Version and a non-empty accepts[] where every entry has scheme/network/asset/payTo/amount), falling back to checking the body for an x402Version field; and does it also advertise MPP dual-stack via WWW-Authenticate: Payment. Grades A (valid envelope + MPP dual-stack), B (valid envelope only), C (402 but the envelope is missing or malformed), or F (not 402, unreachabl…

ParameterTypeDescription
url *stringThe x402 endpoint URL to probe, e.g. https://api.example.com/paid-route

scan_batch Scan up to 10 x402 endpoints at once

Runs scan_endpoint sequentially over a list of URLs (max 10) and returns each full result plus a one-line summary, e.g. '7/10 healthy, 2 dead, 1 broken envelope'. One bad URL never aborts the batch — its error is reported per-item instead. Same no-spend, SSRF-guarded probe as scan_endpoint applied to every URL.

ParameterTypeDescription
urls *array

census_stats x402 Bazaar health census stats

Fetches the latest ForgeMesh catalog stats (best-effort, 5s timeout, no input required) alongside the static headline numbers from the August 2026 x402 Bazaar health census: 1,225 sellers probed, 74% healthy, 206 dead, 40 serving paid content for free, and 15% MPP dual-stack. Source: https://forgemesh.io/blog/x402-bazaar-health-census-august-2026