Claude-in-Chrome MCP fails to connect on Windows 11 — named pipe not created
Description
Claude-in-Chrome browser automation tools fail to connect on Windows 11. Every mcp__claude-in-chrome__* tool returns "Browser extension is not connected" despite all components being correctly configured.
Environment
- OS: Windows 11 Pro 10.0.26200
- Claude Code: v2.1.97
- Chrome: Running with Claude extension enabled
- Account: Same account logged in on both claude.ai (Chrome) and Claude Code CLI
What works
- Native messaging host registry key exists:
HKCU\Software\Google\Chrome\NativeMessagingHosts\com.anthropic.claude_code_browser_extension
- Manifest points to correct batch file:
C:\Users\Admin\.claude\chrome\chrome-native-host.bat - Batch file invokes
claude.exe --chrome-native-hostcorrectly - Manual native host test works: Running
claude --chrome-native-hostsuccessfully creates the named pipe\.\pipe\claude-mcp-browser-bridge-Adminand outputs "Initializing..." - Chrome extension is installed, enabled, toggled off/on, service worker restarted
What fails
- The named pipe
\.\pipe\claude-mcp-browser-bridge-Adminis never created automatically — verified withls //./pipe/claude-mcp-browser-bridge-Adminreturning "not found" mcp__claude-in-chrome__tabs_context_mcpalways returns "Browser extension is not connected"mcp__claude-in-chrome__switch_browseralso fails with same error/chromecommand opens Firefox (default browser) instead of Chrome — unrelated but noted
Steps to reproduce
- Install Claude Code v2.1.97 on Windows 11
- Install Claude-in-Chrome extension in Google Chrome
- Log into claude.ai with same account in Chrome
- Open Chrome with extension enabled
- In Claude Code CLI, call any
mcp__claude-in-chrome__*tool - Result: "Browser extension is not connected"
Troubleshooting attempted
- Restarted Chrome completely (closed all windows, reopened)
- Restarted Claude Code (exited, reopened new session)
- Toggled extension off/on in chrome://extensions
- Verified single Chrome profile active
- Confirmed native host works when invoked manually
- Checked no stale Claude processes running
Expected behavior
The MCP server in Claude Code should trigger Chrome to launch the native messaging host, establishing the named pipe connection automatically.
Suspected root cause
The MCP client within Claude Code is not initiating the connection to Chrome's native messaging system. The native host only runs when manually invoked — Chrome's extension never receives the signal to launch it via the native messaging API.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗