X402station

io.github.sF1nX由 GitHub 账号 sF1nX 发布v1.0.11更新于 Oct 25, 2026

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

已验证STDIO仅桌面金融安全与监控

概览

AI 生成的概览

x402station.io 的本地 MCP 适配器,让助手在签署付款前检查某个 x402 端点是否值得付款。

可以做什么
在付款前检查单个 x402 端点,返回 ok 标志、警告以及价格、可用率、延迟等基本信息(preflight)。获取单个端点的七天深度报告,含每小时可用率、延迟分位数、状态码分布和诱饵概率(forensics)。拉取当前被标记端点的完整黑名单及按原因统计的数量(catalog decoys)。README 还提到 Alternatives、Credits、Watch 和 Whats New 工具,但未说明其行为。
适用场景
当助手即将向某个 x402 端点付款,希望先获得关于诱饵、僵尸端点、价格陷阱、从未付款端点或延迟的独立证据时使用。也适合批量发现场景:定期拉取黑名单,与即将访问的 URL 做比对。
运行要求
通过 stdio 在本地运行,通常用 npx 从 npm 包启动。任何付费调用都需要环境变量 AGENT_PRIVATE_KEY(0x 开头的私钥),且该账户须持有 Base 主网的 USDC。可选的 X402STATION_BASE_URL 仅接受官方站点或 localhost。需要访问 x402station.io 的网络连接。
安装前请注意
付费工具通过 x402 按次收取真实 USDC,调用会产生费用。服务器需要 AGENT_PRIVATE_KEY 中的钱包私钥,这是高价值机密,持有者可控制账户资金。端点 URL 和付款信息会发送到 x402station.io。README 说明该服务不路由、不托管资金,也不为端点背书。

安装

在 SourceWeft 中

  1. 打开 控制台中的 X402station,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Glama MCP server score]

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

bash
# Claude Code / Cursor / Windsurf / Continue — works anywhere with MCPnpm 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):

json
{  "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:

json
{  "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.

Links

Contact

License

MIT

来源:README.md,提交 8f4f595

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.11最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分