
TensorFeed x402 Base Reader
ai.tensorfeed由 tensorfeed.ai 發布v0.2.1更新於 Oct 24, 2026
Read-only Base mainnet reader. Verifies x402 payment settlements + AFTA federation status.
發布方自己的服務:TensorFeed
概覽
一個唯讀的 Base 主網讀取器,讓助理在鏈上驗證 x402 USDC 付款結算、解析發布者的 x402 清單,並檢查 AFTA 聯邦狀態。
- 可以做什麼
- 讀取 Base 鏈上狀態:ETH 與 USDC 餘額、最新區塊編號、交易收據、唯讀合約呼叫,以及某地址近期的 USDC 轉帳。驗證 x402 付款:檢查某筆交易的 USDC Transfer 事件是否符合預期的收款方與金額,並列出轉給商家地址的 USDC 付款。檢查 x402 端點:取得某網域的 well-known x402 清單、探測某網址是否回傳標準的付費 402 回應,並離線解碼 base64 的 X-PAYMENT 標頭。查詢 TensorFeed 相關資料:AFTA 聯邦狀態與成員清單、TensorFeed 錢包付款查詢,以及發布者的可用性健康度。
- 適用情境
- 當助理需要獨立確認某筆 x402 付款確實已在 Base 上結算,而不是只信任商家收據時使用;也適合在付款前審查發布者的 x402 清單與端點。適用於不需要錢包或簽章的唯讀驗證流程。
- 執行需求
- 透過 npx 從 npm 套件在本機執行,需要 Node.js。預設使用公開的 Base RPC 端點;可選設定 TENSORFEED_RPC_URL 為白名單內的 Alchemy 或 Infura 端點以取得更高的速率上限。需要能連線 Base 網路及被探測的網域。不需要帳號或私鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 TensorFeed x402 Base Reader,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@tensorfeed/x402-base-mcp
Read-only MCP server for verifying x402 USDC settlements on Base mainnet. Drop it into any MCP-compatible agent (Claude Desktop, Claude Code, Cursor, ChatGPT) to independently audit x402 payment receipts on-chain, parse publisher .well-known/x402 manifests, and check AFTA federation status. No private keys, no signing, no broadcasts.
Relationship to Coinbase Base MCP
Coinbase shipped Base MCP (the official mcp.base.org server, launched May 2026) as the transact-side MCP: it connects an agent to a Base Account and lets the agent propose swaps, transfers, and x402 payments that the user approves in-wallet.
This package, @tensorfeed/x402-base-mcp, is the verify-side MCP. Once an x402 payment has been made (by Base MCP, by a server-side @coinbase/x402 middleware, or by any other x402 client), this server lets the calling agent independently check the on-chain settlement, parse the publisher's /.well-known/x402 manifest, and audit the receipt. Read-only chain visibility, no wallet.
The two are complementary, not competing. Use Base MCP to pay. Use this MCP to verify.
Why a separate verify MCP
x402 is a payment protocol where agents pay merchants in USDC on Base for paid API responses. When an agent receives a payment receipt back, it has two options for confirming that the settlement actually happened the way the receipt claims:
- Trust the merchant
- Read the on-chain Transfer event itself
Most existing EVM MCP servers either require a private key (so the agent can also send transactions, which is operationally risky and unnecessary for verification), or are generic multi-chain readers that don't speak x402. This server is the read-only, x402-aware option. Drop it into a Claude Desktop or Claude Code session and any agent can verify x402 payments without operating a wallet.
The TensorFeed-flavor tools (verify_afta_federation, tf_payment_lookup) compose the same primitives against TF's canonical surfaces and demonstrate the pattern. Use them or ignore them; the generic tools work fine on their own.
Installation
Claude Desktop
Add to claude_desktop_config.json:
Claude Code
Optional: bring your own RPC
The server defaults to the public Base RPC (https://mainnet.base.org), which is fine for casual use. For heavier workloads, set an Alchemy or Infura URL via TENSORFEED_RPC_URL. The URL must match the allowlist in src/rpc/allowlist.ts; anything else falls back to the public endpoint and logs a warning to stderr.
Affiliate links if you don't already have an account:
- Alchemy: https://www.alchemy.com/
- Infura: https://www.infura.io/
Tools
Generic Base reads
x402-native verification
TensorFeed flavor
Examples
Verify an x402 settlement (works on TensorFeed's first canonical V2 payment):
Inspect a publisher's x402 manifest:
Check AFTA certification:
Threat model
Read-only chain-visibility MCP. The full picture is in SECURITY.md; the short version:
- No private keys, no signing, no broadcasts. The server cannot move funds.
- Input validators on every tool reject malformed inputs (bad checksums, malformed hashes, URL-shaped domains, private/loopback hostnames).
- Output sanitization strips C0/C1 control characters and zero-width / direction-override marks from every string returned to the calling agent.
- External strings carry an
_origin: "external"marker so the calling agent knows the value came from a third party. - 50 KB response cap on serialized tool output; oversized responses collapse to a structured stub.
- RPC allowlist limits self-hosters to known endpoints; arbitrary URLs are rejected and fall back to public Base RPC.
- No telemetry, no phone-home, no analytics.
- Provenance: npm releases are published via GitHub Actions OIDC with cryptographic provenance attestations. Verify with
npm audit signatures.
Report security issues to [email protected]. Please do not file a public issue or CVE for an unfixed vulnerability.
License
MIT
Related
- Coinbase Base MCP - the official transact-side MCP for Base. Pair with this package for a full pay + verify loop: Base MCP signs the x402 payment, this package independently confirms the settlement on-chain.
- @tensorfeed/mcp-server - companion package, the TensorFeed data MCP (news, status, models, benchmarks, premium endpoints). Complementary role: this server verifies x402 payments on-chain; mcp-server wraps the TF data API as MCP tools.
- TensorFeed - AI ecosystem data layer
- TensorFeed developers - free + premium API for AI agents
- Agent Fair-Trade Agreement (AFTA) - open standard for honest agent commerce
- x402 spec - the payment protocol this MCP verifies
來源:README.md,提交 7653522
工具
0版本歷史
1- v0.2.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分