When attempting to reconnect the Chrome extension from Claude Code, the browser opens clau.de/chrome/reconnect but
the tab closes/disconnects immediately without completing the authorization flow.
Environment
- OS: Windows 10 Pro 25H2 (Build 26200)
- Chrome: 144.0.7559.110 (Official Build) (64-bit)
- Claude Code: 2.1.30
- Extension ID: fcoeoabgfenejglbffodgkkbkcdhcgfn
- Node.js: v22.18.0
Steps to Reproduce
- Run
claude in terminal
- Execute
/chrome command
- Status shows "Enabled" and "Installed" (green)
- Select "Reconnect extension"
- Chrome opens
clau.de/chrome/reconnect
- The page immediately closes/disconnects before authorization completes
What I Expected
The authorization flow should complete and connect the extension to Claude Code.
What Actually Happened
The reconnect page opens briefly then closes automatically. The extension never connects.
Troubleshooting Already Attempted
- ✅ Reinstalled Chrome extension
- ✅ Restarted Chrome completely (killed all processes)
- ✅ Restarted Claude Code
- ✅ Verified logged into claude.ai with same account
- ✅ Manually created Native Messaging Host JSON file at:
C:\Users\<user>\AppData\Local\Google\Chrome\NativeMessagingHosts\com.anthropic.claude_code.json
- ✅ Added Windows Registry entry at:
HKCU:\Software\Google\Chrome\NativeMessagingHosts\com.anthropic.claude_code
- ✅ Verified
chrome-native-host.bat exists at ~/.claude/chrome/
Relevant Debug Logs
Claude Code detects the extension correctly:
[Claude in Chrome] Found chrome profiles: Default
[Claude in Chrome] Detected browser: Google Chrome
[Claude in Chrome] Extension fcoeoabgfenejglbffodgkkbkcdhcgfn found in chrome Default
But when running the native host manually, got this error (suggesting connection issues):
[Claude Chrome Native Host] Creating socket listener: .\pipe\claude-mcp-browser-bridge-
[Claude Chrome Native Host] Socket server error: Error: listen EADDRINUSE: address already in use
Chrome Extension Console 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
Additional Context
The Native Messaging Host file was missing initially (empty NativeMessagingHosts folder). After manually creating
it, the issue persists.
When attempting to reconnect the Chrome extension from Claude Code, the browser opens
clau.de/chrome/reconnectbutthe tab closes/disconnects immediately without completing the authorization flow.
Environment
Steps to Reproduce
claudein terminal/chromecommandclau.de/chrome/reconnectWhat I Expected
The authorization flow should complete and connect the extension to Claude Code.
What Actually Happened
The reconnect page opens briefly then closes automatically. The extension never connects.
Troubleshooting Already Attempted
C:\Users\<user>\AppData\Local\Google\Chrome\NativeMessagingHosts\com.anthropic.claude_code.jsonHKCU:\Software\Google\Chrome\NativeMessagingHosts\com.anthropic.claude_codechrome-native-host.batexists at~/.claude/chrome/Relevant Debug Logs
Claude Code detects the extension correctly:
[Claude in Chrome] Found chrome profiles: Default
[Claude in Chrome] Detected browser: Google Chrome
[Claude in Chrome] Extension fcoeoabgfenejglbffodgkkbkcdhcgfn found in chrome Default
But when running the native host manually, got this error (suggesting connection issues):
[Claude Chrome Native Host] Creating socket listener: .\pipe\claude-mcp-browser-bridge-
[Claude Chrome Native Host] Socket server error: Error: listen EADDRINUSE: address already in use
Chrome Extension Console Errors
From
chrome://extensionserrors 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 receivedAdditional Context
The Native Messaging Host file was missing initially (empty
NativeMessagingHostsfolder). After manually creatingit, the issue persists.