[Windows] Bun console window appears when starting Claude Code
Resolved 💬 2 comments Opened Jan 28, 2026 by chokil Closed Feb 28, 2026
Description
When starting Claude Code on Windows, a Bun console window pops up and stays visible. This happens because MCP server processes (used by plugins like context7, claude-mem, etc.) are spawned without hiding the console window.
Environment
- OS: Windows 10 (MSYS_NT-10.0-19045)
- Claude Code version: 2.1.21
Steps to Reproduce
- Install Claude Code on Windows
- Enable MCP plugins that use Bun (e.g., context7, claude-mem)
- Start Claude Code
Expected Behavior
MCP servers should run in the background without visible console windows.
Actual Behavior
A Bun console window appears on startup and remains visible.
Possible Fix
When spawning child processes on Windows, use windowsHide: true option in Node.js spawn/exec, or CREATE_NO_WINDOW flag.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗