read-onlyzero dependencies MITNode.js 18+CI-ready exit codes

Know an MCP server works before your agent depends on it.

mcpreflight runs the MCP initialize handshake and tools/list validation against any endpoint. No tools invoked, no credentials, no payments. Then it tells you exactly what passed and what didn't.

preflight — npx
$
✓ initialize handshake ok (38ms) ✓ tools/list ok · 12 tools · 0 invoked PASS — no tool calls, no credentials
npm CI MIT mcpservers.org
9,991registry endpoints scanned weekly
48.8%pass a clean anonymous handshake
2.4%weekly churn: pass → unknown
0tools invoked, ever

01Three ways to run it

Same engine, same read-only guarantees, wherever you need it.

01

CLI

One command against any endpoint. Deterministic PASS/FAIL, exact failing step, JSON or markdown output.

CLI guide
02

GitHub Action

mcp-trust-check on every pull request. Fails the build when a registered server stops completing a clean handshake.

CI guide
03

MCP server mode

Expose schema_check and x402_inspect as MCP tools inside your own agent stack.

README

02What you can check

Every check is reproducible with one command and documented with its limits.

CHK·1

Schema check

initialize + tools/list, tool names, descriptions, input/output JSON schemas, required fields. 46,216 property-level findings logged across the registry.

Schema guide
CHK·2

x402 inspector

HTTP 402 challenge shape, payment documents, accepts[], discovery manifests, latency and response digest, all without paying.

x402 guide
CHK·3

Trust Directory

Per-server reports, status badges and JSON APIs for 9,991 official-registry endpoints. Re-scanned every Monday.

Browse directory
CHK·4

Agent Evidence

ERC-8004 on-chain registrations cross-checked against their declared MCP endpoints: 40 endpoints, five-level verdicts, reasons and timestamps.

Sample report

03State of MCP — October 2026

48.8% passed 50.7% no anonymous response 0.4% failed outright
4,879passed a clean handshake
5,069gave no anonymous response
43failed outright
115passed last week, unknown this week

Of 9,991 remote endpoints in the official registry. Plus a second finding: all 213 Smithery-registered entries refused anonymous handshakes. Full report, method and limits →

04Guides

05Boundaries

Honest limits. mcpreflight never calls MCP tools, accepts credentials, executes server commands, signs or settles payments, or proves delivery. PASS is a deterministic observed-check result for the checks in that version — not a security certification and not a trust score.