# Codex CLI 0.160.1 preserves Windows environment variables for remote MCP servers

Codex CLI 0.160.1 maintains Windows environment variables including SYSTEMROOT, TEMP, and TMP for remote stdio MCP servers, while ensuring Unix hosts retain the Windows executor startup environment.

Language: en
Time zone: America/Los_Angeles
Current time (UTC, cached as of): 2026-11-22T13:00:00.000Z
Query date (America/Los_Angeles): 2026-11-22

HTML: https://didcodexreset.com/news/906ee955f0834231abeeddc8.html

Content language: en
Localization state: sameLanguage

Source: Codex Changelog · Published 10/5/2026, 14:24:35

Codex CLI 0.160.1 preserves Windows environment variables for remote stdio MCP servers. When custom remote environments are configured, SYSTEMROOT, TEMP, and TMP are retained.

The update also ensures Unix hosts retain the Windows executor startup environment, as outlined in the [GitHub release changelog](https://github.com/openai/codex/releases/tag/rust-v0.160.1).

Tags: Codex CLI, MCP, Windows

[View original post](https://x.com/Codex_Changelog/status/2107217187979288992)
