codex - 💡(How to fix) Fix Codex App shows MCP servers enabled, but current session only receives a subset of MCP tools

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Enabled: yes Process reachable: yes/no Tools discovered: <count> Resources discovered: <count> Attached to current session: yes/no Last tools/list result: success/error/timeout Last error: <message, if any>

Root Cause

All MCP server names are intentionally redacted here because they are private/internal. The important behavior is that the app-level Settings state and the per-session callable tool state disagree.

Code Example

Enabled MCP servers in Settings: 4
Enabled MCP servers in codex mcp list: 4
MCP servers with tools exposed to active session: 1

---

Enabled: yes
Process reachable: yes/no
Tools discovered: <count>
Resources discovered: <count>
Attached to current session: yes/no
Last tools/list result: success/error/timeout
Last error: <message, if any>

---

server-a
Enabled: yes
Session tools: unavailable
Reason: tools/list timed out / schema import failed / not attached to current session
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.506.21252 (2575)

What subscription do you have?

Enterprise

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

Codex App Settings shows multiple MCP servers enabled/active in the MCP Servers modal, and codex mcp list also reports those servers as enabled. However, the active chat session only receives callable tools from a subset of those enabled servers.

In one observed session:

  • Settings showed four MCP servers enabled.
  • codex mcp list also showed those same four servers as enabled.
  • The active chat session exposed tools from only one of those servers.
  • The other enabled MCP servers did not appear as callable tool namespaces in the session.

This creates a mismatch between the Settings UI and the actual session tool surface. The UI indicates that MCP servers are enabled, but the user cannot tell whether each server's tools were discovered, imported, and attached to the current chat session.

All MCP server names are intentionally redacted here because they are private/internal. The important behavior is that the app-level Settings state and the per-session callable tool state disagree.

What steps can reproduce the bug?

  1. Configure multiple MCP servers in Codex App.
  2. Confirm that the MCP Servers Settings modal shows the servers enabled/active.
  3. Run codex mcp list and confirm those servers are reported as enabled.
  4. Start or resume a Codex App chat session.
  5. Ask the assistant whether it can see/use the configured MCP tools, or attempt a task that requires one of the enabled MCP servers.
  6. Observe that only a subset of the enabled MCP servers are available as callable tools in the session.

Expected diagnostic data that would help reproduce/debug:

Enabled MCP servers in Settings: 4
Enabled MCP servers in codex mcp list: 4
MCP servers with tools exposed to active session: 1

The current UI does not reveal whether the unavailable servers failed startup, handshake, tools/list, schema import, auth/env setup, or session attachment.

What is the expected behavior?

If Codex App Settings shows an MCP server as enabled/active, the UI should also make clear whether that server's tools are actually available to the current chat session.

If a server is enabled but not usable by the current session, Codex should show the reason instead of leaving the user to infer it from the assistant's behavior.

Ideally the MCP Servers modal, or a session diagnostics panel, would expose per-server readiness like:

Enabled: yes
Process reachable: yes/no
Tools discovered: <count>
Resources discovered: <count>
Attached to current session: yes/no
Last tools/list result: success/error/timeout
Last error: <message, if any>

A compact version would also help:

server-a
Enabled: yes
Session tools: unavailable
Reason: tools/list timed out / schema import failed / not attached to current session

Additional information

This is related to MCP visibility/session mismatch reports, but the ask here is specifically for product diagnostics:

  • show the difference between configured/enabled MCP servers and tools attached to the current session
  • surface the last MCP discovery/import error in the UI
  • make the Settings modal a reliable source of truth for session usability, not just configuration state

Closest public report found:

Related MCP tool-discovery diagnostic report:

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Codex App shows MCP servers enabled, but current session only receives a subset of MCP tools