About
MCP server and CLI for Brave DevTools
Security Report
Valid MCP server (3 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: 4 highly-trusted packages.
3 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"brave-mcp": {
"command": "npx",
"args": [
"-y",
"brave-mcp@1.13.0"
]
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
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 |
Use Chrome DevTools MCP when your target browser is Chrome. Use brave-mcp when your target browser is Brave and you want Brave-native discovery, profiles, channels, naming, and privacy defaults without giving up upstream features.
Tool reference | CLI | Skills | Changelog | Contributing | Troubleshooting | Design principles
Key features
- Get performance insights: Uses Chrome DevTools to record traces and extract actionable performance insights.
- Advanced browser debugging: Analyze network requests, take screenshots and check browser console messages (with source-mapped stack traces).
- Reliable automation. Uses puppeteer to automate actions in Brave and automatically wait for action results.
Disclaimers
brave-mcp exposes content of the browser instance to the MCP clients
allowing them to inspect, debug, and modify any data in the browser or DevTools.
Avoid sharing sensitive or personal information that you don't want to share with
MCP clients.
brave-mcp officially supports the current Brave release. Beta and Nightly channels can be selected explicitly.
Performance tools may send trace URLs to the Google CrUX API to fetch real-user
experience data. This helps provide a holistic performance picture by
presenting field data alongside lab data. This data is collected by the Chrome
User Experience Report (CrUX). To disable
this, run with the --no-performance-crux flag.
Usage statistics
Usage statistics collection is disabled by default in this fork. It can be enabled explicitly with --usage-statistics, which uses the upstream Google Clearcut implementation:
"args": ["-y", "brave-mcp@latest", "--usage-statistics"]
When enabled, Google handles this data in accordance with the Google Privacy Policy. Collection remains disabled if BRAVE_DEVTOOLS_MCP_NO_USAGE_STATISTICS or CI is set.
Update checks
By default, the server periodically checks the npm registry for updates and logs a notification when a newer version is available.
You can disable these update checks by setting BRAVE_DEVTOOLS_MCP_NO_UPDATE_CHECKS.
Requirements
- Node.js LTS version.
- Brave current release or newer. On Linux, automatic discovery also finds the
Brave-Originprofile used by Manjaro'sbrave-origin-binpackage — see Advanced usage. - npm
Getting started
Start Brave with a loopback debugging port (see advanced usage), then add the following config to your MCP client to attach to that Brave:
{
"mcpServers": {
"brave-devtools": {
"command": "npx",
"args": ["-y", "brave-mcp@latest", "--browserUrl=http://127.0.0.1:9222"]
}
}
}
[!NOTE] Using
brave-mcp@latestensures that your MCP client will always use the latest version of the Brave DevTools MCP server.
Leave out --browserUrl to have the server launch its own Brave with a dedicated profile instead.
If you are interested in doing only basic browser tasks, use the --slim mode:
{
"mcpServers": {
"brave-devtools": {
"command": "npx",
"args": ["-y", "brave-mcp@latest", "--slim", "--headless"]
}
}
}
See Slim tool reference.
MCP Client configuration
For setup instructions specific to your editor or agent (e.g. Antigravity, Claude Code, Cursor, VS Code), please see our Client Configurations Guide. To attach to your running Brave, add --browserUrl=http://127.0.0.1:9222 (or --autoConnect for the brave://inspect flow) to the server arguments shown there.
Your first prompt
Enter the following prompt in your MCP Client to check if everything is working:
Check the performance of https://brave.com
Your MCP client opens the page in Brave and records a performance trace. If Brave raises an Allow remote debugging? dialog, approve it or switch to the debugging-port setup — see Troubleshooting.
[!NOTE] The MCP server connects to Brave only when the MCP client first uses a tool that needs a browser, not when the client starts. Without
--browserUrlor--autoConnect, that is when the server launches its own Brave.
CLI
The package also includes the brave-devtools CLI. Use it to control the browser from your terminal without MCP:
npm i brave-mcp@latest -g
brave-devtools navigate_page 1 --url "https://brave.com"
brave-devtools take_screenshot 1 --filePath screenshot.png
brave-devtools stop
See the CLI guide for all commands and options.
Skills
The package includes skills that teach your agent how to use Brave DevTools:
| Skill | Use it to |
|---|---|
brave-devtools | Debug and automate pages with the MCP tools. |
brave-devtools-cli | Run the CLI and write shell scripts with it. |
a11y-debugging | Audit and fix accessibility issues. |
cookie-debugging | Debug cookies, sessions, and authentication. |
debug-optimize-lcp | Debug and improve Largest Contentful Paint. |
memory-leak-debugging | Find and fix memory leaks. |
troubleshooting | Fix connection problems between MCP and Brave. |
Install skills as a plugin
A plugin installs the MCP server and all skills, including the CLI skill:
- Claude Code: Run
/plugin marketplace add triuzzi/brave-devtools-mcp, then/plugin install brave-devtools-mcp@brave-devtools-plugins. - Copilot / VS Code: Run Chat: Install Plugin From Source and enter
triuzzi/brave-devtools-mcp. - Gemini CLI: Run
gemini extensions install --auto-update https://github.com/triuzzi/brave-devtools-mcp.
See the Client Configurations Guide for more information.
Install skills manually
If your agent does not support plugins, copy the skill folders into the skills directory of your agent. The npm package contains the skills:
npm i brave-mcp@latest -g
# Example for Claude Code. Use the skills directory of your agent.
mkdir -p ~/.claude/skills
cp -R "$(npm root -g)/brave-mcp/skills/brave-devtools-cli" ~/.claude/skills/
[!IMPORTANT] The
brave-devtools-cliskill requires the CLI. Install the package globally before you use the skill.
Keep skills up to date
Skills describe the tools of a specific version. Update the skills each time you update the MCP server or the CLI. Outdated skills can tell your agent to use tools or parameters that changed.
- Plugins: Use the update command of the plugin manager of your agent. The Gemini CLI command above enables automatic updates with
--auto-update. - Manual installs: Update the package, then copy the skill folders again:
npm i brave-mcp@latest -g
mkdir -p ~/.claude/skills
cp -R "$(npm root -g)/brave-mcp/skills/brave-devtools-cli" ~/.claude/skills/
Tools
If you run into any issues, checkout our troubleshooting guide. See the full Tool reference for a complete list of all supported MCP capabilities.
Configuration
Find the complete list of server parameters (e.g., --headless, --isolated, --slim) and how to configure WebSocket connections in the Configuration Guide.
For basic browser tasks only, the --slim flag exposes a reduced set of tools. See the Slim tool reference.
Advanced usage
For advanced features such as handling concurrent sessions, persistent user data directories, using a custom or non-standard browser path (--executablePath), connecting to a running Brave instance instead of starting a new one, or debugging on Android, see our Advanced Usage Guide.
Integrating as a browser subagent
If you are developing agentic tooling and want to provide an integrated browser subagent as part of your product, we recommend building on top of Brave DevTools for agents.
For a reference implementation, see the Gemini CLI browser agent documentation.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
