Base USDC Payment Verifier (x402)
Verify a Base tx is a confirmed native-USDC transfer to a recipient. Paid via x402, 0.01 USDC/call.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"base-usdc-verifier": {
"url": "https://x402-usdc-verify.onrender.com/mcp"
}
}
}远程端点
https://x402-usdc-verify.onrender.com/mcpstreamable-http它能做什么
工具清单
工具(2)
🟢get_pricing
Free. Returns the x402 price, network, USDC asset, payTo address and facilitator for the paid verify_usdc_payment tool.
输入模式
{
"type": "object",
"properties": {}
}🟢verify_usdc_payment(chain, txHash, expectedTo, expectedAmount, expectedAmountAtomic, ...)
Verify a Base (mainnet, default) or Base Sepolia transaction is a successful, confirmed transfer of native Circle USDC (not a look-alike token) to an expected recipient for an exact or minimum amount. Checks receipt status, canonical block, confirmations, optional payer, notBefore/maxAge windows; returns verdict valid|invalid|pending|not_found with machine-readable reasons and the matched Transfer log. Not charged on 4xx/5xx errors. PAID: 0.01 USD in USDC per successful call via x402 (eip155:8453). Malformed input is rejected before payment.
输入模式
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"enum": [
"base",
"base-sepolia"
],
"description": "Chain of the tx being verified (default base)"
},
"txHash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "0x-prefixed 32-byte transaction hash"
},
"expectedTo": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Recipient that must receive USDC"
},
"expectedAmount": {
"type": "string",
"description": "Decimal USDC, max 6 decimals, e.g. \"0.10\" (or expectedAmountAtomic)"
},
"expectedAmountAtomic": {
"type": "string",
"description": "Integer atomic units (1 USDC = 1000000)"
},
"amountMatch": {
"type": "string",
"enum": [
"exact",
"atLeast"
],
"description": "exact (default) or atLeast"
},
"expectedFrom": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Optional required payer"
},
"minConfirmations": {
"type": "integer",
"minimum": 1,
"maximum": 10000,
"description": "Default 3"
},
"notBefore": {
"type": "integer",
"description": "Unix seconds; reject txs mined earlier (anti-replay)"
},
"maxAgeSeconds": {
"type": "integer",
"description": "Reject txs older than this many seconds"
}
},
"required": [
"txHash",
"expectedTo"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据