Skip to content

[Windows] Bun console window appears when starting Claude Code #21375

Closed as not planned

Description

@chokil

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

  1. Install Claude Code on Windows
  2. Enable MCP plugins that use Bun (e.g., context7, claude-mem)
  3. 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.

Activity

  1. github-actions commented on Feb 28, 2026

    @github-actions

    Closing for now — inactive for too long. Please open a new issue if this is still relevant.

  2. github-actions commented on Mar 9, 2026

    @github-actions

    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.

  3. locked as resolved and limited conversation to collaborators on Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:mcpbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on WindowsstaleIssue is inactive

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions