codex - 💡(How to fix) Fix Desktop UI: new-thread send spinner is delayed by openaiDeveloperDocs MCP initialization [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

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…
GitHub stats
openai/codex#23476Fetched 2026-05-20 03:49:17
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×5commented ×2

In Codex Desktop, sending the first message in a new thread can block in the UI before the message appears in the conversation. The send button spins for several seconds.

After bisecting ~/.codex/config.toml, the delay appears to be triggered by the bundled OpenAI Developer Docs MCP server configuration. When the MCP server is explicitly disabled, new-thread sends are immediate. When the enabled = false line is removed from [mcp_servers.openaiDeveloperDocs], the delay returns.

This looks like Desktop is blocking new-thread submission on MCP server status or initialization.

Root Cause

In Codex Desktop, sending the first message in a new thread can block in the UI before the message appears in the conversation. The send button spins for several seconds.

After bisecting ~/.codex/config.toml, the delay appears to be triggered by the bundled OpenAI Developer Docs MCP server configuration. When the MCP server is explicitly disabled, new-thread sends are immediate. When the enabled = false line is removed from [mcp_servers.openaiDeveloperDocs], the delay returns.

This looks like Desktop is blocking new-thread submission on MCP server status or initialization.

Fix Action

Fix / Workaround

Bisected workaround

Code Example

[mcp_servers.openaiDeveloperDocs]
   url = "https://developers.openai.com/mcp"

   [plugins."computer-use@openai-bundled"]
   enabled = true

   [plugins."browser@openai-bundled"]
   enabled = true

   [plugins."chrome@openai-bundled"]
   enabled = true

   [features]
   hooks = true
   memories = true
   chronicle = false

---

[mcp_servers.openaiDeveloperDocs]
enabled = false
url = "https://developers.openai.com/mcp"

[plugins."computer-use@openai-bundled"]
enabled = true

[plugins."browser@openai-bundled"]
enabled = true

[plugins."chrome@openai-bundled"]
enabled = true

[features]
hooks = true
memories = true
chronicle = false

---

thread/start durationMs=12002
turn/start durationMs=5
mcpServerStatus/list durationMs=34453
mcpServerStatus/list durationMs=33735

---

thread/start durationMs=72
turn/start durationMs=16
mcpServerStatus/list durationMs=26
RAW_BUFFERClick to expand / collapse

Desktop UI: new-thread send spinner is delayed by openaiDeveloperDocs MCP initialization

Environment

  • Codex Desktop: 26.513.31313 (2867)
  • Platform: macOS
  • Repository: any workspace, including an empty temporary project

Summary

In Codex Desktop, sending the first message in a new thread can block in the UI before the message appears in the conversation. The send button spins for several seconds.

After bisecting ~/.codex/config.toml, the delay appears to be triggered by the bundled OpenAI Developer Docs MCP server configuration. When the MCP server is explicitly disabled, new-thread sends are immediate. When the enabled = false line is removed from [mcp_servers.openaiDeveloperDocs], the delay returns.

This looks like Desktop is blocking new-thread submission on MCP server status or initialization.

Reproduction

  1. Configure Codex with the OpenAI Developer Docs MCP entry enabled implicitly:

    [mcp_servers.openaiDeveloperDocs]
    url = "https://developers.openai.com/mcp"
    
    [plugins."computer-use@openai-bundled"]
    enabled = true
    
    [plugins."browser@openai-bundled"]
    enabled = true
    
    [plugins."chrome@openai-bundled"]
    enabled = true
    
    [features]
    hooks = true
    memories = true
    chronicle = false
  2. Restart Codex Desktop.

  3. Open a workspace.

  4. Start a new thread.

  5. Send ping.

Actual behavior

The send button spins for several seconds before the message appears in the conversation.

Expected behavior

The message should enter the conversation immediately. MCP server status or initialization should not block the submit path for a new thread.

Bisected workaround

Adding enabled = false to the MCP server entry makes new-thread sends immediate again:

[mcp_servers.openaiDeveloperDocs]
enabled = false
url = "https://developers.openai.com/mcp"

[plugins."computer-use@openai-bundled"]
enabled = true

[plugins."browser@openai-bundled"]
enabled = true

[plugins."chrome@openai-bundled"]
enabled = true

[features]
hooks = true
memories = true
chronicle = false

Notably, with computer-use, browser, chrome, hooks, and memories enabled, sending is still fast as long as openaiDeveloperDocs is disabled.

Log evidence

Slow case with openaiDeveloperDocs enabled:

thread/start durationMs=12002
turn/start durationMs=5
mcpServerStatus/list durationMs=34453
mcpServerStatus/list durationMs=33735

Fast case with openaiDeveloperDocs disabled:

thread/start durationMs=72
turn/start durationMs=16
mcpServerStatus/list durationMs=26

Related issues

This feels related to the Desktop submit-path delay discussed in #18264 and the duplicate #18495, but this reproduction is specifically tied to the OpenAI Developer Docs MCP server status/init path on Desktop 26.513.31313.

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…

FAQ

Expected behavior

The message should enter the conversation immediately. MCP server status or initialization should not block the submit path for a new thread.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING