Skip to main content

Command Palette

Search for a command to run...

How to Install Chrome DevTools MCP on macOS

Updated
3 min read
How to Install Chrome DevTools MCP on macOS

So you’ve heard the buzz—AI can now see your browser, poke around the DOM, sniff network traffic, and even fix broken CSS in real time.
The magic wand behind that trick is the Chrome DevTools MCP server.
Below is the shortest, safest, and most future-proof path to get it running on macOS (both Apple Silicon and Intel). No Python wrestling, no Chrome flags memorising—just copy-paste and watch your AI side-kick light up.


3-Second TL;DR

brew install chrome-devtools-mcp   # installs Node + server in one shot

That’s it.
If you want the why, where, and what-if, keep scrolling.


Step 1 – One-liner Homebrew Install

Homebrew already bottles the latest stable (0.8.0) for every modern Mac chip:

macOS flavourstatus
Apple Silicon (tahoe / sequoia / sonoma)✅ ready-to-pour bottle
Intel (sonoma)✅ ready-to-pour bottle

Open Terminal and type:

brew install chrome-devtools-mcp

Homebrew pulls in Node 24.10.0 automatically, so you don’t need nvm or fnm unless you enjoy extra complexity.


Step 2 – Smoke Test

The formula drops a global executable. Verify:

chrome-devtools-mcp --version
# → 0.8.0

No errors? You’re golden.


Step 3 – Wire It to Your AI (Claude Desktop example)

Create or open the MCP config file:

mkdir -p ~/.config/claude/mcp
nano ~/.config/claude/mcp/chrome-devtools.json

Paste:

{
  "mcpServers": {
    "chrome-devtools": {
      "command": "chrome-devtools-mcp",
      "args": [],
      "env": {}
    }
  }
}

Save, restart Claude Desktop, and you’ll see “Chrome DevTools” pop up in the plug-in panel.


Step 4 – Launch & Lock

Start the server manually (optional, most clients auto-launch):

chrome-devtools-mcp --port 12524

Open Chrome, accept the incoming DevTools connection, and let your AI loose—screenshots, console logs, network waterfalls, all streaming straight into the model’s context window.


Troubleshooting Corner

SymptomQuick fix
command not found after brewbrew doctor && brew link chrome-devtools-mcp
Chrome refuses the socketRestart Chrome with --remote-debugging-port=9222 once, then never again
Claude doesn’t list the toolJSON typo—validate with jq empty ~/.config/claude/mcp/chrome-devtools.json

Uninstall / Switch version

brew uninstall chrome-devtools-mcp      # gone in 3 s
brew install chrome-devtools-mcp@0.7    # if you ever need an older build

Why This Beats npm -g

  • No phantom dependencies—Homebrew locks the Node version.

  • Signed, notarized binaries—Gatekeeper stays happy.

  • Upgrade in one word: brew upgrade chrome-devtools-mcp.


Credits & Deep Dives


Author’s Take

I’ve been beta-testing this since August, and the moment you watch an AI auto-scroll to the exact DOM node causing a React hydration mismatch, you’ll feel like you handed your debugger a brain.
Homebrew makes the install so friction-less that the hardest part is remembering to close Chrome’s extra tabs afterward. Happy debugging!

More from this blog

T

Tenten - AI / ML Development

225 posts

🚀 Revolutionize your business with AI! 🤖 Trusted by tech giants since 2013, we're your go-to LLM experts. From startups to corporations, we bring ideas to life with custom AI solutions