Brave DevTools MCP

Registre officiel Outils de développement

MCP server and CLI for Brave DevTools

Que pouvez-vous faire avec Brave DevTools MCP ?

  • Get performance insights: Uses [Chrome
  • Advanced browser debugging: Analyze network requests, take screenshots and
  • Reliable automation. Uses

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package brave-mcp
Claude Code
claude mcp add brave-devtools-mcp -- npx -y brave-mcp@1.11.0
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "brave-devtools-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "brave-mcp@1.11.0"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Brave DevTools for agents
  2. Install in one command
  3. Why use this instead of Chrome DevTools MCP?
  4. Tool reference | Changelog | Contributing | Troubleshooting | Design principles
  5. Key features
  6. Disclaimers
  7. Usage statistics
  8. Update checks
  9. Requirements
  10. Getting started
  11. Tools
  12. Configuration
  13. Advanced usage
  14. Known limitations
  15. Integrating as a browser subagent

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 --autoConnect, which attaches brave-mcp to the Brave you already have open, so the agent works with your real tabs and signed-in sessions. Enable it once: open brave://inspect/#remote-debugging in Brave and check Allow remote debugging for this browser instance. Brave keeps this setting across restarts.

Claude Code
claude mcp add brave-devtools --scope user -- npx -y brave-mcp@latest --autoConnect
Cursor
cursor --add-mcp '{"name":"brave-devtools","command":"npx","args":["-y","brave-mcp@latest","--autoConnect"]}'
Codex
codex mcp add brave-devtools -- npx -y brave-mcp@latest --autoConnect
OpenCode
opencode mcp add brave-devtools -- npx -y brave-mcp@latest --autoConnect

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.

When the agent connects, Brave asks for permission. Click Allow.

--autoConnect attaches to Brave Release unless you add --channel beta or --channel nightly. To keep the agent out of your everyday browser, leave out --autoConnect: the server then launches its own Brave with a dedicated profile.

Why use this instead of Chrome DevTools MCP?

Capabilitybrave-mcpchrome-devtools-mcp
Browser launched and discovered nativelyBrave Release, Beta, and NightlyChrome Stable, Beta, Dev, and Canary
Attach to an existing browserBrave profiles, HTTP, or WebSocketChrome profiles, HTTP, or WebSocket
Upstream DevTools featuresFull parity; currently 0 commits behindSource implementation
Usage telemetryDisabled by defaultEnabled by default
Standalone CLIbrave-devtoolschrome-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 | 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

Getting started

Enable remote debugging once at brave://inspect/#remote-debugging, then add the following config to your MCP client to attach to your running Brave:

{
  "mcpServers": {
    "brave-devtools": {
      "command": "npx",
      "args": ["-y", "brave-mcp@latest", "--autoConnect"]
    }
  }
}

[!NOTE] Using brave-mcp@latest ensures that your MCP client will always use the latest version of the Brave DevTools MCP server.

Leave out --autoConnect 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][client-configurations-guide]. To attach to your running Brave, add --autoConnect 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

Brave asks you to allow the connection. After you click Allow, your MCP client opens the page in Brave and records a performance trace.

[!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 --autoConnect, that is when the server launches its own Brave.

Tools

If you run into any issues, checkout our [troubleshooting guide][troubleshooting]. See the full [Tool reference][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][configuration-guide].

Advanced usage

For advanced features such as handling concurrent sessions, persistent user data directories, connecting to a running Brave instance instead of starting a new one, or debugging on Android, see our [Advanced Usage Guide][advanced-usage-guide].

Known limitations

See [Troubleshooting][troubleshooting].

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.

[advanced-usage-guide]: ./docs/advanced-usage.md [client-configurations-guide]: ./docs/client-configurations.md [configuration-guide]: ./docs/configuration.md [tool-reference]: ./docs/tool-reference.md [troubleshooting]: ./docs/troubleshooting.md

Questions fréquentes

Qu'est-ce que Brave DevTools MCP ?

MCP server and CLI for Brave DevTools

Comment installer Brave DevTools MCP ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add brave-devtools-mcp -- npx -y brave-mcp@1.11.0. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Brave DevTools MCP ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

Brave DevTools MCP est-il open source ?

Oui. Son code est sur GitHub sous licence Apache-2.0.

Qui maintient Brave DevTools MCP ?

Il est publié par triuzzi. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.