Base USDC Receivables Auditor
Dual-RPC Base USDC receivables reconciliation with safe finality and fail-ambiguous matching.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"base-usdc-receivables-auditor": {
"url": "https://base-usdc-receivables-auditor-003.qqqa16521-dce.workers.dev/mcp"
}
}
}远程端点
https://base-usdc-receivables-auditor-003.qqqa16521-dce.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢get_service_info
Free overview of the Base USDC Receivables Auditor, including dual-RPC safe-finality policy, fail-ambiguous matching, scan limits and the per-batch credit cost.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}输出模式
{
"type": "object",
"properties": {
"service": {
"type": "string"
},
"experiment": {
"type": "string"
},
"network": {
"type": "string"
},
"chainId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"asset": {
"type": "string"
},
"reconciliationPolicy": {
"type": "object",
"properties": {
"rpcQuorum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"finality": {
"type": "string"
},
"failAmbiguous": {
"type": "boolean"
},
"maxExpectedReceivables": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"maxScanBlocks": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"serverSigning": {
"type": "boolean"
}
},
"required": [
"rpcQuorum",
"finality",
"failAmbiguous",
"maxExpectedReceivables",
"maxScanBlocks",
"serverSigning"
],
"additionalProperties": false
},
"reconciliationCostCredits": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"service",
"experiment",
"network",
"chainId",
"asset",
"reconciliationPolicy",
"reconciliationCostCredits"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_payment_info
Free instructions for buying this service's prepaid credits with direct native Base USDC. The funding transfer is separate from receivables being audited.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}输出模式
{
"type": "object",
"properties": {
"scheme": {
"type": "string"
},
"network": {
"type": "string"
},
"chainId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"asset": {
"type": "string"
},
"assetDecimals": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"receiver": {
"type": "string"
},
"packages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amountAtomic": {
"type": "string"
},
"credits": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"amountAtomic",
"credits"
],
"additionalProperties": false
}
},
"reconciliationCostCredits": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"reconciliationCredits": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"buyerPaysGas": {
"type": "boolean"
},
"facilitatorRequired": {
"type": "boolean"
},
"x402Compatible": {
"type": "boolean"
},
"purchasePath": {
"type": "string"
},
"redeemFlow": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"scheme",
"network",
"chainId",
"asset",
"assetDecimals",
"receiver",
"packages",
"reconciliationCostCredits",
"reconciliationCredits",
"buyerPaysGas",
"facilitatorRequired",
"x402Compatible",
"purchasePath",
"redeemFlow"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_credit_balance
Check the remaining prepaid credits for the bearer token configured on this MCP connection. This call is free and does not consume credits.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}输出模式
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"type": "object",
"properties": {
"credits": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"credits"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"error": {
"type": "string"
}
},
"required": [
"error"
],
"additionalProperties": false
}
]
}🔴reconcile_usdc_receivables(receiver, fromBlock, toBlock, expected)
Scan a bounded Base Mainnet block range for native Circle USDC transfers into one receiver, require exact agreement from two public RPCs at safe finality, and compare them with up to 25 expected receivables. Returns matched, missing, underpaid, overpaid, wrong-sender, late, duplicate and needs-review exceptions without fuzzy guessing. Costs 10 credits; RPC or unsafe-range failures refund the charge.
输入模式
{
"type": "object",
"properties": {
"receiver": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"fromBlock": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,19})$"
},
"toBlock": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,19})$"
},
"expected": {
"minItems": 1,
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"payer": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"amountAtomic": {
"type": "string",
"pattern": "^[1-9][0-9]{0,77}$"
},
"notAfterBlock": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,19})$"
}
},
"required": [
"id",
"payer",
"amountAtomic"
]
}
}
},
"required": [
"receiver",
"fromBlock",
"toBlock",
"expected"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}输出模式
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"type": "object",
"properties": {
"assured": {
"type": "boolean",
"const": true
},
"report": {
"type": "object",
"properties": {
"receiver": {
"type": "string"
},
"fromBlock": {
"type": "string"
},
"toBlock": {
"type": "string"
},
"safeBlockNumber": {
"type": "string"
},
"rpcAgreement": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"observedTransferCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"matched",
"missing",
"underpaid",
"overpaid",
"wrong_sender",
"late_payment",
"duplicate_payment",
"needs_review"
]
},
"expectedPayer": {
"type": "string"
},
"expectedAmountAtomic": {
"type": "string"
},
"notAfterBlock": {
"type": [
"string",
"null"
]
},
"reason": {
"type": "string"
},
"transfers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"txHash": {
"type": "string"
},
"logIndex": {
"type": "string"
},
"blockNumber": {
"type": "string"
},
"blockHash": {
"type": "string"
},
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"amountAtomic": {
"type": "string"
}
},
"required": [
"txHash",
"logIndex",
"blockNumber",
"blockHash",
"from",
"to",
"amountAtomic"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"status",
"expectedPayer",
"expectedAmountAtomic",
"notAfterBlock",
"reason",
"transfers"
],
"additionalProperties": false
}
},
"unknownIncoming": {
"type": "array",
"items": {
"type": "object",
"properties": {
"txHash": {
"type": "string"
},
"logIndex": {
"type": "string"
},
"blockNumber": {
"type": "string"
},
"blockHash": {
"type": "string"
},
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"amountAtomic": {
"type": "string"
}
},
"required": [
"txHash",
"logIndex",
"blockNumber",
"blockHash",
"from",
"to",
"amountAtomic"
],
"additionalProperties": false
}
},
"summary": {
"type": "object",
"properties": {
"matched": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"missing": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"underpaid": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"overpaid": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"wrong_sender": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"late_payment": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"duplicate_payment": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"needs_review": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unknown_incoming": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"matched",
"missing",
"underpaid",
"overpaid",
"wrong_sender",
"late_payment",
"duplicate_payment",
"needs_review",
"unknown_incoming"
],
"additionalProperties": false
}
},
"required": [
"receiver",
"fromBlock",
"toBlock",
"safeBlockNumber",
"rpcAgreement",
"observedTransferCount",
"items",
"unknownIncoming",
"summary"
],
"additionalProperties": false
},
"creditsRemaining": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"assured",
"report",
"creditsRemaining"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"status": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"creditsRemaining": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"error",
"status",
"creditsRemaining"
],
"additionalProperties": false
}
]
}社区
证据