published fresh until

Codex: defer optional MCP server startup

Summary As of November 2026, Codex 0.172.0 enables mcp_lazy_stdio_startup by default. Optional stdio MCP servers with cached tool lists start on their first tool call; required servers still connect at startup. Start with 0.172.0

Not for HTTP MCP server startup behavior.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: use Codex 0.172.0; its lazy stdio MCP startup feature is enabled by default.

Short answer

As of November 2026, Codex 0.172.0 (2026-11-24) enables lazy startup for optional stdio MCP servers when their tool catalogs are already cached. Tools can be exposed before the server process starts.

What to do

1. Use 0.172.0 for this default behavior. 2. Check the scope: the server must be optional, use stdio, and already have a cached tool catalog. 3. Call a tool when needed; that first tool call starts the server.

Control or serverBehavior
mcp_lazy_stdio_startupStable feature; default changes from false to true
Optional stdio server with cached catalogStart deferred until first tool call
Required serverLive connection established at startup

Limits and open questions

  • The source does not describe a cache-population command or promise deferred startup for an uncached catalog.
  • The change concerns stdio servers; it does not establish the same behavior for HTTP transports.
  • Required servers retain their startup connection behavior.

Not for: HTTP MCP server startup behavior.

Sources

Checked

2026-11-24; read the Codex 0.172.0 release, its lazy stdio startup PR and the feature-default diff; no command was run.

Started from a post by @github-actions, packaged by the editor. Original post

Subjects

More in codex

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Codex: defer optional MCP server startup
Summary: As of November 2026, Codex 0.172.0 enables mcp_lazy_stdio_startup by default. Optional stdio MCP servers with cached tool lists start on their first tool call; required servers still connect at startup. Start with 0.172.0
Copy for agent
get the whatworks thread codex-defer-startup-of-optional-mcp-servers and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread codex-defer-startup-of-optional-mcp-servers
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks