关于 Hive Gateway
Hive Gateway 是 Hive Civilization MCP 服务的发现注册表,面向需要查找可用服务的客户端和 Agent。它还为兼容旧用法而在进程内挂载五个服务,并建议探测时使用各服务的直连地址。
主要功能
- 01Hive MCP 服务注册表
- 02提供 `/.well-known/mcp.json` 发现清单
- 03进程内挂载五个旧版服务
- 04服务索引与健康检查接口
适用场景
- 01发现 Hive MCP 服务端点
- 02查看注册表清单
- 03访问旧版挂载服务
MCP 相关
提供 MCP 发现清单,并在不同路径挂载五个 MCP 服务。该网关用于服务发现,而非作为高频请求代理。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://hive-mcp-gateway.onrender.com/gateway/mcpclaude mcp add --transport http srotzin-hive-mcp-gateway https://hive-mcp-gateway.onrender.com/gateway/mcp{"mcpServers":{"srotzin-hive-mcp-gateway":{"type":"http","url":"https://hive-mcp-gateway.onrender.com/gateway/mcp"}}}在 Cursor 中打开{"servers":{"srotzin-hive-mcp-gateway":{"type":"http","url":"https://hive-mcp-gateway.onrender.com/gateway/mcp"}}}在 VS Code 中打开{"mcpServers":{"srotzin-hive-mcp-gateway":{"type":"http","url":"https://hive-mcp-gateway.onrender.com/gateway/mcp"}}}{"mcpServers":{"srotzin-hive-mcp-gateway":{"serverUrl":"https://hive-mcp-gateway.onrender.com/gateway/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
hive-mcp-gateway
Hive Civilization MCP 注册表——22 个 hive-mcp-* 服务的发现入口。
网关在 /.well-known/mcp.json 提供注册表,并继续在进程内挂载 5 个 MCP 服务,以兼容旧版。建议 Glama / Smithery 探测时使用直接 shim URL;网关用于发现,而非作为热路径代理。
已挂载的服务(旧版进程内挂载)
| 路径 | 仓库 | 描述 |
|---|---|---|
/evaluator/mcp | hive-mcp-evaluator | ERC-8183 / Virtuals ACP v2.0 评估即服务 |
/trade/mcp | hive-mcp-trade | 使用 USDC/USDT 进行跨境 SMB 发票结算 |
/depin/mcp | hive-mcp-depin | DePIN 服务提供商市场 |
/compute-grid/mcp | hive-mcp-compute-grid | 跨池算力拍卖网格 |
/morph/mcp | hive-mcp-morph | 多态身份与蜂群遥测 |
每个路径还提供 /<feature>/health 和 /<feature>/.well-known/mcp.json。
顶层路径:/(服务索引)和 /health。
直接 Shim URL
网关是发现入口。建议 Glama / Smithery 探测时使用直接 URL。
每个 shim 提供 /mcp(JSON-RPC)和 /.well-known/mcp.json(发现)。
本地运行
npm install
node gateway.js
# Then:
curl http://localhost:3000/
curl http://localhost:3000/.well-known/mcp.json
curl http://localhost:3000/evaluator/health
curl -X POST http://localhost:3000/morph/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
部署
Render:参见 render.yaml。Docker:参见 Dockerfile。
许可证
MIT。Hive Civilization 金色 #C08D23(Pantone 1245 C)。
Hive Civilization 目录
Hive Civilization 的一部分——面向 Agent 的金融基础设施。
- 端点目录:https://thehiveryiq.com
- 实时排行榜:https://hive-a2amev.onrender.com/leaderboard
- 收入仪表板:https://hivemine-dashboard.onrender.com
- 其他 MCP 服务:https://github.com/srotzin?tab=repositories&q=hive-mcp
品牌色:#C08D23
关于 Hive Civilization
此 MCP 服务属于 Hive Civilization 生态系统,为 Agent 间(A2A)商务提供后量子就绪的收据基础设施。
每笔交易都可以使用 ML-DSA-65 (NIST FIPS 204) 双重签名和 ML-KEM-768 (NIST FIPS 203) 密钥封装生成后量子收据。收据由 Swarm-MAPET 16 轴拜占庭共识锚定,并以 USDC 在 Base 8453 上结算。
**定价:**按调用计费的档位从 Nano $0.0001 到 Swarm $0.0096。请参阅定价。
了解更多:
Agent 可调用
此 MCP 服务完全可由 Agent 调用——无需账户、API 密钥或人工审批。
| 属性 | 值 |
|---|---|
| 发现 URL | https://hivemorph.onrender.com/.well-known/agent-card.json |
| MCP 端点 | https://hive-mcp-gateway.onrender.com/mcp (JSON-RPC 2.0 / MCP 2024-11-05) |
| x402 定价 | https://hivemorph.onrender.com/v1/x402/pricing |
| 支付 | 通过 x402 在 Base 8453 上使用 USDC |
| 金库 | 0x15184Bf50B3d3F52b60434f8942b7D52F2eB436E |
| DID | did:hivemorph:w2loren:0x6b11b1bcaf253c |
| Hive 网站 | thehiveryiq.com |
示例请求
# 1. Get x402 quote (free)
curl -X POST https://hivemorph.onrender.com/v1/x402/quote \
-H 'Content-Type: application/json' \
-d '{"agent_did":"did:example:agent","profile":"standard"}'
# 2. Settle USDC on Base 8453 (ERC-681 URI in quote response)
# 3. Call with access token
curl -X POST https://hive-mcp-gateway.onrender.com/mcp \
-H 'Content-Type: application/json' \
-H 'X-Hive-Access: <token_from_step_1>' \
-d '{"jsonrpc":"2.0","method":"tools/list","params":{},"id":1}'
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。