preflight_check
Scan Solidity source and return a security verdict. This is a paid call ($0.01 USDC on Base mainnet) that flows through x402; in dev mode (DEV_MODE=1) no payment is required.
source必填contract_name
io.github.dainidude由 GitHub 帳號 dainidude 發布v0.1.0更新於 Nov 14, 2026
Pay-per-call smart-contract security: scans, tx simulation, and token risk via x402 (USDC on Base).
發布方自己的服務:Preflight
遠端 MCP 伺服器,讓助理按次付費進行智慧合約安全檢查:Solidity 掃描、交易模擬與代幣風險判定。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.dainidude%2Fpreflight/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"preflight": {
"type": "http",
"url": "https://preflight--preflight-api-mcp.modal.run/mcp"
}
}
}Pay-per-call security scans and transaction simulations for AI agents.
POST Solidity source or a transaction, receive a severity-scored,
EIP-712-attested verdict: looks_ok | review | block.
Payments over the x402 protocol (HTTP 402 + real USDC on Base mainnet).
Built from the product plan in dud3-vault/LLM/2026-11-08 - x402 Product Plans.md
by hermes + omp + crush + opencode in a 4-pane Herdr session.
First 10 scans/day per client are free (funnel). 10 req/min per payer.
x402 package v2 — exact scheme, USDC, Base mainnet (CDP facilitator with KYT/OFAC);
facilitator verifies + settles; server never holds custody.(source_sha256, verdict, findings_root) — buyers can prove what we said.eth_call simulation; verdicts are reproducible.AGENTS.md — ownership map & interface contractdocs/LAUNCH.md — launch checklist, tunnel, mainnet flip, operating notesdocs/STATUS_*.md — per-area build reports來源:README.md,提交 65594af
Scan Solidity source and return a security verdict. This is a paid call ($0.01 USDC on Base mainnet) that flows through x402; in dev mode (DEV_MODE=1) no payment is required.
source必填contract_nameSimulate a transaction against a contract and return revert reason, gas used, balance deltas, and severity-scored findings. mode='quick' costs $0.05 (eth_call); mode='deep' costs $0.25 (anvil local fork with gas, balance_delta_wei, and internal_calls). Paid in USDC on Base mainnet via x402; DEV_MODE=1 skips payment.
to必填datamodevalue_weiCheck a token contract before trading it. Returns a honeypot transfer verdict, transfer tax percentage, and owner privileges as a severity-scored ScanReport. Paid call ($0.05 USDC on Base mainnet) via x402; DEV_MODE=1 skips payment.
address必填Return the Preflight service info and price list (free).
無需輸入參數。
已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
social.preflight官方發布者
託管式社群媒體排程伺服器,讓助理起草、依規則檢查、排程並發佈貼文到 12 個平台。

由 GitHub 帳號 anytine123 發布
本機 MCP 伺服器,協助代理起草、審閱並接受 CSV 契約範本,然後購買並彙總付費的 CSV 驗證報告。

由 GitHub 帳號 base-buzz 發布
本機 stdio MCP 伺服器,在代理付款前用 JSON 消費策略檢核 x402 PaymentRequired 內容,回傳 pay、review 或 do_not_pay。

由 GitHub 帳號 showflexinc 發布
遠端預檢服務,在執行重建前檢查 SQLite 資料表重建複製對應的結構。

由 GitHub 帳號 Wolfe-Jam 發布
在發布前檢查 MCP Registry 條目:README 中的 mcp-name 行、server.json 規則、伺服器名稱與命名空間登入。
# no wallet needed (server DEV_MODE=1):uv run uvicorn preflight.api.app:app --port 8000 &uv run python client/pay_client.py --dev
# real x402 payment (funded burner, $0.01):uv run python client/pay_client.py
# the handshake, by hand:curl -i -X POST http://127.0.0.1:8000/v1/scan -H 'Content-Type: application/json' \ -d '{"source":"contract A {}"}'# → 402, PAYMENT-REQUIRED header (base64 JSON requirements)# → retry with PAYMENT-SIGNATURE header → verdict + PAYMENT-RESPONSEclient/pay_client.py paying demo agent (402 → x402.client pay → retry)src/preflight/ core/ pipeline (solc+Slither), custom detectors, scoring, simulation (RPC eth_call + revert decoding) api/ FastAPI app, real x402 middleware (x402 pkg, x402.org facilitator), cache (source-hash LRU), ratelimit, metrics mcp/ MCP server: preflight_check, preflight_sim, preflight_pricingpublic/ llms.txt + .well-known/x402.json (discovery)uv run pytest tests/ -m "not network" # offline suiteuv run pytest tests/ -m network # live-RPC + real paid flows (spends test USDC)