You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP stdio servers flash visible CMD windows on Windows (windowsHide not set) #24708
On Windows, every stdio-based MCP server spawns a visible CMD window that briefly flashes on screen during Claude Code startup. This happens for each MCP server configured with type: "stdio".
With 4-5 stdio MCP servers configured, users see multiple CMD windows flash on every claude launch, which is disruptive.
Root Cause
In the MCP StdioClientTransport, the windowsHide option is set conditionally:
windowsHide: process.platform==="win32"&&LO9()
Where LO9() checks "type" in process, which always returns false in standard Node.js (it only returns true in Electron where process.type exists).
This means windowsHide is effectively always false on Windows, causing child processes (MCP servers) to spawn with visible console windows.
Expected Behavior
MCP server processes should be hidden on Windows. The fix should be:
windowsHide: process.platform==="win32"
Or simply:
windowsHide: true
(The option is ignored on non-Windows platforms anyway.)
Steps to Reproduce
On Windows, configure 2+ stdio MCP servers in ~/.claude.json
Run claude from terminal
Observe: multiple CMD windows flash briefly during startup
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Feb 10, 2026
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
github-actions commentedon Feb 14, 2026
This issue has been automatically closed as a duplicate of #21375.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
github-actions commentedon Feb 21, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.