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 集成