Skip to content

fix: preserve MCP config overrides when adding session servers - #490

Open
ruixingshi wants to merge 1 commit into
agentclientprotocol:mainfrom
ruixingshi:codex/fix-mcp-config-overrides
Open

fix: preserve MCP config overrides when adding session servers#490
ruixingshi wants to merge 1 commit into
agentclientprotocol:mainfrom
ruixingshi:codex/fix-mcp-config-overrides

Conversation

@ruixingshi

Copy link
Copy Markdown

Preserve non-conflicting MCP entries from CODEX_CONFIG when building session config. Keep existing name-conflict filtering and replace same-name entries as a whole to avoid mixing transport schemas.

Add regression coverage for env-only overrides, same-name precedence, session isolation, and non-object MCP config.

Validation: typecheck and build passed; 559 tests passed, 26 skipped.

Related issue: #489

Preserve non-conflicting MCP entries from CODEX_CONFIG when building session config. Keep existing name-conflict filtering and replace same-name entries as a whole to avoid mixing transport schemas.

Add regression coverage for env-only overrides, same-name precedence, session isolation, and non-object MCP config.

Validation: typecheck and build passed; 559 tests passed, 26 skipped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant