Claude in Chrome extension not connecting to Claude Code CLI on Windows 11

Resolved 💬 3 comments Opened Jan 28, 2026 by geothm Closed Feb 1, 2026

The Claude in Chrome extension (v1.0.40) is unable to connect to Claude Code CLI (v2.1.22) on Windows 11, despite all
configuration appearing correct.

Environment:

  • OS: Windows 11
  • Claude Code version: 2.1.22
  • Claude extension version: 1.0.40
  • Chrome extension ID: fcoeoabgfenejglbffodgkkbkcdhcgfn
  • Account type: Claude Team

What works:

  • Claude extension is installed and enabled
  • Extension sidepanel opens and responds to commands correctly
  • Extension has all required permissions (including "Communicate with cooperating native applications")
  • Site access set to "On all sites"
  • Native messaging host is registered in registry at:

HKCU\Software\Google\Chrome\NativeMessagingHosts\com.anthropic.claude_code_browser_extension

  • Manifest file exists at: C:\Users\geoth\AppData\Roaming\Claude

Code\ChromeNativeHost\com.anthropic.claude_code_browser_extension.json

  • Batch file exists at: C:\Users\geoth\.claude\chrome\chrome-native-host.bat
  • Claude.exe exists at: C:\Users\geoth\.local\bin\claude.exe
  • Native messaging host starts correctly and creates named pipe: \\.\pipe\claude-mcp-browser-bridge-geoth

What doesn't work:

  • When running claude --chrome, the CLI fails to connect to the extension
  • Error message: "Browser extension is not connected"

Steps to reproduce:

  1. Install Claude Code CLI (v2.1.22)
  2. Install Claude in Chrome extension from Chrome Web Store (v1.0.40)
  3. Enable all permissions for the extension
  4. Open Chrome and the Claude sidepanel
  5. Run claude --chrome in PowerShell
  6. Ask Claude to connect to Chrome
  7. Connection fails with "Browser extension is not connected"

Troubleshooting attempted:

  • Restarted Chrome completely (killed all processes)
  • Restarted Windows
  • Disabled firewall
  • Verified all native messaging host files exist
  • Confirmed native messaging host creates pipe successfully
  • Toggled extension off/on
  • Extension permissions verified (all correct)

Native messaging host manifest contents:
{
"name": "com.anthropic.claude_code_browser_extension",
"description": "Claude Code Browser Extension Native Host",
"path": "C:\\Users\\geoth\\.claude\\chrome\\chrome-native-host.bat",
"type": "stdio",
"allowed_origins": [
"chrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/"
]
}

Expected behavior:
Claude Code CLI should connect to the Chrome extension and be able to control browser tabs.

Actual behavior:
Connection fails despite all configuration being correct. The native host starts and creates the pipe, but the
extension never connects to it.

View original on GitHub ↗

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