[BUG] Claude Code Chrome integration doesn't detect extension in Brave Browser
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude Code's --chrome flag and /chrome command cannot detect the Claude Chrome extension when it's installed in Brave Browser. The extension shows "Not detected" even though:
- The Claude extension (v1.0.36) is installed and fully functional in Brave
- The extension can see webpages and respond to user queries in the side panel
- The extension has "Communicate with cooperating native applications" permission enabled
- The native messaging host manifest exists in Brave's NativeMessagingHosts directory
The same setup works correctly with Google Chrome - extension is immediately detected as "Installed".
What Should Happen?
Claude Code should detect the Claude Chrome extension when installed in Brave Browser, since:
- Brave is Chromium-based and uses the same extension APIs
- The extension installs and functions correctly in Brave
- The native messaging host manifest can be placed in Brave's directory
- Many developers use Brave as their primary browser
Error Messages/Logs
**Claude Code `/chrome` output in Brave:**
Status: Enabled
Extension: Not detected
❯ Install Chrome extension
Enabled by default: No
**Claude Code `/chrome` output in Chrome (working):**
Status: Enabled
Extension: Installed
❯ Manage permissions
Reconnect extension
Enabled by default: No
**Native messaging host test output:**
$ echo '{"type":"ping"}' | /Users/user/.claude/chrome/chrome-native-host
[Claude Chrome Native Host] Initializing...
[Claude Chrome Native Host] Creating socket listener: /var/folders/.../claude-mcp-browser-bridge-user
[Claude Chrome Native Host] Socket server listening for connections
[Claude Chrome Native Host] Socket permissions set to 0600
[Claude Chrome Native Host] Invalid message length: 2037654139
Steps to Reproduce
- Install Claude Chrome extension in Brave Browser from Chrome Web Store
- Verify extension works (open side panel, it can see webpages)
- Copy native messaging host manifest to Brave's directory:
``bash``
mkdir -p ~/Library/Application\ Support/BraveSoftware/Brave-Browser/NativeMessagingHosts
cp ~/Library/Application\ Support/Google/Chrome/NativeMessagingHosts/com.anthropic.claude_code_browser_extension.json \
~/Library/Application\ Support/BraveSoftware/Brave-Browser/NativeMessagingHosts/
- Start Claude Code with Chrome flag:
``bash``
claude --chrome
- Run
/chromecommand - Observe: "Extension: Not detected"
Comparison test with Chrome:
- Install same extension in Google Chrome
- Run
claude --chrome - Run
/chrome - Observe: "Extension: Installed" (works correctly)
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.73
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Environment
- Claude Code version: v2.0.73
- Claude Chrome extension version: 1.0.36
- macOS version: Darwin 25.1.0
- Brave Browser version: Latest (installed via Homebrew)
- Google Chrome version: Latest
Native Messaging Host Configuration
Manifest location (Chrome - works):
~/Library/Application Support/Google/Chrome/NativeMessagingHosts/com.anthropic.claude_code_browser_extension.json
Manifest location (Brave - manually created, doesn't work):
~/Library/Application Support/BraveSoftware/Brave-Browser/NativeMessagingHosts/com.anthropic.claude_code_browser_extension.json
Manifest contents:
{
"name": "com.anthropic.claude_code_browser_extension",
"description": "Claude Code Browser Extension Native Host",
"path": "/Users/user/.claude/chrome/chrome-native-host",
"type": "stdio",
"allowed_origins": [
"chrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/"
]
}
Extension Details in Brave
- ID: fcoeoabgfenejglbffodgkkbkcdhcgfn (same as Chrome)
- Permissions: All required permissions granted including "Communicate with cooperating native applications"
- Site access: On all sites
- Status: Enabled and functional for standalone use
Observations
- The extension ID is identical in both browsers
- The native messaging host binary exists and is executable
- The extension's standalone functionality works perfectly in Brave
- Only the Claude Code ↔ extension connection fails in Brave
- Brave may handle native messaging differently despite being Chromium-based
Suggested Fix
Consider either:
- Adding explicit Brave Browser support with automatic native messaging host registration
- Documenting that only Google Chrome is supported (if intentional)
- Investigating why native messaging fails in Brave specifically
Workaround
Use Google Chrome instead of Brave Browser for Claude Code's Chrome integration.
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗