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 集成