CodexRelease

Codex 0.173.0 enables MCP connection sharing by default and adds PreToolUse blocking hooks and daemon update locks

OpenAI Codex 0.173.0 enables MCP connection sharing by default (with support for legacy local servers requiring `initialize` first), allows synchronous command and MCP tool hooks to block execution on `PreToolUse` failure via `onFailure`, lets admins disable daemon updates via `features.daemon_updates = false`, and auto-discovers OAuth endpoints on config servers. It also adds custom status-line alignment, richer terminal Markdown math/Mermaid rendering, smaller npm tarballs, and fixes for Cloud thread sync, pasted image copies, Guardian policy reloads, and WebSocket rejection reporting.

  • Shares MCP connections by default, supports older local servers expecting `initialize` first, and auto-discovers OAuth endpoints when `config_server.oauth` is omitted.
  • Synchronous command and MCP hooks can set `onFailure` to block tools on failed `PreToolUse` checks; administrators can disable daemon updates via `features.daemon_updates = false` in `requirements.toml` or MDM.
  • Adds custom status-line alignment, multiline Mermaid edge labels and LaTeX underbraces/`\widetilde` in terminal Markdown, and smaller npm packages.
  • Fixes live Guardian/approval policy reloads on running threads, private copies for pasted image paths, Agents overview Cloud thread syncing, and WebSocket server rejection reporting.
New featureCompatibilityCritical fix

Original evidence · 2026-12-01 18h

Codex Releases ↗Based on original text

Why it matters

Improves MCP reliability, PreToolUse safety enforcement, and enterprise update controls in the stable Codex CLI/app release.