← Back to Leaderboard
BAgentDeskAI

AgentDeskAI/browser-tools-mcp

Chrome DevTools extension and local MCP connector for debugging live sessions

Engineering Health (Methodology)
A · 83/100
Maintenance Activity
● Updated 1mo ago
Latest Release
v2.0.4
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance26/35
Fork Adoption17/25
Release Cadence20/20
License Clarity20/20
MCPCLI
Total Stars
★ 7,348
24h Growth
+2
7d Growth
+6
Forks
539

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

AgentDeskAI/browser-tools-mcp Star History (2025-02-13 - 2026-12-04) ALL-TIME STAR HISTORY (2025-02 – 2026-12) +7.3k in 659d · avg +11/day 7.8k 3.9k 0 2025-02-13: ★ 12025-03-29: ★ 2,4432025-05-10: ★ 3,9052025-06-21: ★ 5,0582025-08-02: ★ 5,8312025-09-13: ★ 6,2852025-10-25: ★ 6,5552025-12-06: ★ 6,7012026-01-17: ★ 6,8152026-02-28: ★ 6,9442026-04-11: ★ 7,0672026-05-23: ★ 7,1252026-07-04: ★ 7,1922026-08-15: ★ 7,2402026-09-26: ★ 7,2922026-11-05: ★ 7,3292026-12-04: ★ 7,348 ★ 7.3k 2025-02 2026-01 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

BrowserTools MCP is a TypeScript workspace with three main directories: chrome-extension/, browser-tools-mcp/, and browser-tools-server/. The extension captures console and network activity from the Chrome session the developer is already using and connects over an authenticated loopback WebSocket. The Node.js MCP server normally embeds that connector in one server process and exposes structured tools and resources over stdio. The connector also has a bearer-authenticated local HTTP API and can run standalone so multiple local clients can share one browser connection.

DevTools telemetry and retention are scoped per tab. Opening DevTools establishes the current tab; a reconnect does not take it over, and results include the source tab ID and URL. A separate path for listing, reading, and interacting with tabs uses chrome.tabs and chrome.scripting without attaching the debugger. Its chromeTabId is not interchangeable with the DevTools tabId.

Key Capabilities & Differentiators

The MCP surface covers console errors, XHR/fetch status, timings and bodies, the selected DOM element, page metadata, screenshots, and storage inspection with values withheld by default. Log tools provide filtering, newest-first pagination, and total and returned counts. Full console and network histories, HAR 1.2 exports, images, and complete audit reports are retrievable as MCP resources, so clients can inspect summaries without loading the entire payload into model context.

Screenshots default to a 3 MB budget: oversized images are re-encoded as JPEG, then downscaled if needed, with a file path returned when the image still cannot be inlined. Lighthouse runs accessibility, performance, SEO, and best-practices audits in a separate Chromium process; the last 20 full reports are kept under audits/ in the screenshot directory. Tab navigation and soft input are also available with opt-in controls, but soft actions cannot satisfy Chrome's requirement for a real user gesture.

Trade-offs & Limitations

Compared with using Playwright MCP or Chrome DevTools MCP against a separate automation profile, BrowserTools' advantage is preserving the login state and page that the developer is already debugging. The cost is a manually loaded extension and a DevTools-dependent capture window: traffic that finished before DevTools opened is absent. Default console capture shows Chrome's debugger banner; the page-console wrapping option avoids attaching the debugger. Firefox is not verified, and its screenshot path is unsupported. Lighthouse starts a separate browser, so it should not be assumed to inherit the inspected tab's login state.

Loopback binding, bearer authentication, and credential redaction reduce exposure, but response bodies and screenshots can still contain sensitive application data. Treat the MCP client and its model destination as part of the trust boundary. Keep redaction enabled, expose only necessary tools, and avoid enabling broad private-network audit access. If a private audit target is not already open in a connected tab, prefer a narrowly scoped origin allowlist.

Hardware & Deployment Guide

Use Node.js 22.19 or newer, configure the MCP client to launch npx -y @agentdeskai/browser-tools-mcp@latest, and load chrome-extension/ unpacked in Chrome Developer mode. Open DevTools on the target tab to start capture. No second connector process is needed for a single client. --doctor checks setup and identifies the audit browser; CHROME_PATH can override that browser. The default connector address is 127.0.0.1:3025.

For multiple clients on one workstation, run npx @agentdeskai/browser-tools-server once and decide the shared API's --only, --exclude, and action policy at that process. Do not treat its default HTTP action-confirmation policy as a control on MCP tools in the process that embeds the connector. For upgrades, 1.x is unsupported and has known critical vulnerabilities. v2.0.3 fixes an SSRF issue in the Lighthouse tools affecting v2.0.0–v2.0.2; v2.0.4 hardens local connector authentication and moves the test runner to Vitest 5. The workspace separates unit and integration tests from extension end-to-end tests that use real Chromium.

Session capture: A DevTools extension collects evidence from the Chrome profile already in use, without relying on remote debugging of the default profile.
Tab isolation: DevTools telemetry is retained per tab; results include tabId and URL, while background tab tools use a separate chromeTabId.
Context budgets: Paginated log reads report total and returned; full histories and HAR 1.2 exports are available as MCP resources.
Image handling: Screenshots default to a 3 MB budget, with JPEG re-encoding, downscaling, and a disk-path fallback.
Audit execution: Four Lighthouse audit types run in a separate Chromium process, with URL policy checks covering redirects and subresources.
Connector boundary: Loopback binding, per-run bearer authentication, and optional --extension-id pairing restrictions.
Best For

Frontend and full-stack teams debugging authenticated Chrome sessions, correlating console errors and failed requests with screenshots without rebuilding the browser state.

Skip If

You need repeatable browser automation in isolated profiles, reliable real-user gestures, verified Firefox support, or a browser-data workflow that your MCP client's data policy cannot accommodate.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLI
npx @agentdeskai/browser-tools-server --verbose

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
browser-tools-mcp ★7.3k+6TypeScriptMITChrome DevTools extension and local MCP connector for debugging live sessions
chrome-devtools-mcp60.4k+801TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
agents43.2k+221PythonMITOne Markdown plugin catalog adapted to seven AI coding tools
context765.9k+324TypeScriptMITA hosted documentation index with MCP and CLI access for coding agents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/AgentDeskAI/browser-tools-mcp.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

AgentDeskAI/browser-tools-mcp Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about browser-tools-mcp

How do the extension, connector, and MCP client fit together?

The extension captures activity from the browser. The MCP server normally embeds the loopback connector and exposes its data to the client over MCP stdio. For several clients on one machine, start the standalone @agentdeskai/browser-tools-server once and share its browser connection. The standalone process controls the local HTTP API's tool exposure and action policy; each attached MCP client can narrow its own tool list.

What runtime, hardware, and VRAM should I budget for?

The local stack needs Node.js 22.19 or newer and Chrome for the DevTools extension. No local model or dedicated VRAM is required by the connector. Budget for the existing browser session, retained telemetry, and files written to the screenshot directory. Lighthouse adds a separate Chromium process and an audit can take up to a minute. Use --doctor to see which browser it will launch.

Can we self-host this for commercial work, and what should we review before rollout?

Yes. MIT permits commercial use and self-hosting, with copyright and license notices retained when redistributing copies or substantial portions. The connector stays on loopback, but captured data can still enter an MCP client's context and be sent to its configured model provider. Review that data path and the retention of local screenshots and audit reports before using a sensitive authenticated profile.

When should I use this instead of Playwright MCP or Chrome DevTools MCP?

Choose BrowserTools when a bug depends on the session already open in Chrome and you want console, network, or visual evidence without rebuilding login state. Choose Playwright MCP or Chrome DevTools MCP when the priority is driving a separate automation profile for repeatable tests. BrowserTools supports navigation and limited input, but soft input cannot replace a real user gesture where Chrome requires one.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining AgentDeskAI/browser-tools-mcp? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature AgentDeskAI/browser-tools-mcp on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare