[BUG] Browser MCP crash (Browser MCP bridge crashes entire app when Windows username contains a space)

Status Open
Reported on v2.1.222
Maintainer reply None cached
Activity 1 comment · opened Aug 20, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When my Windows username contains a space (e.g. "Xushnud studio"), the Claude Code browser MCP tool disconnects and the entire desktop app crashes and closes completely during active tasks. And it requires me to reinstall the app to reopen it.

What Should Happen?

1) Open Claude Code desktop app on Windows with a username containing a space
2) Start a task that uses the browser/preview MCP tool
3) App disconnects from MCP server mid-task
4) Entire application window closes/crashes

Error Messages/Logs

Steps to Reproduce

  1. Have a Windows local user account whose profile name contains a space (e.g. "Xushnud studio").
  2. Install Claude Desktop / Claude Code normally.
  3. Open Claude Code and start any task in a project (e.g. claude "check my dashboard").
  4. When the task uses the browser/preview MCP tool (e.g. to open localhost or a browser preview), the MCP connection drops.
  5. Shortly after, the entire Claude Desktop application window closes/crashes completely — no error dialog, just closes.

Note: Checked the log file at %LOCALAPPDATA%\Claude\Logs\chrome-native-host.log and found the native host creates a named pipe using the raw Windows username, including the space:
\\.\pipe\claude-mcp-browser-bridge-Xushnud studio
I was on 2.1.222, not the actual latest (2.1.232). Will retest on the latest version and report back.

Suspect the unescaped space in the pipe name breaks the browser bridge connection, which then crashes the whole app instead of just the MCP tool.

<img width="965" height="564" alt="Image" src="https://github.com/user-attachments/assets/16fa7dbd-1f20-427d-ac71-d91c8250ff7f" />

<img width="1245" height="952" alt="Image" src="https://github.com/user-attachments/assets/cf56dc5d-e964-4710-ab76-6231dd47a3f7" />

<img width="1246" height="952" alt="Image" src="https://github.com/user-attachments/assets/ea48394c-6a3f-4eb6-aa46-def7a4623899" />

<img width="1243" height="744" alt="Image" src="https://github.com/user-attachments/assets/5328911d-77ce-4e41-b5f2-0994b71e9ebd" />

<img width="1022" height="461" alt="Image" src="https://github.com/user-attachments/assets/1f824687-ada9-42d3-a723-a2574de7b92e" />

<img width="1043" height="224" alt="Image" src="https://github.com/user-attachments/assets/291c9ade-01d4-4ae5-9f5a-9d3e83208b2a" />

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.237

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗