Hive Openclaw Bridge

io.github.srotzin由 GitHub 帳號 srotzin 發布v1.0.0更新於 Oct 25, 2026

Reference integration with @kinthaiofficial OpenClaw 3-layer payment governance

發布方自己的服務:OpenClaw Direct

已驗證Streamable HTTP可網頁執行金融開發者工具商業與電商

概覽

AI 產生的概覽

一個遠端 MCP 橋接服務,讓助理檢視並依四層支付預算進行支出,同時訂閱 Hive Gamification 的付費門。

可以做什麼
檢視命名空間、使用者、代理與任務四層的預算上限、已花費、預留額度與剩餘額度,並可覆寫某一鍵的上限,或針對擬議金額與範圍做唯讀預檢。列出八個付費門及其端點、價格、資產與期限,並取得單一門的即時經濟資料。領取首次免費優惠。透過受控路徑訂閱門:原子預留預算、向上游發出請求,然後結算或釋放。
適用情境
當你希望助理對 Hive Gamification 端點發出受預算約束的付費呼叫,或示範內部層級預算與外部結算之間的銜接時使用。它是參考整合,而非通用工具。
執行需求
遠端 streamable HTTP 端點;未宣告驗證、環境變數或請求標頭。README 中的本機快速啟動則需要 Node.js、npm install 與監聽埠,並可選用上游基礎位址、逾時與各層預設上限的設定。
安裝前請注意
呼叫付費門會在真實鏈路上花費 USDC,各門價格從 0.15 到 10.00 USDC 不等,README 聲明沒有模擬結算。預算上限可被覆寫,設定不當可能導致支出超出預期。請求會傳送至第三方上游服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Hive Openclaw Bridge,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.srotzin%2Fhive-mcp-openclaw-bridge/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "hive-openclaw-bridge": {
      "type": "http",
      "url": "https://hive-mcp-gateway.onrender.com/openclaw-bridge/mcp"
    }
  }
}

README

hive-mcp-openclaw-bridge

[srotzin/hive-mcp-openclaw-bridge MCP server]

Reference integration with @kinthaiofficial's OpenClaw 3-layer payment governance framework. MCP server that wraps Hive Gamification's 8 BOGO doors behind a 4-level hierarchical budget — atomic reserve, upstream POST, settle/release. Real rails. No mock settlement.

Brand: Hive Civilization gold #C08D23 (Pantone 1245 C). License: MIT.


Why this exists

OpenClaw's three-layer model splits payment governance into three concerns:

LayerConcernWhere it lives
Layer 1Internal hierarchical budget — atomic reserve / settlethis server
Layer 2Inter-agent millicent ledger settled at epoch boundariesOpenClaw
Layer 3External x402 settlement on real railsHive Gamification

This bridge demonstrates the Layer 1 ↔ Layer 3 seam. Every paid call to a Hive door (computational-debt, protocol-consensus-tax, pheromone-priority, zk-compliance-shield, capability-leasing, guild-synergy, audit-trail-premium, bounty-routing) is gated by an atomic reservation against every level in the caller's scope path:

Namespace → User → Agent → Task

The most-restrictive level governs. If any level is short of headroom, the upstream HTTP request is never made and no x402 settlement is signed.

The same BudgetHook interface is exposed from @hivemorph/qvac-client v0.2 — drop your own implementation in to wire this hierarchy into a different runtime.

Background reading

Tools

ToolWhat it does
budget_statusInspect caps, spend, reservations, headroom across all 4 levels
budget_set_capOverride a per-key cap at one level
budget_checkRead-only pre-flight against a proposed amount + scope
doors_listList all 8 BOGO doors with endpoint, price, asset, term
door_economicsFetch live /economics for one door
bogo_claimClaim first-use-free via /v1/bogo/claim
door_subscribeCanonical gated path — atomic reserve → upstream POST → settle/release

Doors

DoorEndpointPriceTerm
computational-debt/v1/debt/subscribe0.50 USDC30d
protocol-consensus-tax/v1/pct/subscribe0.25 USDC1 read
pheromone-priority/v1/pheromone/subscribe5.00 USDC30d
zk-compliance-shield/v1/compliance/subscribe1.00 USDC30d
capability-leasing/v1/lease/start0.15 USDC1h
guild-synergy/v1/guild_synergy/subscribe10.00 USDC30d
audit-trail-premium/v1/audit_premium/subscribe3.00 USDC30d
bounty-routing/v1/bounty_routing/route0.50 USDC1 routing

Backend: https://hive-gamification.onrender.com. All endpoints are live and verified.

Lifecycle of a paid call

client → tools/call door_subscribe { door_id, did, scope }       → atomicReserve(scope, price, asset)           ├─ each level checked: namespace, user, agent, task           ├─ headroom = cap − spent − reserved           └─ short on any level? reject before signing       → POST hive-gamification.onrender.com<endpoint>       → 2xx? settle(reservationId)         non-2xx or throw? release(reservationId)       → return { ok, reservationId, binding_level, upstream }

Quickstart

bash
git clone https://github.com/srotzin/hive-mcp-openclaw-bridgecd hive-mcp-openclaw-bridgenpm installnpm start

Then from any MCP client:

json
POST http://localhost:3000/mcp{ "jsonrpc": "2.0", "id": 1, "method": "tools/list" }

Configuration

EnvDefaultMeaning
PORT3000listen port
HIVE_BASEhttps://hive-gamification.onrender.comupstream base URL
HIVE_TIMEOUT_MS15000upstream fetch timeout
NAMESPACE_CAP50default namespace-level cap (USDC)
USER_CAP10default user-level cap
AGENT_CAP2default agent-level cap
TASK_CAP0.50default task-level cap

Per-key caps override defaults via budget_set_cap.

Related

License

MIT — see LICENSE.

Hive Civilization Directory

Part of the Hive Civilization — agent-native financial infrastructure.

Brand: #C08D23

來源:README.md,提交 12b17b5

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Openclaw 整合