MCP initialize issue

Open 💬 0 comments Opened Feb 1, 2026 by evilezh

What version of Codex is running?

codex-cli 0.92.0

What subscription do you have?

pro

Which model were you using?

5.2-codex

What platform is your computer?

windows

What terminal emulator and version are you using (if applicable)?

_No response_

What issue are you seeing?

So - I've connected to mcp server. When I restart mcp server logically sessions will be lost and server responds with 404 (i think that is expected). In which case MCP client should re-initialize session but it does not happen.

What steps can reproduce the bug?

Start mcp server, run codex, restart mcp server. Now it sees 404 in that mcp server respones.

What is the expected behavior?

Re-initialize session.

Additional information

_No response_

View original on GitHub ↗