Skip to content

Codex Cli MCPs issue when using subagents #16821

Open

Description

@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?

Image

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

Activity

  1. added
    bug
    on Apr 5, 2026
  2. added
    CLI
    mcp
    on Apr 5, 2026
  3. added
    agent
    and removed
    CLI
    on Apr 5, 2026
  4. bfreiband commented on Apr 6, 2026

    @bfreiband

    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)?

  5. added
    subagent
    and removed
    agent
    on Apr 11, 2026
  6. stewartadam commented on Apr 13, 2026

    @stewartadam

    Seeing this on /review skill consistently.

  7. Pdzly commented on Apr 20, 2026

    @Pdzly

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmcpsubagent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions