Loading
Add a read-only Hive MCP server from the OpenRPC export
Summary
Work item #87 (closed). Reference MCP server for Hive docs and JSON-RPC, now that OpenRPC/OpenAPI (!182 (merged)) is on develop and staging.
- Tools are generated from the OpenRPC document (
list_methods,get_method_schema,hive_rpc_call,fetch_doc_page). Methods are not registered one-tool-per-RPC-call. - Read-only by default.
network_broadcast_api,debug_node_api, andbroadcast_*are denied unlessHIVE_MCP_ALLOW_BROADCAST=1. The process never accepts private keys. - Stdio only (npm and Docker). No public hosted endpoint. Node and doc hosts are allowlisted; redirects are refused.
- Install, Cursor config, and the safety rules are on Building agents in every portal locale, and linked from
llms.txt.
Startup tries https://developers.hive.io/openrpc.json and falls back to http://developers-staging.hive.io/openrpc.json. Production does not serve /openrpc.json until this line is released to master.
Design note: mcp/README.md.
Closes #87 (closed)
Test plan
-
cd mcp && npm test(catalog, denylist, positional vs named JSON-RPC, doc host allowlist, broadcast opt-in does not add a key field) - GitLab
mcp_testjob (Node 20) - After merge to
develop, confirm staging still serves/openrpc.jsonand a localnpm startloads it