Server data from the Official MCP Registry
Pay-per-call smart-contract security: scans, tx simulation, and token risk via x402 (USDC on Base).
About
Pay-per-call smart-contract security: scans, tx simulation, and token risk via x402 (USDC on Base).
Remote endpoints: streamable-http: https://preflight--preflight-api-mcp.modal.run/mcp
Security Report
Valid MCP server (1 strong, 2 medium validity signals). 1 code issue detected. No known CVEs in dependencies. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.
4 tools verified · Open access · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Found in Source Code
Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.
How to Connect
Remote Plugin
No local installation needed. Your AI client connects to the remote endpoint directly.
Add this to your MCP configuration to connect:
{
"mcpServers": {
"io-github-dainidude-preflight": {
"url": "https://preflight--preflight-api-mcp.modal.run/mcp"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
Preflight — x402-paid smart-contract pre-flight security API
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.
Try it
# 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-RESPONSE
Endpoints & prices
| Route | Price |
|---|---|
POST /v1/scan — single-file security scan (solc+Slither + 5 custom DeFi detectors) | $0.01 |
POST /v1/sim — transaction pre-flight simulation (RPC eth_call, revert decode) | $0.05 |
POST /v1/scan/project — multi-file project scan | $0.10 |
POST /v1/address-risk — address risk heuristics | $0.005 |
GET / GET /health GET /metrics GET /llms.txt GET /.well-known/x402.json | free |
First 10 scans/day per client are free (funnel). 10 req/min per payer.
Architecture
client/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_pricing
public/ llms.txt + .well-known/x402.json (discovery)
- Payments:
x402package v2 —exactscheme, USDC, Base mainnet (CDP facilitator with KYT/OFAC); facilitator verifies + settles; server never holds custody. - Attestations: EIP-712 over
(source_sha256, verdict, findings_root)— buyers can prove what we said. - Determinism: static analysis +
eth_callsimulation; verdicts are reproducible.
Listing
- x402scan: https://www.x402scan.com/server/1961af3d-afed-400b-bc57-ca4ebe41ef18 (all 5 paid routes indexed)
- CDP Bazaar: all 6 paid routes indexed (per-route settled payments)
- MCP Registry:
io.github.dainidude/preflight— remotehttps://preflight--preflight-api-mcp.modal.run/mcp - Glama: connector claimed + servers listing
Works with Greenlight
Greenlight is the sister service: Preflight analyzes the contract (honeypot probes, transfer tax, source scans); Greenlight clears the trade (wallet balances, open approvals, pair-check — can this wallet safely trade this token at this size?). Together they form a complete pre-trade check for trading agents on Base.
Docs
AGENTS.md— ownership map & interface contractdocs/LAUNCH.md— launch checklist, tunnel, mainnet flip, operating notesdocs/STATUS_*.md— per-area build reports
Test
uv run pytest tests/ -m "not network" # offline suite
uv run pytest tests/ -m network # live-RPC + real paid flows (spends test USDC)
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
