brave-mcp

brave-mcp

Wraps chrome-devtools-mcp to control Brave/Chrome/Edge browsers with real user profiles, supporting multi-browser management, hot switching, and automatic reconnection.

Category
Visit Server

README

brave-mcp

Wrapper MCP local pour piloter le navigateur Brave (et Chrome/Edge) via chrome-devtools-mcp, avec gestion multi-navigateurs, sessions utilisateur réelles et reconnexion automatique.

Ce serveur ne crée pas de profil isolé : il se connecte au navigateur natif avec votre profil utilisateur (sessions, cookies, comptes déjà connectés).

Fonctionnement

start.js démarre un serveur MCP qui s'appuie sur la librairie officielle chrome-devtools-mcp (Puppeteer) pour les ~29 outils standards de navigation, et ajoute des outils de gestion du cycle de vie du navigateur :

Outil Rôle
browser_list Liste les navigateurs Chromium installés (Chrome, Brave, Edge) avec leur statut CDP
browser_launch Lance un navigateur natif avec CDP et votre profil utilisateur
browser_use Bascule la connexion vers un autre navigateur (sans redémarrage du serveur)
browser_status Statut détaillé de la connexion CDP et pages ouvertes
browser_restart Ferme un navigateur et le relance avec CDP + profil

Caractéristiques notables :

  • Sessions utilisateur : le navigateur est lancé avec --remote-debugging-port sur son profil réel — pas de profil jetable.
  • Port CDP dédié par navigateur : Chrome 9222, Brave 9223, Edge 9224.
  • Reconnexion à chaud : browser_use met à jour la cible sans redémarrer le serveur.
  • Health-check : toutes les 30 s, reconnexion automatique si le navigateur tombe.
  • Anti-corruption du TUI : toute sortie console.log/debug est redirigée vers stderr pour garder stdout propre pour le protocole MCP (JSON-RPC).

Prérequis

  • Node.js >= 20 (vérifié au démarrage par start.js)
  • Windows (détection des navigateurs via chemins standard, registre et where)
  • Chrome, Brave ou Edge installé (au moins un)

Installation

git clone https://github.com/menoxz/brave-mcp.git
cd brave-mcp
npm install
npm start

Configuration MCP

opencode

Ajoutez dans votre opencode.json (fichier de config utilisateur ou projet) :

{
  "mcp": {
    "web-browser": {
      "type": "local",
      "command": [
        "node",
        "C:\\chemin\\vers\\brave-mcp\\start.js",
        "--usageStatistics=false",
        "--performanceCrux=false"
      ],
      "environment": {
        "DEBUG": ""
      },
      "enabled": true
    }
  }
}

Claude Desktop / autres clients MCP

{
  "mcpServers": {
    "web-browser": {
      "command": "node",
      "args": ["C:\\chemin\\vers\\brave-mcp\\start.js", "--usageStatistics=false", "--performanceCrux=false"]
    }
  }
}

Lancement manuel du navigateur

Le serveur peut lancer le navigateur lui-même (browser_launch), mais vous pouvez aussi le démarrer à la main :

# Brave sur le port 9222 (profil utilisateur)
.\launch-brave.ps1

# Chrome, Brave ou Edge (détection automatique)
.\launch-browser.ps1 -Browser Brave

Outils exposés

  • Les outils standards de chrome-devtools-mcp (navigation, onglets, DOM, captures, etc. — ~29 outils).
  • Les outils browser_* listés ci-dessus.

Licence

MIT — Jean-Luc KOUMAGLO (menoxz), 2026.

Le serveur s'appuie sur chrome-devtools-mcp (Google), distribué sous licence Apache-2.0.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured