
preflight402
io.ironshell由 ironshell.io 發布官方發布者v0.1.0更新於 Oct 24, 2026
Trust verdict for an x402 payment endpoint: health, 402 handshake, price, proceed/caution/avoid.
概覽
託管型 MCP 伺服器,在代理付款前對 x402 支付端點做預檢,回傳 proceed/caution/avoid 信任結論。
- 可以做什麼
- 檢查付費 API 端點:preflight 工具接收一個 URL,回傳 trust-preview.v1 結論。
- 評估健康與握手:存活狀態、TLS、402 握手解析(x402 v1/v2 與 MPP 辨識)以及價格合理性。
- 評估身分與聲譽:ERC-8004 身分綁定,以及經女巫過濾的鏈上聲譽,並附上白話理由。
- 託管執行個體同時提供一般 HTTP 介面,可執行相同的檢查。
- 適用情境
- 當代理即將向不熟悉的 x402 端點付款,需要一次免費、快速的合理性檢查時使用,判斷端點是否上線、價格是否合理、聲譽是否可信。它是付款前的檢查工具,本身不執行付款。
- 執行需求
- 需要一個指向託管 streamable-HTTP 端點的遠端 MCP 用戶端;不需錢包、金鑰或安裝。若改為本機執行,則需要 uv 與對應的 Python 套件,README 說明 PyPI 發布尚未完成。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 preflight402,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.ironshell%2Fpreflight402/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"preflight402": {
"type": "http",
"url": "https://preflight402.ironshell.io/mcp"
}
}
}README
preflight402
One free call before your agent pays. Health, authenticity, and Sybil-filtered reputation — one verdict.
[License: MIT] [Python 3.10+] [MCP]
A free trust/health preflight for the agent payment economy (x402). It probes
an endpoint before your agent pays and returns one trust-preview.v1 verdict:
liveness, TLS, the 402 handshake (x402 v1/v2 + MPP detection), price sanity,
continuous uptime history, ERC-8004 identity binding, and Sybil-filtered
on-chain reputation — rolled into a proceed / caution / avoid recommendation
with plain-language reasons. No wallet, no key, no charge.
Why filtered reputation matters: one live agent shows a 99.8/100 average from 996 reviewers — until Sybil filtering collapses those reviewers into 12 independent funding clusters at 89.7. Raw reputation is trivially farmed; this is what the verdict actually scores. (Separately, only ~4% of x402 payees bind to any ERC-8004 identity at all — so most verdicts run on health, price, and handshake, and say so honestly.)
Why "listed" means little: across 7.76M probes over 15 days of a 51,331-endpoint catalog, two squatting hosts account for 58% of every listed x402 endpoint — one serving a uniform 404 behind a "This app isn't live yet" placeholder, the other a uniform Cloudflare TLS failure. Strip them out and 87% of real endpoints work; measured per provider, about one host in seven (13.9%) serves no valid 402. Read the findings: What 7.8M probes say about the x402 economy — including why a GET-only crawl (ours included, before we fixed it) overstates x402 invalidity ~2×. Full method and caveats: docs/checkpoint-m3.md.
30-second quickstart
Point any agent at the hosted MCP endpoint — no wallet, no key, no install:
Or check an endpoint over plain HTTP:
Guard every payment automatically
preflight402-guard turns the service into a payment gate for the
x402 Python SDK — safety becomes
default-on instead of something an agent has to remember to call:
It also cross-checks that the payee your client selected matches the endpoint
that was preflighted (the 402's resource URL is attacker-controlled), enforces
an optional max_price_usd ceiling against the actual selected terms, and
fails open by default so your commerce never depends on our uptime. There's
a CLI too: preflight402-guard check <url>. See guard/README.md.
Status
Live at preflight402.ironshell.io and in
the official MCP registry as
io.ironshell/preflight402. The free preflight engine (health + 402 parse +
verdict), continuous probing with uptime history, ERC-8004 binding, and the
Sybil filter are all shipped and serving live. The whole service is free —
there is no paywall.
Use it
As an MCP tool (no wallet, no key)
The preflight tool takes a url and returns a trust-preview.v1 verdict.
Easiest — point any MCP client at the hosted instance, no install:
Or run it yourself over stdio. Claude Code — one line (PyPI publish pending;
until then point --directory at a clone):
Claude Desktop — add to claude_desktop_config.json:
Either way, run it as a hosted HTTP server with
preflight402-mcp --transport streamable-http (serves the same tool at
http://<host>:8000/mcp).
As a REST call
The hosted instance also serves REST:
Or run it yourself (serves REST + MCP on one port):
Development
Requires uv.
Layout
來源:README.md,提交 d775442
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分