X402 Audit Mcp

io.github.robertoyanguas-ops由 GitHub 账号 robertoyanguas-ops 发布v1.1.1更新于 Oct 24, 2026

Audits any URL for HTTP 402 x402 V2 compliance, PAYMENT-REQUIRED headers, Bazaar schema, and MCP.

发布方自己的服务:audit.domains - Domain Valuation

已验证Streamable HTTP可网页运行开发者工具安全与监控

概览

AI 生成的概览

审计任意 URL 是否符合 HTTP 402 x402 V2 规范、PAYMENT-REQUIRED 头、Bazaar schema 以及 MCP。

可以做什么
这是一个远程 MCP 服务器,接收一个 URL 并检查其 HTTP 402 x402 V2 合规性。它会检查 PAYMENT-REQUIRED 头、验证 Bazaar schema,并检查端点的 MCP 相关方面。返回的审计报告可帮助助手判断某个付费 API 或服务是否符合预期的 x402 约定。
适用场景
当你需要在集成前确认某个付费 API、端点或服务是否正确实现 x402 V2 支付要求时使用。它也适合检查某个 URL 的 Bazaar schema 和 MCP 合规性。
运行要求
远程 streamable HTTP 端点;未声明软件包、账户、API 密钥或请求头。助手需要能访问所提供 URL 的网络。
安装前请注意
该服务器会把你提供的 URL 发送到第三方远程服务进行审计。不要提交包含密钥、令牌或私有查询参数的 URL。

安装

在 SourceWeft 中

  1. 打开 控制台中的 X402 Audit Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.robertoyanguas-ops%2Fx402-audit-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "x402-audit": {
      "type": "http",
      "url": "https://x402-audit-72343955726.us-central1.run.app/mcp/x402-audit"
    }
  }
}

工具

2

audit_x402_and_a2a_endpoint

Audit x402 and a2a endpoint

Audits any remote agent or MCP URL for JSON-RPC compliance, latency SLA, OpenAPI schema, and HTTP 402 settlement headers. WHEN TO USE: Call `audit_x402_and_a2a_endpoint` when your task requires deterministic `x402-audit` analysis for `url`; use `get_agent_wallet_status` to check your remaining free trial quota or prepaid balance. WHEN NOT TO USE: Do not use for unrelated domains or binary media. PARAMETER INTERACTIONS: Pass the target `url` as a non-empty string; omit `agent_id` and `tx_hash` during your 5 free trial calls, or supply `agent_id` (`agd_pass_...`) / `tx_hash` for paid execution. Read-only and idempotent; results are cached for 1 hour (<5ms cache hit). $0.01 per call. Pricing: the first 5 calls per agent_id are free and failed calls are never charged. After 5 calls, the tool returns a payment-required quote (not a fatal error) with a $2 Stripe top-up link and Base/Solana USDC addresses; complete payment, then retry with your agd_pass_ key in agent_id or pass tx_hash. Example: audit_x402_and_a2a_endpoint(url='https://docs.stripe.com/api')

输入参数url必填tx_hashagent_id

get_agent_wallet_status

Get agent wallet status

Inspect an agent's account ledger: remaining free trial calls (out of 5), prepaid USD balance, cumulative spend, total API calls, and total LLM tokens saved. WHEN TO USE: Call before a batch of paid tool executions or after completing a Stripe or USDC top-up to confirm your balance. WHEN NOT TO USE: Do not use to process web content, execute marketplace tools, or submit payments; use the other tools on this server for execution. PARAMETER INTERACTIONS: Omit agent_id to inspect the default trial account derived from your client IP, or pass your explicit agent_id or agd_pass_ session key to check a specific funded wallet. Free and read-only: never charges a fee or consumes a free trial call. Example: get_agent_wallet_status(agent_id='example')

输入参数agent_id

版本历史

2
  1. v1.1.1最新Oct 13, 2026
  2. v1.0.0Oct 13, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。

其他 Audit 集成