
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 分