Skip to content

Windows: /mcp prints taskkill “SUCCESS” process termination logs #20845

@RE-codes

Description

@RE-codes

What version of Codex CLI is running?

codex-cli 0.128.0

What OS and shell are you using?

  • Windows 11
  • PowerShell

What steps can reproduce the bug?

  1. Configure an MCP server (e.g. Context7)
  2. Start Codex CLI
  3. Run /mcp

What is the expected behavior?

/mcp should display MCP server status without OS-level process logs.


What is the actual behavior?

    SUCCESS: The process with PID 14276 (child process of PID 5280) has been terminated.
    SUCCESS: The process with PID 5280 (child process of PID 14200) has been terminated.
    SUCCESS: The process with PID 14200 (child process of PID 14748) has been terminated.
    SUCCESS: The process with PID 14748 (child process of PID 2024) has been terminated.

appear every time /mcp is run.


Additional context

  • Context7 MCP server works correctly; this is cosmetic noise
  • Reproduces with:
    • npx directly
    • cmd /c npx
    • custom env
    • startup_timeout_ms
  • This appears to be Windows-specific (not observed under WSL2)

Impact

Low functional impact, but degrades CLI UX—especially when /mcp is used frequently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serverswindows-osIssues related to Codex on Windows systems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions