Skip to content

Claude-in-Chrome: connection fails when Claude Desktop installed despite disabling Desktop's native host (macOS) #34577

Description

@freema

Description

claude-in-chrome MCP tools consistently return "Browser extension is not connected" despite all local infrastructure being correctly configured and functional. Claude Desktop is also installed on the system.

Environment

  • Claude Code version: 2.1.76
  • OS: macOS Darwin 24.5.0 (Apple Silicon)
  • Chrome extension ID: fcoeoabgfenejglbffodgkkbkcdhcgfn
  • Claude Desktop: installed

What was verified

Component Status
Chrome extension installed & enabled ✅ Confirmed in chrome://extensions/
Extension ID matches fcoeoabgfenejglbffodgkkbkcdhcgfn
Native host binary exists & executable ~/.claude/chrome/chrome-native-host
Native host process running ✅ PID 82420 (claude 2.1.76 --chrome-native-host)
Unix socket created /tmp/claude-mcp-browser-bridge-*/82420.sock
hasCompletedClaudeInChromeOnboarding true
cachedChromeExtensionInstalled true
Desktop native host disabled ✅ Renamed to .disabled
External Extensions policy ✅ Not present (no force-install)

Root cause: tengu_chrome_auto_enable feature flag

The server-side GrowthBook feature flag tengu_chrome_auto_enable is set to false:

{
  "cachedGrowthBookFeatures": {
    "tengu_chrome_auto_enable": false
  },
  "claudeInChromeDefaultEnabled": true,
  "hasCompletedClaudeInChromeOnboarding": true,
  "cachedChromeExtensionInstalled": true
}

Manually setting tengu_chrome_auto_enable: true and claudeInChromeDefaultEnabled: true in ~/.claude.json does not resolve the issue — the flag appears to be enforced server-side regardless of local overrides.

What was tried (none helped)

  1. ✅ Disabled Claude Desktop's native messaging host (com.anthropic.claude_browser_extension.json.disabled)
  2. ✅ Restarted Chrome (multiple times)
  3. ✅ Restarted Claude Code CLI (multiple times)
  4. ✅ Ran /chrome reconnect command
  5. ✅ Manually set tengu_chrome_auto_enable: true in ~/.claude.json
  6. ✅ Manually set claudeInChromeDefaultEnabled: true in ~/.claude.json
  7. ✅ Verified same account on both CLI and claude.ai in Chrome

What was NOT tried (and why)

The workaround from #24593 (set Chrome as default browser → /login → re-auth) requires changing the default browser from Safari to Chrome, which is a significant disruption to the user's workflow. This should not be necessary for the feature to work.

Expected behavior

mcp__claude-in-chrome__tabs_context_mcp should connect to the Chrome extension when the native host is running and the socket is available, regardless of whether Claude Desktop is also installed.

Actual behavior

Every call returns: "Browser extension is not connected. Please ensure the Claude browser extension is installed and running..."

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:chromebugSomething isn't workingduplicateThis issue or pull request already existsplatform:macosIssue specifically occurs on macOSstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions