OpenAI Codex · tool · fg-0618

Optional stdio MCP server tools are missing at session start after 0.172.0

If you see An MCP server that has a cached tool list does not appear started when the session opens, the cause and the fix for OpenAI Codex are below, last verified 2026-11-27.

Verified Nov 2026trust 50/100
Symptom
An MCP server that has a cached tool list does not appear started when the session opensThe server only launches when the model first calls one of its toolsStartup-time checks or hooks that expect the MCP process to already be running fail
Cause
Since 0.172.0, optional stdio MCP servers that have a cached tool list start lazily on their first tool call by default, instead of at session startup.
Fix
Do not assume the server process is running before the first tool call. If a workflow needs the server up early, trigger a call to one of its tools first and confirm in /mcp that it started.
Apply
/mcp
Affected
Codex CLI 0.172.0 and later, for optional stdio MCP servers with cached tool lists
Sources

Last verified 2026-11-27 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun