Windows desktop: sidebar app fails during initial discovery and waits for unrelated MCP servers.
What version of the Codex App are you using (From “About Codex” dialog)?
26.1111.21308, build 27194; Windows package 26.1111.2228.0
What subscription do you have?
Enterprise
What platform is your computer?
Windows x64
What issue are you seeing?
On first opening after a desktop restart, a local MCP sidebar app shows the desktop's "Couldn't display" error with a Try again button. Refreshing later allows the panel to load.
The app's entry tool returns immediately and does not start its local engine. The panel requests engine startup afterwards. Logs show the desktop removing the initial panel before that engine-opening request, so slow engine startup does not explain the first error screen.
The display call also waits after the app's own connector is ready, until the overall MCP catalogue finishes loading. Other connectors report startup failures during that wait.
What steps can reproduce the bug?
- Fully quit and reopen the desktop with the local sidebar app installed and multiple MCP servers configured.
- Open the sidebar app while desktop/plugin initialization is still in progress.
- Observe the desktop's "Couldn't display" error.
- Refresh the app. The panel eventually loads and proceeds with its own engine connection.
This was observed with the installed app. A standalone minimal plugin reproduction has not yet been prepared.
What is the expected behavior?
The selected app should show a loading state while its host and connector initialize, then open without requiring Refresh. An unrelated MCP server taking time or failing should not prevent an already-ready app from opening.
Additional information
Captured startup timeline
November 18, 2026; all times UTC. This capture includes manual refreshes and is not an uninterrupted startup benchmark.
| Time | Observed event |
|---|---|
| 04:16:33 | Desktop process starts. |
| 04:17:14.631 | Overall MCP catalogue loading begins. |
| 04:17:56.396 | Desktop finds the app's sidebar entrypoint. |
| 04:17:59.364 | Desktop removes the initial app frame. |
| 04:18:03.988 | The app's connector reports ready in the app host thread. |
| 04:19:19.055 | mcpServerStatus/list returns after 124,423 ms. |
| 04:19:19.160 | Catalogue loading completes with 23 servers. |
| 04:19:19.172 | Desktop invokes the app's display tool. |
| 04:20:02.479 | First recorded request to open the app's local engine. |
The connector was ready approximately 75 seconds before the display call. That call occurred 12 milliseconds after catalogue loading completed.
There is a further 43-second gap between the display call and the engine-opening request; its cause remains unresolved. A later engine startup timeout is separate from the initial desktop display failure.
A November 17 capture also showed the initial frame removed about one second after creation, before the resource read completed successfully and before any recorded engine-opening request.
Investigation and proposed correction
1. Display waits for catalogue readiness
Inspection of the installed desktop code shows that the initial app-tool call is gated on readiness derived from the overall MCP catalogue. This supports the ordering in the timeline. It does not establish which connector or backend stage caused the 124-second request duration.
Proposed correction: use targeted discovery for the selected app, retaining plugin, tool, resource and account validation, while unrelated discovery continues separately.
2. Initial connection can be treated as a replacement
The installed connection logic creates an identity before the extension-host thread exists. The thread becoming available changes the query key and can create another identity. The panel's watcher can interpret this as a replacement and enter its reconnect-error state before an initial tool result is available.
A read-only test of the actual installed functions with synthetic dependencies reproduced that behavior. Deferring identity initialization until the host exists avoided the false error. All seven expected test outcomes passed, covering initial opening, a pending host, warm opening and genuine replacement with missing or failed tool results.
Proposed correction: retain the loading state during initial host creation and bind the connection identity only when ready. Preserve genuine connection-change errors and command replay safeguards.
The test did not run React, the query library or a live panel, and live connection identities were not captured. This is a reproduced possible mechanism, not a confirmed explanation of the live frame removal.
Verification requested
Please test first opening after a desktop restart with a deliberately delayed unrelated MCP server, reopening the same app, genuine connection changes, and closing the panel during startup. Measure through usable controls and check that no Refresh or command replay is needed.
Related reports: #57666 covers Windows catalogue subprocess churn; #55650 covers a web MCP app failing with Browser Control attached. Neither establishes the same cause as this desktop sidebar failure.
Codex on Windows tries to ping every MCP server in your config at startup, so if even one is slow or closed the whole sidebar freezes.
The easiest way around it is to connect only one local gateway to Codex instead of adding 10 separate servers. It gives Codex just 2 basic tools at the start so there is nothing to wait for, and if some server is offline it just waits in the background.
I made a small Windows app for myself that does this if you need it: https://github.com/Darek3399/MCP-Hotplug