[BUG] Chrome extension not connecting to Claude Code on Windows

Resolved 💬 3 comments Opened Apr 30, 2026 by Kicks81 Closed Jun 1, 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?

Description:

OS: Windows 11
Claude Code version: 2.1.123
Chrome extension version: 1.0.69
Both Claude Desktop and Claude Code installed

Issue: Running claude --chrome shows "Extension: Installed" but Status remains "Disabled". Reconnecting opens a tab that immediately closes. DevTools shows: WebSocket connection to 'wss://bridge.claudeusercontent.com/chrome/...' failed: WebSocket is closed before the connection is established.
Root cause suspected: The chrome-native-host.exe in AppData\Roaming\Claude\ChromeNativeHost\ appears to only support the Desktop app's cloud bridge. Claude Code on Windows has no separate native host binary, unlike macOS which has ~/.claude/chrome/chrome-native-host.

What Should Happen?

When running "claude --chrome" on Windows with the Claude in Chrome
extension installed (v1.0.69), Claude Code should successfully connect
to the Chrome extension and show Status: Connected. Browser tools like
navigate, screenshot, etc. should work from the Claude Code terminal.

Error Messages/Logs

Status shows "Disabled" even after selecting "Reconnect extension". 
Reconnecting briefly opens a Chrome tab that immediately closes. 
DevTools console shows: "WebSocket connection to 
'wss://bridge.claudeusercontent.com/chrome/...' failed: WebSocket is 
closed before the connection is established."

Steps to Reproduce

  1. Install Claude Desktop app on Windows
  2. Install Claude Code v2.1.123
  3. Install Claude in Chrome extension v1.0.69
  4. Run: claude --chrome in PowerShell
  5. Type /chrome inside the session
  6. Select "Reconnect extension"
  7. Observe tab opens and closes immediately
  8. Check DevTools service worker console for WebSocket error

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude Code: v2.1.123

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Both Claude Desktop app and Claude Code are installed simultaneously.
The ~/.claude/chrome/ folder is never created on Windows (unlike macOS).
DevTools service worker console shows: "WebSocket connection to
'wss://bridge.claudeusercontent.com/chrome/...' failed: WebSocket is
closed before the connection is established." The chrome-native-host.exe
in AppData\Roaming\Claude\ChromeNativeHost\ appears to only support the
Desktop app cloud bridge, not Claude Code's local connection.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗