claude-code - 💡(How to fix) Fix [Bug] Claude in Chrome extension not connecting to Claude Code on Windows 11 [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54607Fetched 2026-04-30 06:41:01
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×4

Error Message

Browser extension is not connected. The error message appears every time: 4. Error: "Browser extension is not connected"

RAW_BUFFERClick to expand / collapse

環境

  • OS: Windows 11 Pro 10.0.26200
  • Claude Code version: 2.1.114
  • Chrome extension: Claude in Chrome (Beta)
  • Account: logged in with same account on both Claude Code and extension

問題描述

Browser extension is not connected. The error message appears every time: "Browser extension is not connected. Please ensure the Claude browser extension is installed and running."

已確認的設定

  • Extension installed from Chrome Web Store ✓
  • Extension enabled and pinned ✓
  • Website access: All sites ✓
  • Logged in with same account ([email protected]) ✓
  • Native messaging host configured in registry ✓
    • HKCU\Software\Google\Chrome\NativeMessagingHosts\com.anthropic.claude_code_browser_extension
  • chrome-native-host.bat exists and points to correct claude.exe path ✓
  • Restarted Chrome multiple times ✓

重現步驟

  1. Install Claude in Chrome extension
  2. Log in with same account as Claude Code
  3. Run any mcp__claude-in-chrome__* tool in Claude Code
  4. Error: "Browser extension is not connected"

附加資訊

The extension popup works normally (shows claude.ai interface), but native messaging connection to Claude Code never establishes.

extent analysis

TL;DR

The issue is likely due to a misconfiguration or incompatibility between the Claude Code native messaging host and the Chrome extension, and verifying the native messaging host configuration and the chrome-native-host.bat file may help resolve the issue.

Guidance

  • Check the registry key HKCU\Software\Google\Chrome\NativeMessagingHosts\com.anthropic.claude_code_browser_extension to ensure it points to the correct location of the chrome-native-host.bat file.
  • Verify that the chrome-native-host.bat file is correctly configured to point to the claude.exe path and that the file has execute permissions.
  • Try running the chrome-native-host.bat file manually to see if it establishes a connection to Claude Code.
  • Check the Chrome extension's permissions and settings to ensure that it is allowed to communicate with native applications.

Example

No code snippet is provided as it is not explicitly mentioned in the issue.

Notes

The issue may be specific to the Windows 11 Pro environment or the Claude Code version 2.1.114, and further investigation may be required to determine the root cause.

Recommendation

Apply workaround: Verify the native messaging host configuration and the chrome-native-host.bat file, and try running the chrome-native-host.bat file manually to establish a connection to Claude Code. This is because the issue seems to be related to the communication between the Chrome extension and the native application, and verifying the configuration and running the batch file manually may help resolve the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Claude in Chrome extension not connecting to Claude Code on Windows 11 [1 participants]