Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

chrome-mcp-troubleshooting

Skill by trailofbits

Diagnoses and fixes connection failures in the Claude in Chrome MCP extension. Written for macOS users of Claude Code or Claude.app who see "Browser extension is not connected" errors.

  • Score 92
  • 8.5k stars
  • CC-BY-SA-4.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install chrome-mcp-troubleshooting

Built from the published package, never by AI.

git clone --depth 1 https://github.com/trailofbits/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/plugins/chrome-mcp-troubleshooting/skills/chrome-mcp-troubleshooting ~/.claude/skills/chrome-mcp-troubleshooting

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install chrome-mcp-troubleshooting in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps diagnose and fix connection problems with the Claude in Chrome MCP extension. It applies when mcp__claude-in-chrome__* tools fail, return "Browser extension is not connected", or behave erratically. The main cause it describes is a conflict between the Claude.app (Cowork) native messaging host and the Claude Code CLI native host, which use different socket formats and config files.

The skill walks through quick diagnosis commands, a toggle script that switches Chrome native messaging configs between Claude.app and Claude Code, and a full reset procedure. It also covers multiple Chrome profiles, multiple Claude Code sessions, stale wrapper versions and TMPDIR settings. It is written for macOS users who run browser automation through the extension. Restart Chrome and Claude Code after any fix, because MCP connects at startup.

Written from the project's SKILL.md and checked against it.

What it can do

  • Quick diagnosisChecks which native host binary is running, where the socket is, and which native messaging configs are active.
  • Native host conflict fixExplains how to disable the Claude.app or Claude Code native messaging config so only one is active.
  • Toggle scriptA shell function that switches Chrome native messaging configs between Claude.app and Claude Code.
  • Full reset procedureStep-by-step reset of the wrapper, native host process, sockets and Chrome for Claude Code CLI.
  • Other common causesCovers multiple Chrome profiles, multiple Claude Code sessions, hardcoded wrapper versions and unset TMPDIR.

What you need

  • macOS
  • Google Chrome with the Claude extension
  • Claude Code CLI or Claude.app (Cowork)

Try asking

  • Why does my Claude in Chrome tool say the browser extension is not connected?
  • Run the quick diagnosis steps for the Claude in Chrome native host on my Mac.
  • Walk me through the full reset procedure for Claude Code and Chrome.

Good to know

  • Covers macOS paths and tools only. Linux and Windows are not covered.
  • You cannot use Claude.app (Cowork) and Claude Code CLI browser automation at the same time.
  • Only enable the Claude extension in one Chrome profile and run one Claude Code session.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/chrome-mcp-troubleshooting/skills/chrome-mcp-troubleshooting/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • agents/openai.yaml242 B
  • assets/trail-of-bits-mark.svg3 KB

Alternatives to chrome-mcp-troubleshooting

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

chrome-mcp-troubleshooting: common questions

Why does Claude in Chrome say the browser extension is not connected?

The skill says this can happen when Claude.app and Claude Code register competing native messaging hosts, so the wrong binary runs and creates sockets the MCP client does not expect.

Can I use Claude.app and Claude Code for browser automation at the same time?

No. The source states you cannot use both simultaneously, so you pick one and disable the other's native messaging config.

Do I need to restart anything after applying a fix?

Yes. The source says to restart Chrome and Claude Code after any fix, because MCP connects at startup and a failed connection persists for the session.

How do I install chrome-mcp-troubleshooting?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is chrome-mcp-troubleshooting free?

The code is published under the CC-BY-SA-4.0 licence. The service it connects to may have its own pricing.

Is chrome-mcp-troubleshooting safe to use?

It scores 92 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to chrome-mcp-troubleshooting?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

chrome-mcp-troubleshooting Install

Add to stack

Loading.