{"slug": "codex-0-172-starts-cached-stdio-mcp-servers-on-first-use", "title": "Codex 0.172 starts cached stdio MCP servers on first use", "summary": "OpenAI released Codex 0.172.0, which by default starts optional stdio MCP servers with cached tool lists on their first tool call rather than at launch. The release also adds Tab completion for slash-command arguments, Shift+Up/Shift+Down navigation between task groups in the agent command center, per-tool approval reviewers for connected app tools in config.toml, and Amazon Bedrock Runtime selection for app-server clients during setup or sign-in. Bug fixes include codex exec resume restoring saved sandbox permissions, working directory and workspace roots, and provider errors now reporting which API spend limit was reached.", "body_md": "## Repository navigation\n\n[github-actions](https://github.com/apps/github-actions)released this\n\n          ·\n          \n\n[297 commits](https://github.com/openai/codex/compare/rust-v0.172.0...main)to main since this release\n## New Features\n\n- Follow thread links from search results and transcripts to open saved conversations and nested agents in the terminal. ([#62332](https://github.com/openai/codex/pull/62332) )\n- Press `Tab` to complete arguments for supported slash commands. For example,`/mcp lo` completes to`/mcp login` . ([#62343](https://github.com/openai/codex/pull/62343) )\n- Jump between task groups in the agent command center with `Shift+Up` and`Shift+Down` . ([#62200](https://github.com/openai/codex/pull/62200) )\n- Optional stdio MCP servers with cached tool lists now start on their first tool call by default. ([#62366](https://github.com/openai/codex/pull/62366) )\n- Set an approval reviewer for individual connected app tools in `config.toml` . ([#62360](https://github.com/openai/codex/pull/62360) )\n- App-server clients can select Amazon Bedrock Runtime during setup or sign-in. ([#62222](https://github.com/openai/codex/pull/62222) )\n\n## Bug Fixes\n\n- `codex exec resume` restores saved sandbox permissions, the working directory, and workspace roots unless explicitly overridden. ([#62194](https://github.com/openai/codex/pull/62194) )\n- Remote sessions preserve working directories, workspace roots, and writable paths when the client and server run on different operating systems. ([#62375](https://github.com/openai/codex/pull/62375) ,[#62376](https://github.com/openai/codex/pull/62376) ,[#62377](https://github.com/openai/codex/pull/62377) )\n- Codex reports provider errors as soon as they arrive in a response stream and identifies which API spend limit was reached. ([#62329](https://github.com/openai/codex/pull/62329) ,[#62356](https://github.com/openai/codex/pull/62356) )\n- Interrupting a parent turn preserves queued replies from child agents for the next turn. ([#62348](https://github.com/openai/codex/pull/62348) )\n- Use `PageUp` and`PageDown` to read and submit answer choices that are taller than the terminal’s answer area. ([#62209](https://github.com/openai/codex/pull/62209) )\n- Cloud replies that finish after history loads now update in place, keeping the terminal transcript in order. ([#62403](https://github.com/openai/codex/pull/62403) )\n\n## Documentation\n\n- The bundled `openai-docs` skill now covers migration to GPT-6.2 Astra and Sol, including endpoint choices and tool-calling requirements. ([#62447](https://github.com/openai/codex/pull/62447) )\n\n## Chores\n\n- Code Mode now uses gRPC for all host connections. The `code_mode_host_grpc` setting is deprecated. ([#62476](https://github.com/openai/codex/pull/62476) )\n- Python formatting and SDK type generation now verify dependency hashes against the repository lockfile. ([#62346](https://github.com/openai/codex/pull/62346) )\n\n## Changelog\n\nFull Changelog: `rust-v0.171.0...rust-v0.172.0`\n\n- [#62190](https://github.com/openai/codex/pull/62190) Route turn and response checkpoints through the rollout budget policy[@anp-oai](https://github.com/anp-oai)\n- [#62192](https://github.com/openai/codex/pull/62192) Distinguish Windows sandbox provisioning timeouts and pipe closures[@zm-oai](https://github.com/zm-oai)\n- [#62194](https://github.com/openai/codex/pull/62194) Preserve saved sandbox permissions when resuming`codex exec`[@viyatb-oai](https://github.com/viyatb-oai)\n- [#62200](https://github.com/openai/codex/pull/62200) Add task group navigation to the agent command center[@bc-openai](https://github.com/bc-openai)\n- [#62202](https://github.com/openai/codex/pull/62202) Omit unknown server versions from`/status`[@bc-openai](https://github.com/bc-openai)\n- [#62205](https://github.com/openai/codex/pull/62205) Keep sandbox preparation with the command through launch[@viyatb-oai](https://github.com/viyatb-oai)\n- [#62206](https://github.com/openai/codex/pull/62206) Prevent duplicate initial context when injection races the first turn[@euroelessar](https://github.com/euroelessar)\n- [#62209](https://github.com/openai/codex/pull/62209) Allow paging through long choices in async questions[@bc-openai](https://github.com/bc-openai)\n- [#62215](https://github.com/openai/codex/pull/62215) Resolve Linux sandbox mode once before launching the helper[@viyatb-oai](https://github.com/viyatb-oai)\n- [#62222](https://github.com/openai/codex/pull/62222) Allow Bedrock Runtime selection during setup and login[@alexsong-oai](https://github.com/alexsong-oai)\n- [#62225](https://github.com/openai/codex/pull/62225) Tag Guardian review counts with turn origin[@cazhang-oai](https://github.com/cazhang-oai)\n- [#62245](https://github.com/openai/codex/pull/62245) Refactor realtime handoff and history access[@zahan-oai](https://github.com/zahan-oai)\n- [#62251](https://github.com/openai/codex/pull/62251) Derive realtime input receipts from thread history[@zahan-oai](https://github.com/zahan-oai)\n- [#62271](https://github.com/openai/codex/pull/62271) Gate local realtime frame history on paginated storage[@zahan-oai](https://github.com/zahan-oai)\n- [#62274](https://github.com/openai/codex/pull/62274) Support independent refreshes of managed Guardian policy[@ioanbudea-OAI](https://github.com/ioanbudea-OAI)\n- [#62276](https://github.com/openai/codex/pull/62276) Refresh managed Guardian policy independently of MCP[@ioanbudea-OAI](https://github.com/ioanbudea-OAI)\n- [#62284](https://github.com/openai/codex/pull/62284) Use the system clock for in-memory MCP message boards[@jif-oai](https://github.com/jif-oai)\n- [#62288](https://github.com/openai/codex/pull/62288) Persist realtime handoffs before accepting turn input[@zahan-oai](https://github.com/zahan-oai)\n- [#62292](https://github.com/openai/codex/pull/62292) Route injected plaintext agent mail through the native mailbox[@jif-oai](https://github.com/jif-oai)\n- [#62299](https://github.com/openai/codex/pull/62299) Preserve pending realtime speech when a call ends[@zahan-oai](https://github.com/zahan-oai)\n- [#62302](https://github.com/openai/codex/pull/62302) Route local MCP board notifications through response item injection[@jif-oai](https://github.com/jif-oai)\n- [#62308](https://github.com/openai/codex/pull/62308) Extract Guardian verdict execution and pending-action context[@felixxia-oai](https://github.com/felixxia-oai)\n- [#62309](https://github.com/openai/codex/pull/62309) Use attached Guardian reviewers for synchronous approvals[@felixxia-oai](https://github.com/felixxia-oai)\n- [#62310](https://github.com/openai/codex/pull/62310) Use Guardian V3 board evidence for synchronous approvals[@felixxia-oai](https://github.com/felixxia-oai)\n- [#62314](https://github.com/openai/codex/pull/62314) Keep authorization evidence local to agent forks[@rhan-oai](https://github.com/rhan-oai)\n- [#62317](https://github.com/openai/codex/pull/62317) Move sandbox preparation into platform backends[@viyatb-oai](https://github.com/viyatb-oai)\n- [#62320](https://github.com/openai/codex/pull/62320) Trace MCP binding capture and tool catalog refresh[@bkotsopoulos](https://github.com/bkotsopoulos)\n- [#62325](https://github.com/openai/codex/pull/62325) Accept inbound Noise connections in remote exec-server[@richardopenai](https://github.com/richardopenai)\n- [#62326](https://github.com/openai/codex/pull/62326) Measure plugin recommendation latency during initial context setup[@bkotsopoulos](https://github.com/bkotsopoulos)\n- [#62329](https://github.com/openai/codex/pull/62329) Report API spend limit errors by scope[@apcha-oai](https://github.com/apcha-oai)\n- [#62331](https://github.com/openai/codex/pull/62331) Migrate the Windows MXC sandbox to the public V1 SDK[@iceweasel-oai](https://github.com/iceweasel-oai)\n- [#62332](https://github.com/openai/codex/pull/62332) Open Codex thread links inside the TUI[@bc-openai](https://github.com/bc-openai)\n- [#62335](https://github.com/openai/codex/pull/62335) Let users open the command center from provider error screens[@bc-openai](https://github.com/bc-openai)\n- [#62337](https://github.com/openai/codex/pull/62337) Box the config reload future for persistent MCP tool approvals[@dylan-hurd-oai](https://github.com/dylan-hurd-oai)\n- [#62338](https://github.com/openai/codex/pull/62338) Account for macOS voice build parallelism in Bazel[@dylan-hurd-oai](https://github.com/dylan-hurd-oai)\n- [#62343](https://github.com/openai/codex/pull/62343) Add slash command argument completion to the TUI composer[@bc-openai](https://github.com/bc-openai)\n- [#62346](https://github.com/openai/codex/pull/62346) Verify dependency hashes when running Python repository tools[@colby-oai](https://github.com/colby-oai)\n- [#62348](https://github.com/openai/codex/pull/62348) Preserve queued agent messages when a parent turn is interrupted[@jif-oai](https://github.com/jif-oai)\n- [#62350](https://github.com/openai/codex/pull/62350) Support piped I/O when starting Seatbelt sandbox commands[@charliemarsh-oai](https://github.com/charliemarsh-oai)\n- [#62353](https://github.com/openai/codex/pull/62353) Add a shared sandbox launcher for Linux and macOS[@charliemarsh-oai](https://github.com/charliemarsh-oai)\n- [#62354](https://github.com/openai/codex/pull/62354) Treat statusless bio and cyber policy errors as terminal[@charliemarsh-oai](https://github.com/charliemarsh-oai)\n- [#62356](https://github.com/openai/codex/pull/62356) Surface Responses stream errors as soon as they arrive[@charliemarsh-oai](https://github.com/charliemarsh-oai)\n- [#62357](https://github.com/openai/codex/pull/62357) Report why turn critical path capture is incomplete[@akak-oai](https://github.com/akak-oai)\n- [#62358](https://github.com/openai/codex/pull/62358) Reserve credential permission tables in Codex configuration[@viyatb-oai](https://github.com/viyatb-oai)\n- [#62360](https://github.com/openai/codex/pull/62360) Allow per-tool approval reviewers for Codex apps[@jameswt-oai](https://github.com/jameswt-oai)\n- [#62362](https://github.com/openai/codex/pull/62362) Make sidebar file preview errors easier to act on[@fcoury-oai](https://github.com/fcoury-oai)\n- [#62366](https://github.com/openai/codex/pull/62366) Enable lazy startup for stdio MCP servers by default[@charliemarsh-oai](https://github.com/charliemarsh-oai)\n- [#62370](https://github.com/openai/codex/pull/62370) Share config layer entries across snapshots[@charliemarsh-oai](https://github.com/charliemarsh-oai)\n- [#62372](https://github.com/openai/codex/pull/62372) Make Guardian V3 routing and retrieval guidance configurable[@felixxia-oai](https://github.com/felixxia-oai)\n- [#62373](https://github.com/openai/codex/pull/62373) Add opt-in in-memory message boards for Guardian v3[@felixxia-oai](https://github.com/felixxia-oai)\n- [#62374](https://github.com/openai/codex/pull/62374) Reconsider denials in attached Guardian reviews[@felixxia-oai](https://github.com/felixxia-oai)\n- [#62375](https://github.com/openai/codex/pull/62375) Preserve app-server thread working directories across platforms[@etraut-openai](https://github.com/etraut-openai)\n- [#62376](https://github.com/openai/codex/pull/62376) Preserve sandbox writable roots across client and server platforms[@etraut-openai](https://github.com/etraut-openai)\n- [#62377](https://github.com/openai/codex/pull/62377) Preserve workspace roots across client and server platforms[@etraut-openai](https://github.com/etraut-openai)\n- [#62378](https://github.com/openai/codex/pull/62378) Remove the 4,000-byte prompt limit for`thread/sample`[@keyz](https://github.com/keyz)\n- [#62382](https://github.com/openai/codex/pull/62382) Skip the sandbox denial wait when unified exec output closes[@richardopenai](https://github.com/richardopenai)\n- [#62384](https://github.com/openai/codex/pull/62384) Centralize transcript overlay input routing[@fcoury-oai](https://github.com/fcoury-oai)\n- [#62386](https://github.com/openai/codex/pull/62386) Prepare managed proxy settings once per sandbox command[@viyatb-oai](https://github.com/viyatb-oai)\n- [#62387](https://github.com/openai/codex/pull/62387) Expose custom status lines in`/experimental`[@joesavona](https://github.com/joesavona)\n- [#62388](https://github.com/openai/codex/pull/62388) Support optional Apps tool results in Responses requests[@ssetty-oai](https://github.com/ssetty-oai)\n- [#62389](https://github.com/openai/codex/pull/62389) Pause runtime sandbox integrity checks[@iceweasel-oai](https://github.com/iceweasel-oai)\n- [#62390](https://github.com/openai/codex/pull/62390) Highlight clickable links and controls on hover in the fullscreen TUI[@fcoury-oai](https://github.com/fcoury-oai)\n- [#62392](https://github.com/openai/codex/pull/62392) Pass eligible connector results through to ChatGPT Responses[@ssetty-oai](https://github.com/ssetty-oai)\n- [#62400](https://github.com/openai/codex/pull/62400) Test saved chat hover highlighting in the sidebar chooser[@fcoury-oai](https://github.com/fcoury-oai)\n- [#62403](https://github.com/openai/codex/pull/62403) Reconcile unfinished Cloud replies in the TUI transcript[@bc-openai](https://github.com/bc-openai)\n- [#62407](https://github.com/openai/codex/pull/62407) Deduplicate large tool output strings in rollout traces[@cassirer-openai](https://github.com/cassirer-openai)\n- [#62415](https://github.com/openai/codex/pull/62415) Enable network access in the shell snapshot filesystem test[@TAFOYA-OAI](https://github.com/TAFOYA-OAI)\n- [#62419](https://github.com/openai/codex/pull/62419) Allow per-sample model overrides in`thread/sample`[@keyz](https://github.com/keyz)\n- [#62420](https://github.com/openai/codex/pull/62420) Box the future returned by response item injection[@charliemarsh-oai](https://github.com/charliemarsh-oai)\n- [#62421](https://github.com/openai/codex/pull/62421) Reject provider query parameters for connector result passthrough[@ssetty-oai](https://github.com/ssetty-oai)\n- [#62423](https://github.com/openai/codex/pull/62423) Include nested Apps tool results in Code Mode sampling requests[@ssetty-oai](https://github.com/ssetty-oai)\n- [#62430](https://github.com/openai/codex/pull/62430) Support tool-specific JavaScript preloads in Code Mode[@hlevy-openai](https://github.com/hlevy-openai)\n- [#62432](https://github.com/openai/codex/pull/62432) Add opt-in OAuth discovery to config server loaders[@vishnu-oai](https://github.com/vishnu-oai)\n- [#62434](https://github.com/openai/codex/pull/62434) Expand connector result metadata coverage across auth configurations[@ssetty-oai](https://github.com/ssetty-oai)\n- [#62435](https://github.com/openai/codex/pull/62435) Let extensions attach metadata to MCP tool requests[@tepman-oai](https://github.com/tepman-oai)\n- [#62437](https://github.com/openai/codex/pull/62437) Defer Git worktree status until the turn starts[@ningyi-oai](https://github.com/ningyi-oai)\n- [#62439](https://github.com/openai/codex/pull/62439) Add Windows MXC sandbox launch diagnostics[@iceweasel-oai](https://github.com/iceweasel-oai)\n- [#62447](https://github.com/openai/codex/pull/62447) Update the`openai-docs` skill for GPT-6.2[@kkahadze-oai](https://github.com/kkahadze-oai)\n- [#62474](https://github.com/openai/codex/pull/62474) Send authorized connector results over Responses WebSockets[@ssetty-oai](https://github.com/ssetty-oai)\n- [#62476](https://github.com/openai/codex/pull/62476) Use gRPC for all code-mode host connections[@cconger](https://github.com/cconger)\n- [#62477](https://github.com/openai/codex/pull/62477) Box the thread startup future in`spawn_thread`[@charliemarsh-oai](https://github.com/charliemarsh-oai)\n- [#62489](https://github.com/openai/codex/pull/62489) Honor elastic budgets for attached Guardian reviews[@felixxia-oai](https://github.com/felixxia-oai)\n- [#62496](https://github.com/openai/codex/pull/62496) Refresh managed Guardian policy across Codex threads[@ioanbudea-OAI](https://github.com/ioanbudea-OAI)\n- [#62499](https://github.com/openai/codex/pull/62499) Expose Daybreak availability in model discovery[@igorrybalka-oai](https://github.com/igorrybalka-oai)\n- [#62507](https://github.com/openai/codex/pull/62507) Add Statsig counters for`exec_command` latency[@jif-oai](https://github.com/jif-oai)", "url": "https://wpnews.pro/news/codex-0-172-starts-cached-stdio-mcp-servers-on-first-use", "canonical_source": "https://github.com/openai/codex/releases/tag/rust-v0.172.0", "published_at": "2026-11-23 00:00:00+00:00", "updated_at": "2026-11-24 20:46:53.314547+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "developer-tools", "ai-tools"], "entities": ["OpenAI", "Codex", "Amazon Bedrock Runtime", "GPT-6.2 Astra", "Sol", "Code Mode"], "also_reported_by": [], "takeaway": "Optional stdio MCP servers with cached tool lists now start on their first tool call by default, and Code Mode host connections all use gRPC, deprecating the code_mode_host_grpc setting.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/codex-0-172-starts-cached-stdio-mcp-servers-on-first-use", "markdown": "https://wpnews.pro/news/codex-0-172-starts-cached-stdio-mcp-servers-on-first-use.md", "text": "https://wpnews.pro/news/codex-0-172-starts-cached-stdio-mcp-servers-on-first-use.txt", "jsonld": "https://wpnews.pro/news/codex-0-172-starts-cached-stdio-mcp-servers-on-first-use.jsonld"}}