x402 Pay — USDC API Payment Helper

com.scriptmasterlabs由 scriptmasterlabs.com 發布v1.0.3更新於 Nov 5, 2026

Pay for APIs with USDC. Read-only x402 payment discovery, verification, evidence, and status.

發布方自己的服務:SCRIPTMASTERLABS — B20 Truth

已驗證Streamable HTTP可網頁執行金融開發者工具

概覽

AI 產生的概覽

唯讀的 x402 輔助伺服器,讓助理探索以 USDC 計價的 API 路由、檢視 HTTP 402 付款挑戰並檢查後端狀態,但不會自動付款。

可以做什麼
  • 讀取已記錄的 x402 v2 Base/USDC 設定、收款方與唯讀政策
  • 列出即時 OpenAPI 文件中宣告的付費 API 操作,含方法、路徑、工作與標價
  • 以未簽章的 GET 探測公開 HTTPS 網址的 x402 v2 402 挑戰,回傳 payTo、資產、網路、原子金額與逾時
  • 透過別名工具執行同樣的挑戰探測,供付費呼叫前使用
  • 讀取 SqueezeOS 後端狀態與付款就緒證據,用於排查問題
適用情境
適合在助理需要確認哪些 API 路由需要 USDC 付款、某個端點目前的 x402 挑戰要求為何時使用,通常發生在由人工或獨立錢包流程實際付款之前。它是探索與驗證工具,不是付款執行器。
執行需求
遠端 streamable HTTP 端點;未宣告任何套件、環境變數或請求標頭。助理需要能存取該伺服器,以及它探測的公開 HTTPS 網址(10 秒逾時、不跟隨重新導向)。
安裝前請注意
伺服器聲明自身唯讀且從不自動花費,其工具不簽章、不付款,也不構成結算證明;列出的價格與就緒旗標既不授權付款,也不代表已交付。實際付款需在其他地方完成,結算應另行核實。探測會把目標網址傳送給該遠端伺服器。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 x402 Pay — USDC API Payment Helper,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.scriptmasterlabs%2Fx402-pay/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "x402-pay-usdc-api-payment-helper": {
      "type": "http",
      "url": "https://squeezeos-api.onrender.com/mcp/x402-pay"
    }
  }
}

工具

5

payment_info

Payment Info

Read the documented SML x402 v2 Base/USDC configuration and receiver before selecting a paid route. Returns configuration and a read-only policy. Fresh resource requirements override these hints; this tool does not sign, spend or prove settlement.

無需輸入參數。

list_paid_apis

List Paid Apis

List paid API operations declared by the live SqueezeOS OpenAPI document, bounded by limit. Returns method, path, job and advertised price. Use for route selection, then inspect that resource's fresh 402 challenge; listed prices do not authorize payment.

輸入參數limit

check_payment

Check Payment

Inspect a public HTTPS URL for a fresh x402 v2 HTTP 402 challenge using an unsigned GET with a 10-second network timeout and no redirect following. Returns validated payTo, asset, network, atomic amount, resource and maxTimeoutSeconds; incomplete or non-x402 responses return challenge=null and a reason. Does not sign, settle or verify receipts. Fresh requirements override documented receiver hints; inspect canonical_receiver_match before choosing to pay.

輸入參數url必填

x402_inspect_challenge

X402 Inspect Challenge

Inspect a fresh x402 v2 challenge without sending payment. Compatible alias of check_payment with the same schema, 10-second unsigned probe and result. Use before a paid resource call; do not use as a signer, receipt verifier or settlement proof. Non-402 and incomplete challenges remain null rather than receiving invented defaults.

輸入參數url必填

check_status

Check Status

Read the current SqueezeOS backend status and payment-readiness evidence. Returns both upstream envelopes and autonomous_spend=false. Use to diagnose readiness before purchase; HTTP availability or readiness flags alone do not establish settled or accepted delivery.

無需輸入參數。

版本歷史

4
  1. v1.0.3最新Nov 5, 2026
  2. v1.0.2Nov 1, 2026
  3. v1.0.1Oct 26, 2026
  4. v1.0.0Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Scriptmasterlabs 整合