You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codex CLI on macOS repeatedly prints a startup failure for the bundled node_repl MCP client:
⚠ MCP client for `node_repl` failed to start: MCP startup failed: No such file or directory (os error 2)
⚠ MCP startup incomplete (failed: node_repl)
The session otherwise starts and remains usable, but node_repl is unavailable and the warning recurs.
Environment
macOS 26.5.2
Codex CLI 0.144.1
Terminal: iTerm2
Working directory: local Xcode/Swift project
Shell: zsh
Expected behavior
The bundled node_repl MCP client should either:
start successfully without requiring a manual external path/configuration, or
remain disabled without emitting a repeated startup failure when its executable/runtime is not present.
If an external dependency is required, the error should identify the missing executable or path and provide an actionable remediation.
Actual behavior
Codex reports only No such file or directory (os error 2), without identifying which file or executable is missing.
Related issue
Possibly related to #31533, although that report concerns Codex Desktop tool exposure, while this report is the Codex terminal CLI failing during MCP startup.
Reacted by Caleb Evans, Sean Walker, Abhi Lad, Michael Mazzola, Dan Tran, David Santos, Joseph Barbier, JC Louis, Andrei, Motoki Kono and 2 more
After I uninstalled ChatGPT.app, the standalone Codex CLI continued loading the
persisted entry and attempted to launch the deleted ChatGPT-owned executable:
MCP client for `node_repl` failed to start: MCP startup failed:
No such file or directory (os error 2)
MCP startup incomplete (failed: node_repl)
Removing the [mcp_servers.node_repl] block suppresses the warning.
The lifecycle failure is:
ChatGPT Desktop installs and configures a private node_repl executable
located inside its own application bundle.
That MCP entry is stored in the configuration shared with Codex CLI.
Uninstalling ChatGPT.app removes the executable but leaves the shared MCP
configuration behind.
Standalone Codex CLI continues attempting to launch the deleted executable
on every startup.
The CLI reports only No such file or directory (os error 2) without
identifying the missing command path or providing remediation.
Uninstalling ChatGPT Desktop should remove or disable the MCP entries it created
for executables contained within its application bundle. Codex CLI should also
handle stale STDIO MCP paths more gracefully by:
identifying the missing configured command;
explaining which config.toml entry caused the failure; and
suggesting that the user remove, disable, or repair that entry.
A separately installed ChatGPT application should not leave standalone Codex
CLI in a persistently degraded startup state after it is uninstalled.
Activity
github-actions commentedon Jul 11, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
caleb531 commentedon Jul 13, 2026
I can confirm I have the same issue: when Codex CLI starts a new session, I receive the following warning messages:
This issue is also completely unrelated to the above issues that the GitHub bot thought to be duplicates.
Mazzorella commentedon Jul 15, 2026
• I reproduced this with Codex CLI 0.144.4 on macOS 26.4.1
(Darwin 25.4.0 arm64).
I use the standalone Codex CLI and do not have Codex.app installed.
The ChatGPT desktop app wrote the following MCP configuration to the shared
~/.codex/config.toml:After I uninstalled ChatGPT.app, the standalone Codex CLI continued loading the
persisted entry and attempted to launch the deleted ChatGPT-owned executable:
Removing the
[mcp_servers.node_repl]block suppresses the warning.The lifecycle failure is:
node_replexecutablelocated inside its own application bundle.
configuration behind.
on every startup.
No such file or directory (os error 2)withoutidentifying the missing command path or providing remediation.
Uninstalling ChatGPT Desktop should remove or disable the MCP entries it created
for executables contained within its application bundle. Codex CLI should also
handle stale STDIO MCP paths more gracefully by:
config.tomlentry caused the failure; andA separately installed ChatGPT application should not leave standalone Codex
CLI in a persistently degraded startup state after it is uninstalled.
Uploaded diagnostic thread:
019f67f7-ea44-79f2-9b9e-41ff3341f415maple5233 commentedon Jul 16, 2026
bump
mellor17 commentedon Jul 29, 2026
same here :(
vgorloff commentedon Aug 3, 2026
+1 Same issue after uninstalling ChatGPT.app.
GrainRainAndy commentedon Aug 21, 2026
Same issue though keep using ChatGPT.app :(
sanand0 commentedon Aug 30, 2026
I removed the relevant lines from
~/.codex/config.toml:That temporarily resolved the issue.
But when I upgraded Codex, these were re-created.