trailofbits/skills
Dépannage de Chrome MCP
Chrome MCP Troubleshooting
1 356e ex aequo sur 4 265 skills du métier Développement, par installations. Dans l'annuaire depuis le 18 novembre 2026.
Description
Si vous utilisez Claude Code sur macOS et que les outils chrome-mcp affichent sans cesse « Browser extension is not connected », voici le correctif. Le problème vient de ce que la fonction Cowork de Claude.app et la CLI Claude Code installent chacune des hôtes de messagerie natifs concurrents.
Voir la description originale (anglais)
If you're using Claude Code on macOS and the chrome-mcp tools keep throwing "Browser extension is not connected" errors, this is your fix. The core issue is that Claude.app's Cowork feature and Claude Code CLI both install competing native messaging hosts that stomp on each other. You can't run both simultaneously. This skill walks you through disabling the right config file, cleaning up stray socket files in /tmp, and includes a toggle script for switching between them. It's macOS-specific (uses osascript and Library paths), so Linux and Windows users should skip it. The diagnostic commands alone are worth having on hand if you're doing any browser automation work.
Installer le skill
- 1Copiez la commande d'installation (bouton Copier, en haut de la fiche).
- 2Lancez-la dans un terminal, sur la machine où vous utilisez Claude Code.
- 3Demandez la tâche à Claude comme d'habitude : il charge le skill quand la demande s'y prête.