-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
Description
The mcp__claude-in-chrome__tabs_context_mcp tool consistently returns "Browser extension is not connected" despite all infrastructure being correctly configured.
Environment
- Claude Code: v2.1.39
- Chrome Extension: Claude in Chrome (Beta) v1.0.47 (ID:
fcoeoabgfenejglbffodgkkbkcdhcgfn) - macOS: Darwin 25.2.0 (Apple Silicon)
- Chrome: Latest stable, Developer mode ON
Setup verified
-
Native messaging hosts exist at
~/Library/Application Support/Google/Chrome/NativeMessagingHosts/:com.anthropic.claude_code_browser_extension.json→~/.claude/chrome/chrome-native-hostcom.anthropic.claude_browser_extension.json→/Applications/Claude.app/Contents/Helpers/chrome-native-host
-
Socket file exists:
/tmp/claude-mcp-browser-bridge-daniel/<pid>.sock -
Native host script at
~/.claude/chrome/chrome-native-hostcorrectly points to~/.local/share/claude/versions/2.1.39 --chrome-native-host -
Extension is enabled, has "On all sites" access, "Communicate with cooperating native applications" permission, pinned to toolbar, sidepanel shows "Opus 4.6"
Extension errors (from chrome://extensions errors page)
Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Plus CSP violations for inline scripts in options.html and blocked Segment analytics scripts (likely cosmetic).
Steps to reproduce
- Start Claude Code v2.1.39 in terminal
- Claude in Chrome extension v1.0.47 installed and enabled
- Call
mcp__claude-in-chrome__tabs_context_mcpwithcreateIfEmpty: true - Returns "Browser extension is not connected"
What was tried (all failed)
- Restarting Chrome (Cmd+Q, reopen)
- Toggling extension OFF/ON
- Removing and reinstalling extension from Chrome Web Store
- Closing Claude Desktop app (to avoid native host conflict)
- Running
/chromecommand in Claude Code - Multiple attempts across ~30 minutes
Possible contributing factors
- Claude Desktop was updated to a new version the same day, which refreshed
com.anthropic.claude_browser_extension.json(timestamp changed). Both native hosts claim the same extension ID. - Antigravity Browser Extension (v1.11.3, ID:
eeijfnjmjelapkebgockoeaadonbchdd) was also installed the same day — unlikely to conflict but noting for completeness.
Expected behavior
tabs_context_mcp should return tab information or create a new tab group.
Actual behavior
Always returns "Browser extension is not connected" error message.