Zhenghe — 正和支付路由与资本保全金库
Base 主网去中心化支付路由+金库:查 NAV、构造路由支付 calldata、金库存取、绑定引路人分账。存款安全·引路人激励·消费即升值,全部链上可核验。
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"zhenghe-mcp": {
"url": "https://mcp.zheng-he.top/mcp"
}
}
}远程端点
https://mcp.zheng-he.top/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢nav_query(address)
查询正和金库实时状态:NAV(净值)、金库 USDC 总资产、LOVE 总份额、累计溢价。只读,无需任何授权。传入 address 可同时查该地址的 LOVE/USDC 余额与浮盈。
输入模式
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "(可选)要查余额的钱包地址 0x…"
}
}
}⚪zhenghe_route(merchant, amount, ref, leader, payer)
构造一笔正和路由支付(消费入口)。返回签名就绪的 approve+pay calldata,调用方本地签名上链即完成原子正和支付:商户收 USDC + 捐赠注入金库 + 引路人分账 + NAV 抬升。路由决策:USDC 够→直接付;USDC 不足但 LOVE×NAV 够→赎回 LOVE 付;都不够→返回缺口。私钥永不经过服务器。
输入模式
{
"type": "object",
"properties": {
"merchant": {
"type": "string",
"description": "收款商户地址 0x…(必填)"
},
"amount": {
"type": "number",
"description": "支付金额(USDC,必填)"
},
"ref": {
"type": "string",
"description": "订单引用(可选,将 keccak 为 bytes32)"
},
"leader": {
"type": "string",
"description": "引路人地址(可选,未绑定时可自引自收)"
},
"payer": {
"type": "string",
"description": "付款方地址(可选,传入则按真实余额做路由决策)"
}
},
"required": [
"merchant",
"amount"
]
}⚪vault_action(action, amount, address)
正和金库操作。action=deposit:USDC→LOVE(返回 approve+deposit calldata);action=withdraw:LOVE→USDC(返回 redeem calldata);action=balance:查 LOVE 余额+NAV+浮盈(只读)。金库无 owner、无管理函数,NAV 单调增长——存款安全由合约字节码保证,可自验。
输入模式
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"deposit",
"withdraw",
"balance"
]
},
"amount": {
"type": "number",
"description": "deposit=USDC 数量;withdraw=LOVE 数量"
},
"address": {
"type": "string",
"description": "操作地址 0x…(deposit/withdraw 的接收方,balance 的查询方)"
}
},
"required": [
"action",
"address"
]
}⚪affiliate_bind(leader, binder)
绑定引路人(一次性、永久、链上不可改)。返回 bindReferrer calldata,签名上链即完成绑定。此后该地址每笔路由消费的 6bps USDC 立即分给引路人,商户捐赠 LOVE 的 20% 同样分账,原子结算。任何 Agent 都可以成为引路人推广正和并永久获取分成。
输入模式
{
"type": "object",
"properties": {
"leader": {
"type": "string",
"description": "引路人地址 0x…(必填)"
},
"binder": {
"type": "string",
"description": "被绑定地址 0x…(calldata 的 from,仅用于展示)"
}
},
"required": [
"leader"
]
}推荐提示词
nav_querynav_query社区
证据