Chrome extension connects then immediately disconnects — Chrome disconnected (EOF received) within ~10 seconds every time
What's happening (from logs):
The native host starts successfully and creates a socket, but Chrome sends EOF
almost immediately, causing the host to shut down before Claude Code can
communicate through it. This cycle repeats on every attempt.
Environment:
- OS: macOS Darwin 25.3.0
- Claude Code version: 2.1.76
- Native host version: 0.1.0
- Auth: claude.ai (Pro), email xxxx
- Socket path: /tmp/claude-mcp-browser-bridge-xxxx/
Relevant log file: ~/Library/Logs/Claude/chrome-native-host.log
Pattern in logs:
Chrome native host starting → Socket created → Listening → Chrome disconnected
(EOF) → Stopped
--
partial log
[2026-03-14 13:21:25 INFO chrome-native-host] Removed empty socket directory
[2026-03-14 13:21:25 INFO chrome-native-host] Chrome native host stopped
[2026-03-14 13:21:37 INFO chrome-native-host] Chrome native host starting (version 0.1.0)
[2026-03-14 13:21:37 INFO chrome-native-host] Creating socket listener: /tmp/claude-mcp-browser-bridge-xxxx/18940.sock
[2026-03-14 13:21:37 INFO chrome-native-host] Created socket directory: /tmp/claude-mcp-browser-bridge-xxxx
[2026-03-14 13:21:37 INFO chrome-native-host] Socket created successfully at: /tmp/claude-mcp-browser-bridge-xxxx/18940.sock
[2026-03-14 13:21:37 INFO chrome-native-host] Socket location: /tmp/claude-mcp-browser-bridge-xxxx/18940.sock
[2026-03-14 13:21:37 INFO chrome-native-host] Entering main message loop
[2026-03-14 13:21:37 INFO chrome-native-host] Socket server listening for connections
[2026-03-14 13:23:32 INFO chrome-native-host] Chrome disconnected (EOF received)
[2026-03-14 13:23:32 INFO chrome-native-host] Shutting down chrome native host
[2026-03-14 13:23:32 INFO chrome-native-host] Cleaned up socket: /tmp/claude-mcp-browser-bridge-xxxx/18940.sock
[2026-03-14 13:23:32 INFO chrome-native-host] Removed empty socket directory
[2026-03-14 13:23:32 INFO chrome-native-host] Chrome native host stopped
[2026-03-14 13:23:34 INFO chrome-native-host] Chrome native host starting (version 0.1.0)
[2026-03-14 13:23:34 INFO chrome-native-host] Creating socket listener: /tmp/claude-mcp-browser-bridge-xxxx/18996.sock
[2026-03-14 13:23:34 INFO chrome-native-host] Created socket directory: /tmp/claude-mcp-browser-bridge-xxxx
[2026-03-14 13:23:34 INFO chrome-native-host] Socket created successfully at: /tmp/claude-mcp-browser-bridge-xxxx/18996.sock
[2026-03-14 13:23:34 INFO chrome-native-host] Socket location: /tmp/claude-mcp-browser-bridge-xxxx/18996.sock
[2026-03-14 13:23:34 INFO chrome-native-host] Entering main message loop
[2026-03-14 13:23:34 INFO chrome-native-host] Socket server listening for connections
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗