Claude in Chrome: MCP client never connects to native host bridge socket (macOS)
Resolved 💬 3 comments Opened Apr 8, 2026 by namirsab Closed Apr 12, 2026
Description
The claude-in-chrome built-in MCP tools always report "Browser extension is not connected" despite the native messaging host running correctly and the bridge socket being created and accepting connections.
Environment
- Claude Code: v2.1.96
- macOS: 26.3.1 (Darwin 25.3.0, x86_64)
- Chrome extension ID:
fcoeoabgfenejglbffodgkkbkcdhcgfn - Chrome extension version: 1.0.66
Debugging findings
The Chrome/extension side is working correctly:
- Native messaging host spawns successfully (
~/.local/share/claude/versions/2.1.96 --chrome-native-host) - Bridge socket is created at
/tmp/claude-mcp-browser-bridge-<user>/<pid>.sock - Socket accepts connections (verified with manual Python socket connect)
- Extension sends
connectmessage with valid OAuth token via network - Both native messaging manifests (
com.anthropic.claude_browser_extension.jsonandcom.anthropic.claude_code_browser_extension.json) point to Claude Code's host binary
The problem: Claude Code's own process never connects to the bridge socket. Verified via lsof -U — only the native host PID has an open connection to the socket, not the Claude Code session PID.
Steps to reproduce
- Install Claude in Chrome extension
- Log into claude.ai with the same account as Claude Code
- Start Claude Code (
claude) - Call
mcp__claude-in-chrome__tabs_context_mcp - Always returns "Browser extension is not connected"
What was tried
- Killing stale native host processes and restarting Chrome
- Toggling extension off/on in
chrome://extensions/ - Restarting Claude Code in a fresh terminal
- Closing all other Claude Code sessions
- Uninstalling and reinstalling the Chrome extension
- Updating native messaging manifest to point to Claude Code's host (per #20887 workaround)
- Verified same account on both claude.ai and Claude Code
Related issues
- #20887
- #20790
- #20411
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗