Repository navigation
Description
What version of Codex CLI is running?
codex-cli 0.160.0. Also reproduced with 0.155.1 in an isolated configuration.
What subscription do you have?
ChatGPT Prolite — signing in with my ChatGPT account.
Which model were you using?
gpt-6-astra; also reproduced with gpt-6.1-sol. The MCP failure occurs during startup, before the model responds.
What platform is your computer?
Windows 11 x64, running Codex natively on Windows.
What terminal emulator and version are you using (if applicable)?
Windows PowerShell. Terminal host and version not confirmed; Codex Doctor reports terminal: unknown.
Codex doctor report
Summary of actual output from:
codex.cmd doctor --summary --no-color
Codex Doctor v0.160.0 · windows-x86_64
Result: 22 OK, 0 warnings, 0 failures.
- npm installation reported consistent.
- State databases reported healthy.
- Rollout files and state DB thread inventory agree.
- Configuration loaded; authentication configured.
- One configured MCP server (stdio), none disabled.
- No proxy environment variables detected.
- WebSocket connected: HTTP 101 Switching Protocols.
- Active provider endpoints reachable over HTTP.
- Background app-server running in ephemeral mode.
- Terminal reported as unknown.
These checks pass while codex_apps initialization fails.
This is a summary of the displayed diagnostic results, not the full
codex doctor --json export.What issue are you seeing?
The codex_apps MCP connection consistently fails during initialization
on Windows. Normal Codex conversations work, and the separate Unity
and codex_tui MCP connections work.
Full displayed error:
MCP client for codex_apps failed to start: MCP startup failed: handshaking with MCP server failed: Send message error Transport [codex_rmcp_client::event_notification_transport::EventNotificationTransport<rmcp::transport::worker::WorkerTransport<rmcp::transport::streamable_http_client::StreamableHttpClientWorker<codex_rmcp_client::http_client_adapter::StreamableHttpClientAdapter>>>] error: Client error: HTTP request failed: error decoding response body, when send initialize request: Send message error Transport [codex_rmcp_client::event_notification_transport::EventNotificationTransport<rmcp::transport::worker::WorkerTransport<rmcp::transport::streamable_http_client::StreamableHttpClientWorker<codex_rmcp_client::http_client_adapter::StreamableHttpClientAdapter>>>] error: Client error: HTTP request failed: error decoding response body, when send initialize request
MCP startup incomplete (failed: codex_apps)
The logs show retries followed by:
“Apps MCP startup reconnect failed; continuing with cached tools”
In my normal configuration, /mcp reports codex_apps as failed with
188 cached tools. In an isolated fresh configuration it reports
failed with 0 tools.
Expected: codex_apps initializes and its tools become available.
Actual: initialization repeatedly fails, although normal model
responses and the other MCP connections still work.
Temporary workaround:
Launching with --disable apps allows local development and the
separate Unity MCP connection to continue working.
Observed on 2–3 October 2026.
What steps can reproduce the bug?
Uploaded thread: 01a0ff00-7984-7b21-af5a-ec6dae259a7b
What is the expected behavior?
With Apps enabled and a valid ChatGPT sign-in, codex_apps should
initialize successfully and make its tools available.
Startup should complete without repeated response-decoding errors
or requiring --disable apps as a workaround.
Additional information
The reproduction field keeps reverting to the thread reference
prefilled by the feedback URL, so the reproduction steps are here.
REPRODUCTION
-
Start Codex CLI 0.160.0 on Windows with ChatGPT authentication
and Apps enabled. -
Observe the codex_apps initialization failure.
-
The failure also reproduces with user configuration ignored.
Command tested in PowerShell:
codex.cmd exec --ignore-user-config --skip-git-repo-check --cd "$env:TEMP" --sandbox read-only -c features.apps=true "Do not call tools or change files. Reply only: Diagnostic run finished."
Repeated response-decoding errors appear, but the model subsequently
replies “Diagnostic run finished.”
TROUBLESHOOTING COMPLETED
The same failure persisted after:
- Uninstalling and reinstalling 0.160.0 through npm.
- Signing out and signing in again.
- Switching between home internet and a phone hotspot.
- Ignoring user configuration, as above.
- Testing 0.155.1 with a separate, fresh CODEX_HOME, separate
sign-in and Apps explicitly enabled.
Normal model conversations and the separate Unity and codex_tui
MCP connections work.
Codex Doctor reports 22 OK, 0 warnings and 0 failures, including
successful provider HTTP and WebSocket connectivity.
WORKAROUND
Launching with --disable apps permits local development and Unity
MCP use. This does not resolve the Apps connection failure.
FEEDBACK REFERENCE
01a0ff00-7984-7b21-af5a-ec6dae259a7b
Despite the prefilled wording “Uploaded thread”, the CLI confirmed:
“Feedback recorded (no logs).”
Observed on 2–3 October 2026.
Activity
github-actions commentedon Oct 3, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action