Repository navigation
MCP gateway: per-tool control of remote MCP servers, new servers held by default - #6
Merged
Merged
Conversation
… by default Ring Zero now sits between agents and their remote MCP servers. - Gateway in the daemon at http://127.0.0.1:7700/mcp/<id> (loopback only). Agents speak MCP to it; it forwards to the real server with the agent's own headers. - A switched-off tool is removed from tools/list. - A tools/call to a switched-off tool gets a JSON-RPC error and never reaches the server. - Every call, allowed or refused, goes to commentary and Security history. - Kernel: agent trees are refused direct connections to a managed or held server's addresses (IPv4 and IPv6, re-resolved each minute), so editing the config back cannot route around the gateway. People are not affected. - `rz mcp adopt | release | list | tool <id> <tool> on|off`, password-gated through the app. Adopt rewrites each agent's JSON MCP config to the gateway, with a backup, preserving owner and mode. - New servers are held by default: a remote server that appears in an agent's config later is held until an administrator approves it. - Discovery lists a remote server's tools, shows per-tool switches for managed servers, and Approve for held ones. - Commentary no longer narrates DNS fragments as hosts. - README: what Ring Zero does now; AI agents, not AI coding agents.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Routes agents' remote MCP servers through Ring Zero, so you can switch individual tools on and off, with kernel enforcement that agents can't route around.
What this adds
http://127.0.0.1:7700/mcp/<id>, loopback only.rz mcp adopt | release | list | tool: password-gated. Adopt rewrites each agent's MCP config to point at the gateway, with a backup.Testing
Known gaps
.jsoncconfigs are not adopted yet.