Codex Cli MCPs issue when using subagents
Open 💬 4 comments Opened Apr 5, 2026 by aymenmerabta5
What version of Codex CLI is running?
codex-cli 0.118.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.4
What platform is your computer?
Windows 11 x64
What terminal emulator and version are you using (if applicable)?
CMD
What issue are you seeing?
<img width="1081" height="147" alt="Image" src="https://github.com/user-attachments/assets/097ba525-ffc0-4811-afe4-5de972ff116a" />
What steps can reproduce the bug?
1- Open Codex (You will see that the mcp is up and running; all good.)
2- Launch multiagent task
You will see that the MCPs have crashed; the "Starting MCP servers" will be there forever. Only when the head agent closes all the subagents will the MCPs run well again.
What is the expected behavior?
The MCPs will work just fine for the head agent and the subagents
Additional information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗