x402station-mcp
Pre-flight oracle for x402 endpoints — gives any MCP-aware agent (Claude Code, Cursor, Windsurf, Continue) tools to detect decoys, zombies, and price traps before paying. Wraps preflight, forensics, decoy-blacklist, and watch-subscription endpoints from x402station.io.
README
x402station-mcp
MCP adapter for the x402station pre-flight oracle. Gives any agent speaking the Model Context Protocol a preflight, forensics, and catalog_decoys tool, so it can check x402 endpoints for decoys, zombie services, and price traps before paying them.
x402station independently probes every endpoint listed on agentic.market (20k+ endpoints, every 10 minutes) — it sees what facilitator-based monitors can't, including the ~161 endpoints priced ≥ $1,000 USDC that function as anti-scraper honeypots.
Install
# Claude Code / Cursor / Windsurf / Continue — works anywhere with MCP
npm install -g x402station-mcp
# or use npx in the config, no global install needed:
Configure
The adapter charges real USDC per call (via x402 itself — our oracle is dogfooded). You need a wallet private key that holds Base Sepolia USDC (or Base mainnet once we switch).
Claude Code
Add to ~/.claude/claude_desktop_config.json (or wherever your MCP servers live):
{
"mcpServers": {
"x402station": {
"command": "npx",
"args": ["-y", "x402station-mcp"],
"env": {
"AGENT_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY_HERE"
}
}
}
}
Cursor / Windsurf / Continue
Same shape — every MCP host understands command / args / env. See your tool's MCP docs.
Environment
| Variable | Required | Default | Purpose |
|---|---|---|---|
AGENT_PRIVATE_KEY |
yes for any tool call | — | 0x-prefixed 64-hex-char private key. Account must hold Base Sepolia USDC. |
X402STATION_BASE_URL |
no | https://x402station.io |
Override for dev / testing. |
Testnet USDC for the wallet: faucet.circle.com (pick Base Sepolia).
Tools
preflight(url) — $0.001 USDC
Ask whether it's safe to pay this x402 URL. Returns:
{
"ok": true,
"warnings": [],
"metadata": {
"service": "...",
"price_usdc": "0.01",
"uptime_1h_pct": 100,
"avg_latency_ms": 412
}
}
ok is true only when no critical warning fires. Warnings: unknown_endpoint, no_history, dead, zombie, decoy_price_extreme, suspicious_high_price, slow, new_provider.
forensics(url) — $0.001 USDC
Deep 7-day report. Superset of preflight. Returns hourly uptime, latency p50/p90/p99, status-code distribution, concentration-group stats, decoy probability. Extra warnings: dead_7d, mostly_dead, slow_p99, price_outlier_high, high_concentration.
catalog_decoys() — $0.005 USDC
Full blacklist. Returns every active endpoint currently flagged critical, plus per-reason counts. Pull periodically and cache locally — cheaper than preflighting every URL.
Typical agent flow
agent wants data from some_endpoint.com
│
├─ preflight("https://some_endpoint.com/data") ← $0.001
│ ok: false, warnings: ["decoy_price_extreme"]
│
└─ skip; try the next candidate
For bulk discovery, do catalog_decoys() once per day and treat the result as a set-difference against any URLs you're about to hit.
Links
- Oracle: https://x402station.io
- Manifest: https://x402station.io/.well-known/x402
- OpenAPI: https://x402station.io/api/openapi.json
- GitHub: https://github.com/sF1nX/x402station-mcp
- x402 spec: https://x402.org
Contact
- General + commercial: hello@x402station.io
- Bug reports: https://github.com/sF1nX/x402station-mcp/issues
- Security disclosures (RFC 9116): https://x402station.io/.well-known/security.txt
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.