Brave DevTools for agents
Full Chrome DevTools MCP parity, rebuilt for Brave.


brave-mcp gives Claude Code, Codex, Cursor, OpenCode, and other MCP clients direct access to Brave for browser automation, network and console debugging, performance analysis, screenshots, accessibility inspection, and memory profiling. A standalone brave-devtools CLI is included too.
Install in one command
The commands below use --browserUrl, which attaches brave-mcp to a Brave you start with a loopback debugging port, so the agent works with your real tabs and signed-in sessions. Start that Brave first, with a dedicated profile:
"/Applications/Brave Browser.app/Contents/MacOS/Brave Browser" \
--user-data-dir="$HOME/.brave-agent" \
--remote-debugging-address=127.0.0.1 \
--remote-debugging-port=9222
See Connecting to a running Brave instance for the Linux and Windows commands, the --autoConnect alternative, and the port-security notes.
Claude Code
claude mcp add brave-devtools --scope user -- npx -y brave-mcp@latest --browserUrl=http://127.0.0.1:9222
Cursor
cursor --add-mcp '{"name":"brave-devtools","command":"npx","args":["-y","brave-mcp@latest","--browserUrl=http://127.0.0.1:9222"]}'
Codex
codex mcp add brave-devtools -- npx -y brave-mcp@latest --browserUrl=http://127.0.0.1:9222
OpenCode
opencode mcp add brave-devtools -- npx -y brave-mcp@latest --browserUrl=http://127.0.0.1:9222
Restart your client, then try this prompt:
Open my app in Brave. Find console errors and failed network requests, inspect the accessibility tree, run Lighthouse, and explain the highest-impact issue.
With the debugging port, the agent attaches to every tab in that Brave without a native permission prompt. If http://127.0.0.1:9222/json/version answers 404 while the port is open, Brave is waiting for the Allow remote debugging? approval: approve it, or relaunch Brave with the flags above.
--autoConnect is the alternative when you would rather enable remote debugging from brave://inspect/#remote-debugging and approve each connection; it attaches to Brave Release unless you add --channel beta or --channel nightly. To keep the agent out of your everyday browser, leave out both flags: the server then launches its own Brave with a dedicated profile.
The same server is also published as brave-devtools-mcp, so npx brave-devtools-mcp@latest works identically if you prefer a name that matches upstream's chrome-devtools-mcp. The brave-devtools-mcp name was originally published by @neolivz — thanks, Jishnu.
Why use this instead of Chrome DevTools MCP?
| Capability | brave-mcp | chrome-devtools-mcp |
|---|
| Browser launched and discovered natively | Brave Release, Beta, and Nightly | Chrome Stable, Beta, Dev, and Canary |
| Attach to an existing browser | Brave profiles, HTTP, or WebSocket | Chrome profiles, HTTP, or WebSocket |
| Upstream DevTools features | Full parity; currently 0 commits behind | Source implementation |
| Usage telemetry | Disabled by default | Enabled by default |
| Standalone CLI | brave-devtools | chrome-devtools |