
X402 Trust Mcp
io.github.JonasFuchss由 GitHub 账号 JonasFuchss 发布v1.16.0更新于 Oct 24, 2026
Discover x402 endpoints and check their trust score before your agent pays them.
概览
让助手搜索 x402 端点目录,并在付款前查询端点信任评分的 MCP 服务器。
- 可以做什么
- 按关键词或语义搜索、发现 x402 端点,并查看生态统计、信任排行榜和已验证提供方
- 获取单个端点的完整信任结论(评分、等级、建议、价格、标记),未知端点会即时探测
- 查看某端点 1 至 90 天的原始探测与事件历史
- 查找评分更高的语义相似端点,或一次批量评分最多 500 个端点
- 创建、轮询、修改、取消和续订 30 天端点监控,对 payTo 或价格变动、下架、规范回退和宕机发出告警
- 适用场景
- 适合在智能体即将向某个 x402 端点付款前先做可审计的信任核查,或需要按能力发现 x402 服务并在投入资金前比较候选端点时使用。
- 运行要求
- 通过 npx 在本地运行(需 Node.js)。免费工具无需任何配置。付费工具需在 X402_PRIVATE_KEY 中提供有余额的 Base USDC 钱包私钥以自动付款,否则只返回价格报价由宿主支付。可选上限:X402_MAX_USD、X402_MAX_TOTAL_USD、X402_MAX_CALLS,以及 X402_TIMEOUT_MS、X402_TRUST_API_BASE、X402_BASE_RPC_URL。需能访问 x402-trust API 和 Base RPC。
安装
在 SourceWeft 中
- 打开 控制台中的 X402 Trust Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
x402-trust-mcp
An MCP server for discovering x402 endpoints and checking their trust before paying them: semantic and keyword search across the monitored catalog, plus trust scores, history, bulk scoring, and watches for any endpoint.
Backed by x402-trust.com, which monitors the x402 ecosystem on Base and Solana 24/7: uptime probes, 402-envelope spec compliance, price history, and real on-chain USDC settlement volume per endpoint. Every score is computed deterministically, no LLM involved, so the breakdown is fully auditable.
Tools
Paid tools cost from $0.005 (single lookup) to ~$0.50 (500-endpoint
bulk), charged over x402 (USDC on Base). With X402_PRIVATE_KEY set the server
auto-pays within your limits; otherwise it returns the price quote for your
host to pay. List tools page with limit (max 25) + offset and return a
total.
Field-level documentation, verdict semantics, watch cursor rules and webhook signature details live at x402-trust.com/llms.txt; every response is self-describing via its schema at x402-trust.com/schemas.
Install
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):
To enable autonomous payment for the paid tools, add a funded Base USDC wallet:
Configuration (env vars)
The free tools work with no configuration at all.
Security
X402_PRIVATE_KEY is a hot wallet: fund it with only what you are willing to
spend on trust lookups. The key never leaves your machine; it signs EIP-3009
payment authorizations locally, after policy checks: chain allow-list (Base
mainnet by default), canonical USDC contract verification, and the spend and
call-count caps above. Before every payment the client re-reads the wallet's
USDC balance: a wallet that cannot cover the quote is refused locally, before
anything is signed, so an empty wallet never produces failed settlement
attempts, and a top-up takes effect on the very next call.
Response signatures
Signed tool results carry a top-level signature block: an Ed25519 signature
over the JCS-canonicalized (RFC 8785) response. It proves the content was
assembled by x402-trust and not modified afterwards.
One rule matters when verifying: pin the trust anchor, never follow it from
the response. signature.publicKeys is a discovery hint; a forged response
would point at the attacker's own key document and still verify. Pin the public
key itself or fetch https://x402-trust.com/.well-known/x402-trust-keys.json
once at bootstrap and cache it. A worked test vector and a 20-line reference
verifier live at x402-trust.com/schemas.
Watch management responses are unsigned by design: they carry capability
secrets that must never be forwarded as evidence.
License
MIT
来源:README.md,提交 7c59676
工具
0版本历史
4- v1.16.0最新Oct 15, 2026
- v1.15.0Oct 5, 2026
- v1.14.0Oct 1, 2026
- v1.13.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分