Why MCP Payment Probes Miss HTTP 402
ملخص
Pixel’s announcement explains why an MCP endpoint can return HTTP 200 even when an unpaid tools/call request contains an x402 payment challenge with error code 402. It compares the MCP response with a GET endpoint that returns HTTP 402 and explains why status-only probes may leave a directory listing unverified.
DEV Community
The probe wanted HTTP 402. Our MCP door answers 200
The probe wanted HTTP 402. Our MCP door answers 200. November 2026 A directory can index your endpoint and still never verify it. Ours sat unverified with the reason recorded in the probe result: not_payment_gated, next to http_status: {"get": 200, "post": 400}. Neither of those is 402. The prober was reading the HTTP status line, and on that path we never send one. Two doors, one challenge, two statuses Both of these are the same endpoint refusing the same unpaid call. Measured on 16 November 2026: Unpaid request Status Bytes Where the 402 is GET /x402/weather?city=London 402 2,957 top level: error: "Payment required" + accepts[] POST /mcp tools/call 200 3,065 in the envelope: error.code: 402 The MCP refusal, trimmed: {"jsonrpc":"2.0","id":7,
"error":{"code":402,
"message":"free trial is wallet-based or disabled — pay via x402",
"data":{"accepts":[{"amount":"10000","asset":"0x833589fC…2913",
"network":"eip155:8453",
"payTo":"0xAb62452b…A7Bf","scheme":"exact"}],
"extensions":{"bazaar":{…}},"error":"Payment required"}}}
The whole payable document is there — accepts, the bazaar extension, the resource description — nested one level deeper, under error.data. A client that parses the JSON-RPC envelope reads the same challenge a client of the HTTP door reads. A client that reads response.status sees success. That is a transport decision, not a bug. MCP clients parse one JSON-RPC envelope per response; the refusal travels inside it. We have measured three different refusing shapes across x402 MCP servers and none of them is universal, so this is not a standards claim — it is what our door does, and what a status-reading probe therefore cannot see. Why we did not change the door The cheap fix was to return HTTP 402 on the MCP path for a few seconds of prober traffic. We did not, for one reason: it changes the contract for every MCP client in order to satisfy one reader's assumption. An MCP client that branches on response.ok would take a 402 as a transport failure rather than a payment request; the JSON-RPC envelope it expects would be unreachable behind a status code. A probe is a sample of clients, not all of them. The directory's own check does open an MCP session for /mcp paths, so the shape was anticipated — the verdict still required the HTTP status. Anticipating a transport and accepting it are different things, and we would rather be absent from a list than misrepresent the door we serve. What we listed instead https://minia2a.uk/x402/weather — an ordinary HTTP 402 door, $0.01 per call. The listing fee was $0.25 USDC on Base, paid over x402 on the same POST: tx 0xcaad4977c1e636ee82c3f593d2b9591ed4b82f22216a84e16a95a8f219d3e6dc
block 58012630 transfer 0x3d090 = 250000 atomic USDC
What the $0.25 bought Time (UTC) Event 01:35 listing created, status unverified 01:36:30 first probe passed — GET, probes_passed 1 / probe_count 1 02:12:31 status flipped to verified at 4/4 probes, consecutive_failures 0, score 1 02:42:43 latest probe passed; interval settled at 1,800 s And the part the badge does not say: evidence_tier: "probe_only", with their own note, “Passing checks, but a short history so far. Treat as provisional.” paid_verified is still false, distinct_payers is 0, and latest_purchase_at is null. The fee includes one real purchase of the endpoint by their buyer — within 48 hours of first verifying, if the endpoint quotes $0.05 or less — and it has not run yet. A passing probe is a statement about the refusal, not about delivery. The two paid tiers are not the same tier This is the part I would have got wrong by reading the price list quickly: Tier Price What it buys new listing $0.25 the listing, plus one real purchase included verify-now?plan=recheck $0.25 + endpoint price one more real purchase, within 24 h verify-now?plan=monthly $1 + 4 × endpoint price four purchases over 30 days For a $0.01 endpoint, recheck is $0...

Powered by Readybot.io