
Mcpreflight
io.github.xka0085-byte由 GitHub 帳號 xka0085-byte 發布v0.6.0更新於 Nov 3, 2026
適用於任何 MCP 或 x402 端點的唯讀預檢:握手、工具架構、402 漂移。
AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。
原文描述
Read-only preflight for any MCP or x402 endpoint: handshake, tool schemas, 402 drift.
概覽
Mcpreflight 的本機 MCP 服務;無需登入;STDIO。
暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcpreflight,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcpreflight
Point it at any MCP or x402 endpoint and get a verdict in one command. Read-only: no API key, no wallet, no tool calls.
Reach for it when an agent client, a buyer, or a CI job is about to depend on an endpoint whose source you cannot read, including endpoints you do not own. It reads only what the endpoint already sends to any anonymous caller: the initialize handshake, tools/list, and the HTTP 402 / x402 payment document.
No install to try it: run the check in the browser, free and without signup: check-your-mcp-endpoint
[npm] [CI] [License] [Listed on mcpservers.org]
Listed in the official MCP Registry as io.github.xka0085-byte/mcpreflight (browse) and on the GitHub Marketplace.
What it is
Read-only MCP and x402 preflight: it reads initialize + tools/list and x402 payment documents. No API key, no wallet, no payment, no tool calls.
This is an endpoint preflight, not a source audit. Tools that read your repository or fuzz a server you launch need a checkout and a start command; this one needs only a URL, so it can check the deployment an agent is about to connect to, including one you do not own.
Check an endpoint you do not own
The same read-only check runs weekly against every remote endpoint listed in the official MCP Registry, and the results are published as pages and as JSON:
- Trust Directory — 35,325 endpoints, one report each: status, protocol version, tool count, findings, and whether credentials are required.
- JSON API —
/trust/api/{slug}.jsonper endpoint, plus batch indexes and a JSON Schema. No key, no signup, no rate limit. - x402 census dataset — the payment slice of the same sweep: 1,583 of 35,327 endpoints advertise x402 or HTTP-402, with a weekly series, a status distribution against the registry-wide baseline, and downloadable CSV/JSON.
Read the vocabulary before quoting any number: in the 2026-11-02 scan, 20,701 endpoints answered anonymously (PASS), 10,236 refused with 401 because they require credentials by design (AUTH_GATED), 167 were reachable but invalid (FAIL), and 4,223 gave no anonymous handshake (UNKNOWN, usually an auth wall we cannot see past). A "dead MCP servers" count taken from this data would be wrong — 41% of the registry cannot be checked without credentials at all.
Use it as an MCP server
The stdio entry point is bin/mcpreflight-mcp.mjs, published as the mcpreflight-mcp bin in the same npm package. It implements the MCP lifecycle a client expects: initialize returns serverInfo mcpreflight with the package version, notifications/initialized is accepted, and tools/list returns two tools.
Add it to an MCP client:
Both tools do the same work as the CLI and return the same findings, so an agent can check an endpoint before it connects to it. Read-only by construction: the transport issues only GET and POST to the URL you pass, holds no key and has no wallet.
Seen in use
- joxo serves an MCP endpoint that is auth-gated by design. Their maintainer read the 0.2.0 source to confirm the check was two plain POSTs with no dependencies, then ran
npx @eidonze/[email protected] schema https://joxo.ai/api/mcpand gotUNKNOWN: MCP initialize returned HTTP 401against a deliberate OAuth 2.1 gate (#50). That report is the reason 0.3.0 classifies an OAuth challenge asAUTH_GATED, with the RFC 9728 resource metadata verified, instead of reading as a dead endpoint. They re-checked on 2026-11-01 and closed it: "The endpoint is sign-in only, so no anonymous handshake is expected. Thanks for the AUTH_GATED handling; closing." (#50). - A maintainer of cueframe-mcp reran the scan after a fix and reported the result back:
@eidonze/[email protected](the earlier npm name) now exits 0 on their endpoint, with the anonymoustools/listpayload down from 1,399,189 to 550,377 bytes — under the scanner's 1 MiB limit (#11). - Listed in awesome-mcp-lists under MCP Toolkits / Testing Tools (#226).
These are examples of the check being run, not endorsements or a claim that a PASS makes a server safe.
Start here
Exit codes are stable for CI: 0 PASS, 1 FAIL, 2 UNKNOWN/network, 3 usage. Requires Node.js 18+.
mode is schema (MCP handshake plus tool schemas), inspect (one-off x402 preflight), baseline (record the current 402 challenge shape) or drift (fail the job when that shape moves away from the committed baseline). The report is also appended to the job summary, and steps.<id>.outputs.status carries the exit code so later steps can branch on it without parsing logs.
Find the right guide
- Public documentation site
- MCP schema checker
- x402 endpoint inspector
- x402 payments in the MCP Registry: census dataset
- MCP security CI
- Troubleshooting
- OAuth scope and current limits
Run it now
Check an MCP server without calling any tools:
Check an x402 endpoint without paying:
Requires Node.js 18+. No API key or wallet is needed.
Example schema run against a live endpoint:
The exact same run against a healthy server prints Status: PASS and exits 0, so CI can gate on it.
Which command?
Exit codes are stable for automation: 0 PASS, 1 FAIL, 2 UNKNOWN/network error, 3 usage error.
What it does NOT check
mcpreflight is a protocol- and schema-level preflight, not a security audit. It does not:
- Detect malicious code, prompt injection, or supply-chain risk in the server's implementation
- Call tools, so it cannot prove runtime behavior, data handling, or permission scope
- Bypass, test, or evaluate authentication and authorization
- Verify payment settlement or delivery for x402 endpoints
- Certify compliance with any spec beyond the response shapes it inspects
A PASS means the observed handshake and schemas were well-formed at scan time. Nothing more.
GitHub Actions
Add a read-only check to pull requests:
Use mode: inspect for an x402 preflight. The action fails on FAIL or UNKNOWN by default; set fail-on: false for an informational check. Looking for it in the Marketplace? Search "MCP Trust Preflight" or "mcp server test", or browse the mcp-trust-preflight listing.
Starter template
Start a new MCP project with this check already wired in:
The check is read-only and should target a public test endpoint. Do not place private keys or credentials in workflow inputs.
What the report means
PASS means the observed response matched the checks in this version. It is not a security audit, protocol certification, payment-success guarantee, or proof that an endpoint is safe. UNKNOWN means the endpoint could not be observed within the timeout or response-size limits.
Example schema failure:
Example x402 failure:
Why it exists
The checks come from failure modes observed while building ReceiptRail: body validation that prevents an x402 challenge, payment documents in multiple headers/body shapes, and vendor hint headers that can hide the real accepts[] document.
mcpreflight ships as one read-only codebase in three forms: the CLI and the GitHub Action, and a stdio MCP server (bin/mcpreflight-mcp.mjs, npm bin mcpreflight-mcp) exposing schema_check and x402_inspect. It is not affiliated with mcpreflight.dev; verify the npm scope is @eidonze/mcpreflight.
Feedback
Found a false positive or a protocol shape we should support? Open an issue. Include the command, redacted output, Node version, and whether the endpoint is MCP or x402. Never include tokens, payment signatures, or private URLs.
License
MIT
來源:README.md,提交 d87e3d1
工具
0版本歷史
1- v0.6.0最新Nov 3, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分