Playbooks · Coding tasks
Codex 0.172.0 opens thread links and lazy MCP startup
Written November 24, 2026
Codex 0.172.0 opens thread links in the TUI, completes slash command arguments, starts optional MCP servers lazily, and adds per-tool approval reviewers.
Codex 0.172.0 is mostly a terminal release. Saved conversations and nested agents open from links inside the TUI instead of sending you elsewhere, slash commands complete their own arguments, and optional MCP servers wait for their first tool call instead of starting at launch. Approval review can now be set per connected app tool, and a set of fixes makes resumed, remote, and interrupted sessions keep the context they had.
Thread links open inside the terminal
Follow a thread link from search results or from a transcript and the saved conversation opens in the terminal. The same applies to nested agents: a link to an agent inside a conversation opens that agent in the TUI rather than leaving you to find it by hand. For anyone who keeps long-running work in saved threads, or searches old transcripts for a decision an agent already made, the link now goes somewhere useful.
Slash commands complete their arguments
Press Tab while typing a slash command and Codex completes arguments for the supported commands. The release notes give one example: /mcp lo completes to /mcp login. Slash commands are how most TUI features are reached, and argument completion removes the need to remember the exact subcommand spelling before you can use one.
In the agent command center, Shift+Up and Shift+Down jump between task groups. If you run several agents at once and group their tasks, you can move between groups from the keyboard instead of stepping through every task in between.
Optional MCP servers start on first use
An optional stdio MCP server with a cached tool list no longer starts when Codex launches. It starts on its first tool call instead, and that is now the default behavior. A configuration with several optional servers pays no startup cost for the ones a session never touches, and a slow server only delays the first call that actually needs it. The notes scope this change to optional stdio servers whose tool lists are cached.
Approval reviewers can be set per tool
Approval review can now be set for individual connected app tools in config.toml. Before this release, the reviewer could not be chosen per tool, so a tool you trusted and a tool you wanted watched were handled the same way. Now each connected app tool can carry its own reviewer setting, which lets a cautious setting stay on the tools that need it without slowing down the rest.
Bedrock Runtime is a setup choice
App-server clients can select Amazon Bedrock Runtime during setup or sign-in. If your Codex traffic runs through Bedrock, the choice is available at the point where the client is configured, rather than being something to work around afterward.
Resumed and remote sessions keep their context
codex exec resume restores the saved sandbox permissions, the working directory, and the workspace roots from the session being resumed, unless you explicitly override them. A resumed run therefore works under the same restrictions and in the same place as the original, instead of quietly falling back to defaults.
Remote sessions get the same treatment across operating systems. When the client and the server run on different operating systems, the session preserves the working directory, the workspace roots, and the writable paths. Paths that were writable stay writable, and the session does not lose its place because the two ends lay out the filesystem differently.
Errors surface early, and interruptions keep queued replies
Provider errors now surface as soon as they arrive in the response stream, and the message identifies which API spend limit was reached. A run that has hit a spend limit says so when it happens, rather than failing later in a way that looks like a network problem.
Interrupting a parent turn no longer throws away work queued behind it. Replies that child agents had queued are preserved for the next turn, so stopping a parent agent does not discard answers its children had already produced.
Two smaller display fixes round out the section. PageUp and PageDown read and submit answer choices taller than the terminal's answer area, so a long list of choices is no longer cut off. And a cloud reply that finishes after the history has loaded updates in place, keeping the transcript in order instead of appending out of sequence.
Code Mode moves to gRPC, and the docs skill moves to GPT-6.2
Under the surface, Code Mode now uses gRPC for all host connections, and the code_mode_host_grpc setting is deprecated. If your configuration sets it, it no longer controls anything. The bundled openai-docs skill now covers migration to GPT-6.2 Astra and Sol, including endpoint choices and tool-calling requirements. On the repository side, Python formatting and SDK type generation now verify dependency hashes against the lockfile.
What to do
- Upgrade to 0.172.0 and follow a thread link from search results or a transcript to open a saved conversation or nested agent in the terminal.
- Press
Tabafter typing part of a slash command argument, such as/mcp lo, to complete it. - Use
Shift+UpandShift+Downin the agent command center to jump between task groups. - Do not start optional stdio MCP servers with cached tool lists at launch, since they now start on their first tool call by default.
- Set an approval reviewer for individual connected app tools in
config.tomlwhere a tool needs its own setting. - Select Amazon Bedrock Runtime during setup or sign-in if you configure an app-server client against Bedrock.
- Resume with
codex exec resumeand expect the saved sandbox permissions, working directory, and workspace roots to carry over unless you override them. - Remove or ignore the deprecated
code_mode_host_grpcsetting, since Code Mode now uses gRPC for all host connections.
Related playbooks
- Queue a Codex message and resume the thread
- Manage Airbyte pipelines through its MCP server
- Apify MCP Server 0.21.8 hardens the bridge
- AWS MCP server let deny lists silently fail
Sources
- Codex rust-v0.172.0 release notes — GitHub — The thread links in the TUI, slash command argument completion, task group navigation, lazy startup for optional stdio MCP servers, per-tool approval reviewers, Bedrock Runtime selection, the resume and remote-session fixes, the provider error and interruption fixes, the gRPC change, and the updated `openai-docs` skill.
Back to: Coding playbooks hub · Also: Codex 0.171 turns on the TUI workspace