Codex Cli MCPs issue when using subagents

Open 💬 4 comments Opened Apr 5, 2026 by aymenmerabta5
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #16583
  • #16475
  • #16527
  • #16657

Powered by Codex Action

bfreiband · 4 months ago

I'm consistently seeing this same thing on macos. Is there any additional info I could gather that would folks help figure out why it hangs on Starting MCP servers (2/3)?

stewartadam · 4 months ago

Seeing this on /review skill consistently.

Pdzly · 4 months ago

I have this always on any SECOND+ subagent, first agent starts normal but the second always get stuck