Repository navigation
Keep same-named MCP servers separate across environments - #60905
Merged
copyberry[bot] merged 1 commit intoNov 11, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## Why MCP servers discovered on different executors can share a name. Resolving them by name alone exposes only one server and prevents tools and resources from being addressed independently. ## What changed - Add the disabled-by-default `multi_environment_mcp` feature to expose environment-scoped servers, including multiple installations of the same plugin. - Carry exact `McpServerKey` identities through catalogs, connections, tool calls, resources, and approval tracking. Give environment-scoped tools stable namespaces derived from their environment. - Include `environment_id` in scoped resource listings and accept it in resource requests. Require it for environment-owned servers when multiple environments are selected. - Preserve server ownership through hooks and use the owning environment's permissions for scoped elicitation review. ## Testing Add coverage for same-named servers across environments, independent calls and approvals, resource selection, plugin discovery, and rejection of hook changes to the tool environment. GitOrigin-RevId: 5593372b06a15c16aa3220faa3b19f5d3b20e67e
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/5593372b06a15c16aa3220faa3b19f5d3b20e67e
branch
from
November 11, 2026 23:36
8f1ba90 to
561f0f5
Compare
Contributor
Codex Review Summary: 🔄 RunningThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/5593372b06a15c16aa3220faa3b19f5d3b20e67e
branch
November 11, 2026 23:36
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:37 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:37 — with
GitHub Actions
Inactive
dovvnloading
had a problem deploying
to
issue-triage
November 11, 2026 23:37 — with
GitHub Actions
Failure
nikhil-pandey
had a problem deploying
to
issue-triage
November 11, 2026 23:37 — with
GitHub Actions
Failure
nikhil-pandey
temporarily deployed
to
issue-triage
November 11, 2026 23:37 — with
GitHub Actions
Inactive
nikhil-pandey
temporarily deployed
to
issue-triage
November 11, 2026 23:37 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:38 — with
GitHub Actions
Inactive
nikhil-pandey
temporarily deployed
to
issue-triage
November 11, 2026 23:39 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:39 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:39 — with
GitHub Actions
Inactive
dovvnloading
had a problem deploying
to
issue-triage
November 11, 2026 23:39 — with
GitHub Actions
Failure
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:40 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:41 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:41 — with
GitHub Actions
Inactive
dovvnloading
had a problem deploying
to
issue-triage
November 11, 2026 23:41 — with
GitHub Actions
Failure
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:42 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:44 — with
GitHub Actions
Inactive
dovvnloading
had a problem deploying
to
issue-triage
November 11, 2026 23:44 — with
GitHub Actions
Failure
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:44 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:45 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:47 — with
GitHub Actions
Inactive
dovvnloading
had a problem deploying
to
issue-triage
November 11, 2026 23:47 — with
GitHub Actions
Failure
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:47 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:47 — with
GitHub Actions
Inactive
dovvnloading
had a problem deploying
to
issue-triage
November 11, 2026 23:47 — with
GitHub Actions
Failure
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:47 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:48 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:49 — with
GitHub Actions
Inactive
dovvnloading
had a problem deploying
to
issue-triage
November 11, 2026 23:50 — with
GitHub Actions
Failure
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:50 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:50 — with
GitHub Actions
Inactive
dovvnloading
temporarily deployed
to
issue-triage
November 11, 2026 23:51 — with
GitHub Actions
Inactive
This branch was previously deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Keep same-named MCP servers separate across environments
Why
MCP servers discovered on different executors can share a name. Resolving them by name alone exposes only one server and prevents tools and resources from being addressed independently.
What changed
multi_environment_mcpfeature to expose environment-scoped servers, including multiple installations of the same plugin.McpServerKeyidentities through catalogs, connections, tool calls, resources, and approval tracking. Give environment-scoped tools stable namespaces derived from their environment.environment_idin scoped resource listings and accept it in resource requests. Require it for environment-owned servers when multiple environments are selected.Testing
Add coverage for same-named servers across environments, independent calls and approvals, resource selection, plugin discovery, and rejection of hook changes to the tool environment.