codex - 💡(How to fix) Fix Codex v0.131.0 terminal corruption after codex_apps MCP startup on Windows [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#23512Fetched 2026-05-20 03:48:38
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×5commented ×1
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

v0.131.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.5

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

PowerShell

Codex doctor report

What issue are you seeing?

After upgrading to 0.131.0, Codex starts normally but the terminal UI becomes corrupted immediately after:

Booting MCP server: codex_apps

The terminal then fills with ANSI/control escape sequences like:

←[49m←[K←[52;27H...

The issue appears project-specific:

some repositories work normally some repositories consistently trigger the corruption

Downgrading back to 0.130.0 fully resolves the issue.

<img width="2530" height="660" alt="Image" src="https://github.com/user-attachments/assets/3f8102c3-59c4-4cd5-8976-776c8a842d85" />

What steps can reproduce the bug?

npm install -g @openai/[email protected] cd <affected repo> codex

What is the expected behavior?

no ANSI characters, normal text startup

Additional information

  • AGENTS.md content does not appear to be the cause
  • deleting .codex did not resolve it
  • corruption starts specifically during MCP server startup
  • issue reproduced in Windows Terminal using PowerShell
  • renaming some large folders slightly delayed the corruption but did not prevent it

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Codex v0.131.0 terminal corruption after codex_apps MCP startup on Windows [1 comments, 2 participants]