io.github.sF1nX/x402station

Registre officiel IA et agents

x402station.io: independent risk-signal layer for x402 endpoints before agents pay.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package x402station-mcp
Claude Code
claude mcp add x402station -e 'AGENT_PRIVATE_KEY=<your agent_private_key>' -e 'X402STATION_BASE_URL=<X402STATION_BASE_URL>' -- npx -y x402station-mcp@1.0.11
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "x402station": {
            "command": "npx",
            "args": [
                "-y",
                "x402station-mcp@1.0.11"
            ],
            "env": {
                "AGENT_PRIVATE_KEY": "<your agent_private_key>",
                "X402STATION_BASE_URL": "<X402STATION_BASE_URL>"
            }
        }
    }
}

Variables d'environnement

  • AGENT_PRIVATE_KEY obligatoire secret 0x-prefixed 64-hex-char private key. Account must hold Base mainnet USDC. Required for any paid tool call.
  • X402STATION_BASE_URL Optional override. Only https://x402station.io or http(s)://localhost are accepted to prevent payload hijacking; any other value makes the adapter refuse to start.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. x402station-mcp
  2. Install
  3. Configure
  4. Tools
  5. Typical agent flow
  6. Composes with
  7. Links
  8. Contact
  9. License

x402station-mcp

MCP adapter for x402station.io, the independent risk-signal layer for x402 agentic commerce. Exposes Preflight by x402station.io plus Forensics, Catalog Decoys, Alternatives, Credits, Watch, and Whats New. Any agent speaking the Model Context Protocol gets endpoint evidence before signing PAYMENT-SIGNATURE — decoy, zombie, price-trap, never-paid, latency, signature/settlement checks — before paying.

x402station.io independently probes every endpoint listed on agentic.market every 10 minutes and merges probe history with CDP settlement data. Policy engines decide and enforce; x402station.io measures and reports. We do not route, take custody, or endorse.

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 paid call through x402 itself. You need a wallet private key that holds Base mainnet USDC.

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
VariableRequiredDefaultPurpose
AGENT_PRIVATE_KEYyes for any paid tool call—0x-prefixed 64-hex-char private key. Account must hold Base mainnet USDC.
X402STATION_BASE_URLnohttps://x402station.ioOverride for dev / testing.

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 include unknown_endpoint, no_history, dead, zombie, decoy_price_extreme, never_paid_zombie, proxy_markup, wildcard_402, spa_fallback, suspicious_high_price, slow, and 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.

Composes with

x402station checks whether the endpoint is safe (decoy / zombie / price-trap / never-paid) before an agent pays. It pairs naturally with a payload safety check — screening the payment metadata for PII before signing:

agent intent: pay some_endpoint.com
    ├─ x402station    preflight(url)              ← is the ENDPOINT safe?
    ├─ presidio-x402  screen_payment_metadata()   ← is the PAYLOAD safe?
    └─ pay()

presidio-hardened-x402-mcp screens payment metadata for PII before signing. The two servers are developed independently, on purpose — keeping the signals uncorrelated is the point. This is a composition pointer, not an endorsement; see their repo for the screening tool's behaviour and limits.

Contact

License

MIT

Questions fréquentes

Qu'est-ce que io.github.sF1nX/x402station ?

x402station.io: independent risk-signal layer for x402 endpoints before agents pay.

Comment installer io.github.sF1nX/x402station ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add x402station -e 'AGENT_PRIVATE_KEY=<your agent_private_key>' -e 'X402STATION_BASE_URL=<X402STATION_BASE_URL>' -- npx -y x402station-mcp@1.0.11. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.sF1nX/x402station ?

Oui. Il attend AGENT_PRIVATE_KEY, à renseigner dans sa configuration.

io.github.sF1nX/x402station est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient io.github.sF1nX/x402station ?

Il est publié par sF1nX. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.