# Codex 0.172 starts cached stdio MCP servers on first use

> Source: <https://github.com/openai/codex/releases/tag/rust-v0.172.0>
> Published: 2026-11-23 00:00:00+00:00

**Key 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.

## Repository navigation

[github-actions](https://github.com/apps/github-actions)released this

          ·
          

[297 commits](https://github.com/openai/codex/compare/rust-v0.172.0...main)to main since this release
## New Features

- 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) )
- 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) )
- Jump between task groups in the agent command center with `Shift+Up` and`Shift+Down` . ([#62200](https://github.com/openai/codex/pull/62200) )
- 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) )
- Set an approval reviewer for individual connected app tools in `config.toml` . ([#62360](https://github.com/openai/codex/pull/62360) )
- App-server clients can select Amazon Bedrock Runtime during setup or sign-in. ([#62222](https://github.com/openai/codex/pull/62222) )

## Bug Fixes

- `codex exec resume` restores saved sandbox permissions, the working directory, and workspace roots unless explicitly overridden. ([#62194](https://github.com/openai/codex/pull/62194) )
- 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) )
- 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) )
- Interrupting a parent turn preserves queued replies from child agents for the next turn. ([#62348](https://github.com/openai/codex/pull/62348) )
- 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) )
- 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) )

## Documentation

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

## Chores

- 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) )
- Python formatting and SDK type generation now verify dependency hashes against the repository lockfile. ([#62346](https://github.com/openai/codex/pull/62346) )

## Changelog

Full Changelog: `rust-v0.171.0...rust-v0.172.0`

- [#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)
- [#62192](https://github.com/openai/codex/pull/62192) Distinguish Windows sandbox provisioning timeouts and pipe closures[@zm-oai](https://github.com/zm-oai)
- [#62194](https://github.com/openai/codex/pull/62194) Preserve saved sandbox permissions when resuming`codex exec`[@viyatb-oai](https://github.com/viyatb-oai)
- [#62200](https://github.com/openai/codex/pull/62200) Add task group navigation to the agent command center[@bc-openai](https://github.com/bc-openai)
- [#62202](https://github.com/openai/codex/pull/62202) Omit unknown server versions from`/status`[@bc-openai](https://github.com/bc-openai)
- [#62205](https://github.com/openai/codex/pull/62205) Keep sandbox preparation with the command through launch[@viyatb-oai](https://github.com/viyatb-oai)
- [#62206](https://github.com/openai/codex/pull/62206) Prevent duplicate initial context when injection races the first turn[@euroelessar](https://github.com/euroelessar)
- [#62209](https://github.com/openai/codex/pull/62209) Allow paging through long choices in async questions[@bc-openai](https://github.com/bc-openai)
- [#62215](https://github.com/openai/codex/pull/62215) Resolve Linux sandbox mode once before launching the helper[@viyatb-oai](https://github.com/viyatb-oai)
- [#62222](https://github.com/openai/codex/pull/62222) Allow Bedrock Runtime selection during setup and login[@alexsong-oai](https://github.com/alexsong-oai)
- [#62225](https://github.com/openai/codex/pull/62225) Tag Guardian review counts with turn origin[@cazhang-oai](https://github.com/cazhang-oai)
- [#62245](https://github.com/openai/codex/pull/62245) Refactor realtime handoff and history access[@zahan-oai](https://github.com/zahan-oai)
- [#62251](https://github.com/openai/codex/pull/62251) Derive realtime input receipts from thread history[@zahan-oai](https://github.com/zahan-oai)
- [#62271](https://github.com/openai/codex/pull/62271) Gate local realtime frame history on paginated storage[@zahan-oai](https://github.com/zahan-oai)
- [#62274](https://github.com/openai/codex/pull/62274) Support independent refreshes of managed Guardian policy[@ioanbudea-OAI](https://github.com/ioanbudea-OAI)
- [#62276](https://github.com/openai/codex/pull/62276) Refresh managed Guardian policy independently of MCP[@ioanbudea-OAI](https://github.com/ioanbudea-OAI)
- [#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)
- [#62288](https://github.com/openai/codex/pull/62288) Persist realtime handoffs before accepting turn input[@zahan-oai](https://github.com/zahan-oai)
- [#62292](https://github.com/openai/codex/pull/62292) Route injected plaintext agent mail through the native mailbox[@jif-oai](https://github.com/jif-oai)
- [#62299](https://github.com/openai/codex/pull/62299) Preserve pending realtime speech when a call ends[@zahan-oai](https://github.com/zahan-oai)
- [#62302](https://github.com/openai/codex/pull/62302) Route local MCP board notifications through response item injection[@jif-oai](https://github.com/jif-oai)
- [#62308](https://github.com/openai/codex/pull/62308) Extract Guardian verdict execution and pending-action context[@felixxia-oai](https://github.com/felixxia-oai)
- [#62309](https://github.com/openai/codex/pull/62309) Use attached Guardian reviewers for synchronous approvals[@felixxia-oai](https://github.com/felixxia-oai)
- [#62310](https://github.com/openai/codex/pull/62310) Use Guardian V3 board evidence for synchronous approvals[@felixxia-oai](https://github.com/felixxia-oai)
- [#62314](https://github.com/openai/codex/pull/62314) Keep authorization evidence local to agent forks[@rhan-oai](https://github.com/rhan-oai)
- [#62317](https://github.com/openai/codex/pull/62317) Move sandbox preparation into platform backends[@viyatb-oai](https://github.com/viyatb-oai)
- [#62320](https://github.com/openai/codex/pull/62320) Trace MCP binding capture and tool catalog refresh[@bkotsopoulos](https://github.com/bkotsopoulos)
- [#62325](https://github.com/openai/codex/pull/62325) Accept inbound Noise connections in remote exec-server[@richardopenai](https://github.com/richardopenai)
- [#62326](https://github.com/openai/codex/pull/62326) Measure plugin recommendation latency during initial context setup[@bkotsopoulos](https://github.com/bkotsopoulos)
- [#62329](https://github.com/openai/codex/pull/62329) Report API spend limit errors by scope[@apcha-oai](https://github.com/apcha-oai)
- [#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)
- [#62332](https://github.com/openai/codex/pull/62332) Open Codex thread links inside the TUI[@bc-openai](https://github.com/bc-openai)
- [#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)
- [#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)
- [#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)
- [#62343](https://github.com/openai/codex/pull/62343) Add slash command argument completion to the TUI composer[@bc-openai](https://github.com/bc-openai)
- [#62346](https://github.com/openai/codex/pull/62346) Verify dependency hashes when running Python repository tools[@colby-oai](https://github.com/colby-oai)
- [#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)
- [#62350](https://github.com/openai/codex/pull/62350) Support piped I/O when starting Seatbelt sandbox commands[@charliemarsh-oai](https://github.com/charliemarsh-oai)
- [#62353](https://github.com/openai/codex/pull/62353) Add a shared sandbox launcher for Linux and macOS[@charliemarsh-oai](https://github.com/charliemarsh-oai)
- [#62354](https://github.com/openai/codex/pull/62354) Treat statusless bio and cyber policy errors as terminal[@charliemarsh-oai](https://github.com/charliemarsh-oai)
- [#62356](https://github.com/openai/codex/pull/62356) Surface Responses stream errors as soon as they arrive[@charliemarsh-oai](https://github.com/charliemarsh-oai)
- [#62357](https://github.com/openai/codex/pull/62357) Report why turn critical path capture is incomplete[@akak-oai](https://github.com/akak-oai)
- [#62358](https://github.com/openai/codex/pull/62358) Reserve credential permission tables in Codex configuration[@viyatb-oai](https://github.com/viyatb-oai)
- [#62360](https://github.com/openai/codex/pull/62360) Allow per-tool approval reviewers for Codex apps[@jameswt-oai](https://github.com/jameswt-oai)
- [#62362](https://github.com/openai/codex/pull/62362) Make sidebar file preview errors easier to act on[@fcoury-oai](https://github.com/fcoury-oai)
- [#62366](https://github.com/openai/codex/pull/62366) Enable lazy startup for stdio MCP servers by default[@charliemarsh-oai](https://github.com/charliemarsh-oai)
- [#62370](https://github.com/openai/codex/pull/62370) Share config layer entries across snapshots[@charliemarsh-oai](https://github.com/charliemarsh-oai)
- [#62372](https://github.com/openai/codex/pull/62372) Make Guardian V3 routing and retrieval guidance configurable[@felixxia-oai](https://github.com/felixxia-oai)
- [#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)
- [#62374](https://github.com/openai/codex/pull/62374) Reconsider denials in attached Guardian reviews[@felixxia-oai](https://github.com/felixxia-oai)
- [#62375](https://github.com/openai/codex/pull/62375) Preserve app-server thread working directories across platforms[@etraut-openai](https://github.com/etraut-openai)
- [#62376](https://github.com/openai/codex/pull/62376) Preserve sandbox writable roots across client and server platforms[@etraut-openai](https://github.com/etraut-openai)
- [#62377](https://github.com/openai/codex/pull/62377) Preserve workspace roots across client and server platforms[@etraut-openai](https://github.com/etraut-openai)
- [#62378](https://github.com/openai/codex/pull/62378) Remove the 4,000-byte prompt limit for`thread/sample`[@keyz](https://github.com/keyz)
- [#62382](https://github.com/openai/codex/pull/62382) Skip the sandbox denial wait when unified exec output closes[@richardopenai](https://github.com/richardopenai)
- [#62384](https://github.com/openai/codex/pull/62384) Centralize transcript overlay input routing[@fcoury-oai](https://github.com/fcoury-oai)
- [#62386](https://github.com/openai/codex/pull/62386) Prepare managed proxy settings once per sandbox command[@viyatb-oai](https://github.com/viyatb-oai)
- [#62387](https://github.com/openai/codex/pull/62387) Expose custom status lines in`/experimental`[@joesavona](https://github.com/joesavona)
- [#62388](https://github.com/openai/codex/pull/62388) Support optional Apps tool results in Responses requests[@ssetty-oai](https://github.com/ssetty-oai)
- [#62389](https://github.com/openai/codex/pull/62389) Pause runtime sandbox integrity checks[@iceweasel-oai](https://github.com/iceweasel-oai)
- [#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)
- [#62392](https://github.com/openai/codex/pull/62392) Pass eligible connector results through to ChatGPT Responses[@ssetty-oai](https://github.com/ssetty-oai)
- [#62400](https://github.com/openai/codex/pull/62400) Test saved chat hover highlighting in the sidebar chooser[@fcoury-oai](https://github.com/fcoury-oai)
- [#62403](https://github.com/openai/codex/pull/62403) Reconcile unfinished Cloud replies in the TUI transcript[@bc-openai](https://github.com/bc-openai)
- [#62407](https://github.com/openai/codex/pull/62407) Deduplicate large tool output strings in rollout traces[@cassirer-openai](https://github.com/cassirer-openai)
- [#62415](https://github.com/openai/codex/pull/62415) Enable network access in the shell snapshot filesystem test[@TAFOYA-OAI](https://github.com/TAFOYA-OAI)
- [#62419](https://github.com/openai/codex/pull/62419) Allow per-sample model overrides in`thread/sample`[@keyz](https://github.com/keyz)
- [#62420](https://github.com/openai/codex/pull/62420) Box the future returned by response item injection[@charliemarsh-oai](https://github.com/charliemarsh-oai)
- [#62421](https://github.com/openai/codex/pull/62421) Reject provider query parameters for connector result passthrough[@ssetty-oai](https://github.com/ssetty-oai)
- [#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)
- [#62430](https://github.com/openai/codex/pull/62430) Support tool-specific JavaScript preloads in Code Mode[@hlevy-openai](https://github.com/hlevy-openai)
- [#62432](https://github.com/openai/codex/pull/62432) Add opt-in OAuth discovery to config server loaders[@vishnu-oai](https://github.com/vishnu-oai)
- [#62434](https://github.com/openai/codex/pull/62434) Expand connector result metadata coverage across auth configurations[@ssetty-oai](https://github.com/ssetty-oai)
- [#62435](https://github.com/openai/codex/pull/62435) Let extensions attach metadata to MCP tool requests[@tepman-oai](https://github.com/tepman-oai)
- [#62437](https://github.com/openai/codex/pull/62437) Defer Git worktree status until the turn starts[@ningyi-oai](https://github.com/ningyi-oai)
- [#62439](https://github.com/openai/codex/pull/62439) Add Windows MXC sandbox launch diagnostics[@iceweasel-oai](https://github.com/iceweasel-oai)
- [#62447](https://github.com/openai/codex/pull/62447) Update the`openai-docs` skill for GPT-6.2[@kkahadze-oai](https://github.com/kkahadze-oai)
- [#62474](https://github.com/openai/codex/pull/62474) Send authorized connector results over Responses WebSockets[@ssetty-oai](https://github.com/ssetty-oai)
- [#62476](https://github.com/openai/codex/pull/62476) Use gRPC for all code-mode host connections[@cconger](https://github.com/cconger)
- [#62477](https://github.com/openai/codex/pull/62477) Box the thread startup future in`spawn_thread`[@charliemarsh-oai](https://github.com/charliemarsh-oai)
- [#62489](https://github.com/openai/codex/pull/62489) Honor elastic budgets for attached Guardian reviews[@felixxia-oai](https://github.com/felixxia-oai)
- [#62496](https://github.com/openai/codex/pull/62496) Refresh managed Guardian policy across Codex threads[@ioanbudea-OAI](https://github.com/ioanbudea-OAI)
- [#62499](https://github.com/openai/codex/pull/62499) Expose Daybreak availability in model discovery[@igorrybalka-oai](https://github.com/igorrybalka-oai)
- [#62507](https://github.com/openai/codex/pull/62507) Add Statsig counters for`exec_command` latency[@jif-oai](https://github.com/jif-oai)
