r/CodexAutomation • u/anonomotorious • 3d ago
News & Releases Codex CLI 0.173.0 shares MCP connections by default and adds blocking tool hooks
TL;DR
Codex 0.173.0 is a stable release that shares MCP connections by default, adds a way for supported synchronous hooks to block a tool after a failed pre-check, and lets administrators disable daemon updates through managed policy.
What changed
MCP connections are now shared by default. The release also supports older local servers that require initialize as their first request. For synchronous command and MCP tool hooks, onFailure can be set to block; a failed PreToolUse check then prevents the tool from running. This applies to supported synchronous hooks, not every hook.
Administrators can set features.daemon_updates = false in managed requirements.toml or local MDM policy to block scheduled and manual daemon updates. Custom terminal status lines can align items left, center or right, or distribute them across the width.
Fixes and upgrade considerations
Open file previews now refresh when an editor replaces a file on save. Running threads also pick up updated approval requirements and Guardian policies when configuration is reloaded or the user signs in or out. Pasted image paths create private copies so attachments survive a moved or deleted original.
If you use MCP servers or hooks, review the connection and failure behavior after upgrading and test your existing workflow. Use your installation method to update Codex and confirm the installed version; managed environments should follow their administrator’s update policy.