x402 Micropayments MCP

io.github.kwizzlesurp10-ctrl由 GitHub 账号 kwizzlesurp10-ctrl 发布v1.30.0更新于 Oct 24, 2026

Pay-per-call US city property compliance and Base tx checks, paid in USDC on Base via x402.

已验证Streamable HTTP可网页运行位置与生活金融商业与电商

概览

AI 生成的概览

一个用于 x402 微支付的远程 MCP 服务器:发现付费 HTTP API、查看价格、用 USDC 付款,并出售或结算付费资源。

可以做什么
发现并查看 x402 付费 API 与 A2A 代理卡片,在不花钱的情况下探测 URL 的付款条款。用 USDC 支付受保护的 HTTP 资源,并验证买方的付款签名。构建卖方付款要求,把自己的端点登记到 Bazaar。购买 Pro 配额或按次工具点数,并运行研究蜂群,上架和结算组合产品并报告收入。查询 Base 网络费用、主机遥测,以及付费的美国城市房产合规查询。
适用场景
当助手需要调用 x402 付费墙后的 API、为自己的资源收费或结算付款,或执行付费的美国城市房产合规查询时使用。适合试验代理间付费服务与微支付经济模型的场景。
运行要求
远程 streamable HTTP 端点;未声明本地运行时或账户。为资源付款需要在主机上设置 EVM_PRIVATE_KEY,并准备在 Base、Solana 或 Arbitrum 等受支持网络上有 USDC 的钱包。需要能访问该端点和 x402 facilitator 的网络。
安装前请注意
pay_and_fetch 会花费真实 USDC,并需要主机上的 EVM_PRIVATE_KEY(钱包私钥)。多个工具会花钱:city.check 每次 0.01 美元、Pro 配额、工具点数,以及允许付费输入的研究蜂群。卖方工具会构建付款要求并结算买方付款、记录收入。主机遥测和外部代理卡片来自第三方。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "x402-micropayments": {
      "type": "http",
      "url": "https://x402-mcp.onrender.com/mcp/mcp"
    }
  }
}

README

该仓库没有 README。

工具

20

x402.agent_card

A2A Agent ID Card

Return the A2A Protocol v1.0 Agent ID Card and MCP server card. Optional target_id filters to a skill id, name, or tag.

输入参数agent_idtarget_id

x402.discover

Discover x402 services

Discover paid HTTP APIs in the x402 Bazaar via the facilitator catalog. Call this first to find a resource URL, then x402.probe and x402.pay_and_fetch.

输入参数limitqueryagent_idmax_price_usdc

x402.probe

Probe x402 payment requirements

Probe a URL for HTTP 402 PAYMENT-REQUIRED terms using the x402 client SDK. Use before x402.pay_and_fetch to inspect price, network, and payTo without spending.

输入参数url必填methodheadersagent_id

x402.pay_and_fetch

Pay and fetch x402 resource

Pay USDC via x402 and fetch a protected HTTP resource in one call. Requires EVM_PRIVATE_KEY on this host; otherwise use x402.probe for a no-spend 402.

输入参数url必填bodymethodheadersagent_idmax_price_usdcpreferred_network

x402.build_seller

Build seller payment requirements

Build seller-side x402 payment requirements for your own HTTP resource. Pass resource_url plus discovery_* fields to catalog the endpoint in Bazaar.

输入参数pricepay_toschemenetworkagent_idmime_typedescriptiondiscoverableresource_urldiscovery_methoddiscovery_input_examplediscovery_output_example

x402.verify

Verify x402 payment signature

Verify an x402 PAYMENT-SIGNATURE against PAYMENT-REQUIRED terms via the facilitator. Call after a buyer presents a signature and before releasing paid content.

输入参数agent_idpayment_required必填payment_signature必填

x402.networks

List x402 networks

List supported settlement networks, facilitators, and x402 v2 header names. Call when choosing a preferred_network for x402.pay_and_fetch or x402.build_seller.

输入参数agent_id

commerce.pro_requirements

Build Pro-tier payment requirements

Build x402 payment requirements to purchase the Pro quota tier. Next: pay those terms, then commerce.activate_pro with the signature.

输入参数agent_id

commerce.activate_pro

Activate Pro tier

Verify a Pro-tier x402 payment and unlock Pro quota limits for the agent. MCP-native: call without payment to receive x402 requirements in the tool result, then retry with _meta['x402/payment'] (@x402/mcp client). Legacy: pass PAYMENT-SIGNATURE + PAYMENT-REQUIRED after commerce.pro_requirements.

输入参数agent_idpayment_requiredpayment_signature

commerce.credits_requirements

Build tool-credit payment requirements

Build x402 payment requirements to buy a pack of per-use MCP tool credits. Next: pay those terms, then commerce.purchase_credits with the signature.

输入参数creditsagent_id

commerce.purchase_credits

Purchase tool credits

Verify an x402 payment and add per-use tool credits to the agent. MCP-native: call without payment for x402 requirements, then retry with _meta['x402/payment']. Legacy: PAYMENT-SIGNATURE + PAYMENT-REQUIRED after commerce.credits_requirements.

输入参数creditsagent_idpayment_requiredpayment_signature

swarm.research

Run swarm research

Run the swarm agency: compose a research product from free inputs and list it for resale. Pass allow_paid_inputs=true only when buying upstream x402 services is intended.

输入参数topic必填agent_idmax_price_usdcallow_paid_inputs

swarm.settle

Settle composite sale

Verify and settle a buyer's x402 payment for a listed composite product and record revenue. Call with product_id plus PAYMENT-SIGNATURE after the buyer pays.

输入参数agent_idproduct_id必填payment_required必填payment_signature必填

swarm.revenue

Swarm revenue report

Get swarm composite economics: spend, composite sales, LTV:CAC, margins, per-source scores. total_revenue_usdc is swarm listings only; storefront.revenue_usdc is the full settled ledger. Call after swarm.research or swarm.settle to inspect realized economics.

输入参数agent_id

pulse.base

Base network pulse

Get live Base Network Pulse: base fee, EIP-1559 projection, utilization, USD settlement cost, verdict. Call before settling on Base when you need a settle-now vs hold recommendation.

输入参数depthagent_id

ops.metrics

Host OS metrics

Get host OS telemetry: CPU, memory, swap, disk, network, and an ok/warn/critical health verdict. Call to diagnose this MCP host; set include_processes=true for top memory processes.

输入参数agent_idinclude_processes

city.list

List US compliance cities

List US City Open-Data Compliance Network cities with paid_url, sample_url, and price. Call first, then city.sample, then city.check for the paid address lookup.

输入参数agent_id

city.sample

US city property sample

Get a free fixed-address property compliance sample for one US city code. Use before city.check to validate city_code and response shape without paying.

输入参数agent_idcity_code必填

city.check

Paid US city property check

Paid US city property compliance check (MCP seller x402). Unpaid calls return PaymentRequired with accepts; pay via _meta['x402/payment']. Prefer city.sample first. Price: $0.01 per call (x402, USDC on Base/Solana/Arbitrum).

输入参数address必填agent_idcity_code必填max_price_usdcpreferred_network

a2a.resolve_card

Resolve external A2A Agent Card

Discover and inspect an external Agent-to-Agent (A2A) node by domain or URL. Fetches .well-known/agent-card.json, validates protocol compatibility, checks for a2a-x402 and AP2 payment extensions, and extracts callable skills with pricing.

输入参数target必填agent_id

版本历史

2
  1. v1.30.0最新Oct 17, 2026
  2. v0.1.0Sep 16, 2026

评分

已满足适用检查项的 75%

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

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

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

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。