Skip to content

Refresh managed MCP requirements for active threads#35213

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/3cf0d69f51ef4893a4d722ee803fcbfdf1cd959e
Jul 24, 2026
Merged

Refresh managed MCP requirements for active threads#35213
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/3cf0d69f51ef4893a4d722ee803fcbfdf1cd959e

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 24, 2026

Copy link
Copy Markdown

Refresh managed MCP requirements for active threads

Why

MCP config reloads updated resolved server and authentication values, but did not
carry managed server constraints or plugin requirements into active threads.

What changed

  • Refresh MCP state from the typed thread config, including its managed
    requirements, while retaining the thread's user layer and unrelated settings.
  • Apply the refreshed config directly through CodexThread instead of encoding it
    as a protocol operation.
  • Re-evaluate effective plugins immediately after account changes so their MCP
    requirements reach existing threads.

Testing

  • Cover replacement and enforcement of managed server and plugin requirements.
  • Verify refreshed MCP settings are installed without changing the active model.

## Why

MCP config reloads updated resolved server and authentication values, but did not
carry managed server constraints or plugin requirements into active threads.

## What changed

- Refresh MCP state from the typed thread config, including its managed
  requirements, while retaining the thread's user layer and unrelated settings.
- Apply the refreshed config directly through `CodexThread` instead of encoding it
  as a protocol operation.
- Re-evaluate effective plugins immediately after account changes so their MCP
  requirements reach existing threads.

## Testing

- Cover replacement and enforcement of managed server and plugin requirements.
- Verify refreshed MCP settings are installed without changing the active model.

GitOrigin-RevId: 3cf0d69f51ef4893a4d722ee803fcbfdf1cd959e
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/3cf0d69f51ef4893a4d722ee803fcbfdf1cd959e branch from 5d63d18 to a177013 Compare July 24, 2026 16:36
@copyberry
copyberry Bot merged commit a177013 into main Jul 24, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/3cf0d69f51ef4893a4d722ee803fcbfdf1cd959e branch July 24, 2026 16:38
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants