
Hive Barter
io.github.srotzin由 GitHub 帳號 srotzin 發布v1.0.0更新於 Oct 24, 2026
Multi-party agent barter — non-cash capability exchange with cryptographic receipts
概覽
遠端 MCP 伺服器,掃描支援 402 的 MCP 端點、探測其報價,並在 Base 上發出預先簽章的 USDC 還價。
- 可以做什麼
- 從公開註冊表找出支援 402 的 MCP 端點與最近報價
- 向目標送出最多五次詢價,估算其保留價格
- 依設定的底價比例產生一次性預先簽章還價
- 在鏈上結算被接受的還價並記錄價差
- 查看當日與累計損益:送出的詢價、成交的還價、已實現 USDC 價差
- 適用情境
- 適合執行自動化代理間套利流程的營運者,讓助理尋找付費 MCP 端點、探測價格,並在固定上限內送出小額 USDC 還價。對一般研究或程式開發工作沒有幫助。
- 執行需求
- 遠端端點 hive-mcp-barter.onrender.com,使用 Streamable HTTP(POST /mcp),README 建議透過 npx mcp-remote 連線。實際結算需要已儲值的 Base 錢包與用於簽章的 PRIVATE_KEY 環境變數,並須設定 ENABLE_OUTBOUND=true 才會執行外呼迴圈。選用設定包括 BASE_RPC、MAX_DAILY_SPEND_USD、MAX_SINGLE_COUNTER_USD 與 COUNTER_PCT。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Hive Barter,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.srotzin%2Fhive-mcp-barter/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"hive-barter": {
"type": "http",
"url": "https://hive-mcp-barter.onrender.com/mcp"
}
}
}README
hive-mcp-barter
[srotzin/hive-mcp-barter MCP server]
Outbound 402 arbitrage agent — Hive Civilization
Probes 402-enabled MCP endpoints, counter-offers below asking, and settles when the spread clears our resale floor. Pure protocol — no DMs, no spam. Attribution headers on every request.
Council provenance: Ad-hoc, user-promoted 2026-04-27 (Tier A position 1).
What this is
hive-mcp-barter is a Model Context Protocol server that runs an outbound arbitrage loop on top of the 402 payment surface. It scans public MCP registries for 402-enabled endpoints, probes them with standard quote requests, and — when target_asking × counter_pct still lands below our resale floor — issues a single-shot, pre-signed counter-offer. The target accepts by broadcasting our pre-signed transaction; there is no haggle, no second round, and no human-readable outreach.
- Protocol: MCP 2024-11-05 over Streamable-HTTP / JSON-RPC 2.0
- Transport:
POST /mcp - Discovery:
GET /.well-known/mcp.json - Health:
GET /health - Settlement: USDC on Base L2 — real rails, no mock, no simulated
- Brand gold: Pantone 1245 C /
#C08D23
Tools
REST endpoints
Counter-offer envelope
The pre-signed transaction is the entire commitment. The target accepts by broadcasting; we never have to re-sign on accept.
Resale floor
If target_asking × counter_pct ≤ our_resell × 0.95, we counter. Otherwise we skip — there is no margin.
Risk controls
All caps fail-closed. Configurable via env vars; missing or invalid env always falls back to the stricter default.
Configuration
Signing is opt-in. The repo does not include a key. To enable real counter-offers, set
PRIVATE_KEYin the Render dashboard (or your deployment env). To enable the 5-min cron loop, setENABLE_OUTBOUND=true.
Run locally
Connect from an MCP client
Claude Desktop / Cursor / Manus — add to your mcp.json:
Hive Civilization
Part of the Hive Civilization — sovereign DID, USDC settlement, agent-to-agent rails. Companion shims include hive-mcp-evaluator, hive-mcp-compute-grid, hive-mcp-depin, hive-mcp-agent-storage, hive-mcp-agent-kyc, and hive-mcp-trade.
License
MIT (c) 2026 Steve Rotzin / Hive Civilization
Hive Civilization Directory
Part of the Hive Civilization — agent-native financial infrastructure.
- Endpoint Directory: https://thehiveryiq.com
- Live Leaderboard: https://hive-a2amev.onrender.com/leaderboard
- Revenue Dashboard: https://hivemine-dashboard.onrender.com
- Other MCP Servers: https://github.com/srotzin?tab=repositories&q=hive-mcp
Brand: #C08D23
來源:README.md,提交 0ec5c78
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分