
Brave DevTools MCP
io.github.triuzzi由 GitHub 帳號 triuzzi 發布v1.11.0更新於 Oct 30, 2026
MCP server and CLI for Brave DevTools
概覽
本機 MCP 伺服器,讓助理控制 Brave 瀏覽器,進行自動化、偵錯、效能分析、截圖與無障礙檢查。
- 可以做什麼
- 操作 Brave:開啟頁面、執行自動化動作並等待結果
- 偵錯:檢視網路請求、含原始碼對應堆疊的主控台訊息以及無障礙樹
- 效能:錄製 trace、擷取效能洞察並執行 Lighthouse 分析
- 擷取:截圖並檢查頁面內容
- 記憶體分析,並可連接既有的 Brave 設定檔、HTTP 或 WebSocket 工作階段
- 另附獨立的 brave-devtools 命令列工具
- 適用情境
- 當目標瀏覽器是 Brave,且希望助理在真實瀏覽器中重現並診斷網頁應用問題時適用,例如主控台錯誤、失敗請求、無障礙、效能與記憶體。若目標是 Chrome,應改用 Chrome DevTools MCP。
- 執行需求
- 需要 Node.js LTS 與 npm,以及目前版本或更新的 Brave;透過 npx brave-mcp 安裝。若要連接已開啟的瀏覽器,需在 Brave 中一次性開啟遠端偵錯並加上 --autoConnect,然後在提示中允許連線;不加此參數時伺服器會自行啟動使用獨立設定檔的 Brave。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Brave DevTools MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Brave DevTools for agents
Full Chrome DevTools MCP parity, rebuilt for Brave.
[CI] [npm] [npm downloads] [MCP Registry] [npm provenance] [upstream] [license]
[Brave DevTools MCP: 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
Cursor
Codex
OpenCode
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?
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:
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:
[!NOTE] Using
brave-mcp@latestensures 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:
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 --autoConnect to the server arguments shown there.
Your first prompt
Enter the following prompt in your MCP Client to check if everything is working:
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. 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.
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.
Known limitations
See 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.
來源:README.md,提交 3861411
工具
0版本歷史
3- v1.11.0最新Oct 15, 2026
- v1.10.1Oct 6, 2026
- v1.9.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分