Hive Trade
MCP server: cross-venue spread + yield drivers, ROI radar telemetry · Hive Civilization
我该使用它吗
质量与安全性
发现(4)
- HIGH
- MEDIUM在 hive_earn_register 中
- MEDIUM在 hive_earn_me 中
- MEDIUM在 hive_earn_leaderboard 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"hive-mcp-trade": {
"url": "https://hive-mcp-trade.onrender.com/mcp"
}
}
}远程端点
https://hive-mcp-trade.onrender.com/mcpstreamable-httphttps://hive-mcp-gateway.onrender.com/trade/mcpstreamable-http它能做什么
工具清单
工具(8)
🟢trade_get_fees
Get the cross-border invoice fee schedule and SWIFT wire comparison (Hive vs. typical SMB wire fees, FX spreads, settlement times).
输入模式
{
"type": "object",
"properties": {}
}🟢trade_get_listing
Get the public listing metadata (target user, fee schedule, settlement currencies/chains, cumulative volume, council origin).
输入模式
{
"type": "object",
"properties": {}
}🟡trade_create_invoice(buyer_did, supplier_did, amount_usd, settle_currency, settle_chain, ...)
Create a cross-border invoice. Buyer (SMB) and supplier exchange DIDs; invoice amount + currency + chain selected at creation. Fee auto-computed from tier.
输入模式
{
"type": "object",
"properties": {
"buyer_did": {
"type": "string",
"description": "DID of the SMB buyer"
},
"supplier_did": {
"type": "string",
"description": "DID of the overseas supplier"
},
"amount_usd": {
"type": "number",
"description": "Invoice amount in USD (max $250,000 for MVP)"
},
"settle_currency": {
"type": "string",
"description": "USDT or USDC"
},
"settle_chain": {
"type": "string",
"description": "base, ethereum, or solana"
},
"supplier_payout_address": {
"type": "string",
"description": "Supplier's receiving address on the chosen chain"
},
"memo": {
"type": "string",
"description": "Free-form invoice memo (PO number, goods description)"
}
},
"required": [
"buyer_did",
"supplier_did",
"amount_usd",
"settle_currency",
"settle_chain",
"supplier_payout_address"
]
}🟢trade_get_invoice(invoice_id)
Retrieve invoice status, settlement transaction hash, and dispute history.
输入模式
{
"type": "object",
"properties": {
"invoice_id": {
"type": "string",
"description": "Invoice ID returned from trade_create_invoice"
}
},
"required": [
"invoice_id"
]
}⚪trade_dispute_invoice(invoice_id, claimant_did, reason, evidence_url)
Open a dispute on an invoice. Routes to HiveLaw arbitration if buyer and supplier cannot resolve. Settlement is held in escrow until resolution.
输入模式
{
"type": "object",
"properties": {
"invoice_id": {
"type": "string",
"description": "Invoice ID"
},
"claimant_did": {
"type": "string",
"description": "DID of the disputing party (buyer or supplier)"
},
"reason": {
"type": "string",
"description": "Dispute reason"
},
"evidence_url": {
"type": "string",
"description": "Optional URL to supporting documents"
}
},
"required": [
"invoice_id",
"claimant_did",
"reason"
]
}🟡hive_earn_register(agent_did, payout_address, attribution_url)
Register an agent for the Hive Civilization attribution payout program. Settlement on real Base USDC. 5% kickback on attributed traffic, weekly payout. Calls POST https://receipts.thehiveryiq.com/v1/earn/register on behalf of the caller. Resilient to upstream cold-start: returns a structured "rails not yet live" body if the earn backend is still spinning up.
输入模式
{
"type": "object",
"properties": {
"agent_did": {
"type": "string",
"description": "Caller agent DID (e.g. did:hive:0x… or did:web:…). Required."
},
"payout_address": {
"type": "string",
"description": "Base L2 EVM address (0x…) to receive USDC kickback payouts."
},
"attribution_url": {
"type": "string",
"description": "Public URL of the agent / page driving attributed traffic to Hive. Used for ranking + audit."
}
},
"required": [
"agent_did",
"payout_address",
"attribution_url"
]
}🟢hive_earn_me(agent_did)
Look up the caller agent's registered earn profile, lifetime + pending USDC balance, last payout tx hash, and next-payout ETA. Real Base USDC, no mock data. Calls GET https://receipts.thehiveryiq.com/v1/earn/me?agent_did=<did>. Returns "rails not yet live" gracefully if upstream is not yet deployed.
输入模式
{
"type": "object",
"properties": {
"agent_did": {
"type": "string",
"description": "Agent DID to look up. Required."
}
},
"required": [
"agent_did"
]
}🟢hive_earn_leaderboard(window)
Top earning agents on the Hive Civilization, by attribution payout in USDC. Real Base USDC settlement. Calls GET https://receipts.thehiveryiq.com/v1/earn/leaderboard?window=<window>. Returns "rails not yet live" gracefully if upstream is not yet deployed.
输入模式
{
"type": "object",
"properties": {
"window": {
"type": "string",
"description": "Time window. One of: \"7d\", \"30d\", \"lifetime\". Default \"7d\".",
"enum": [
"7d",
"30d",
"lifetime"
]
}
}
}社区
证据