BrowserTools MCP

Streams console output, network traffic, screenshots and Lighthouse audits from your real Chrome session into any MCP-compatible coding agent.

Stars
★ 7.3k
Last updated
1mo ago v2.0.4
FARS reviewed
Nov 08, 2026
License
MIT
Primary language
TypeScript

At a glance

Works with
Universal · cross-platformClaude Code
You'll need
Node.js 22.19 or newerChrome (or another Chromium-based browser) for auditsChrome extension loaded via chrome://extensionsShell / CLINetwork accessLocal filesystemMCP Server
Typical use
A frontend developer asks the agent in Cursor to read console errors from the page they are already looking at, instead of copy-pasting stack traces.
Main limitation
Setup is genuinely two steps: configure the MCP server and manually load a Chrome extension, then open DevTools each session.
Website
agentdesk.ai ↗ set on GitHub
Maintenance
Commits in the last 6 monthslast commit 2026-10-27latest release v2.0.4 (2026-10-27)+0.9 ★/day over 7 days
Source review
75/100 · Good

What does this agent do, and when should you use it?

BrowserTools MCP is a two-part tool: an MCP server launched with npx (@agentdeskai/browser-tools-mcp) and a Chrome extension you load unpacked. Instead of driving a fresh automated browser, it attaches to the Chrome session you are already logged into via a DevTools extension, capturing console logs, XHR/fetch activity, the selected element, page info, screenshots and browser storage. It exposes these through 16 tools plus three bundled prompts (debuggerMode, auditMode, nextjsSeoAudit) and a set of MCP resources to clients such as Cursor, Claude Code, Windsurf, Cline, Zed and Gemini CLI. Version 2.0 collapses three processes into one, binds only to 127.0.0.1, requires a per-run token, and scrubs Authorization/Cookie headers, JWTs, cloud keys and vendor tokens before data leaves the browser. It also runs Lighthouse accessibility, performance, SEO and best-practices audits from a separate browser process that is blocked from internal networks and cloud metadata endpoints by default. Node.js 22.19 or newer is required, and the project is MIT licensed.

Capture begins on any tab where DevTools is open; the extension forwards telemetry to a local connector, and the MCP server exposes getConsoleLogs, getConsoleErrors, getNetworkLogs, getNetworkErrors, getSelectedElement, getPageInfo, getConnectionStatus, listBrowserTabs, takeScreenshot, refreshBrowser, getBrowserStorage, wipeLogs, plus runAccessibilityAudit, runPerformanceAudit, runSEOAudit and runBestPracticesAudit. Each DevTools tab is tracked and retained separately; tools act on the current tab (the most recent one to open DevTools) unless you pass a tabId or allTabs, and every result reports its tabId, url and otherTabs. Whole-history payloads are served as MCP resources — browser-tools://console/{tabId|all}, browser-tools://network/{tabId|all}, browser-tools://har/{tabId|all}, browser-tools://screenshot/{name} and browser-tools://audit/{reportId} — and tools link to them with resource_link instead of inlining. Log reads accept limit, offset and keyword filters and return newest-first with both total and returned. Audits launch a separate Chromium browser and keep the last 20 full Lighthouse reports under audits/ in the screenshot directory.

  1. A frontend developer asks the agent in Cursor to read console errors from the page they are already looking at, instead of copy-pasting stack traces.
  2. Debugging an authenticated dashboard where recreating login state in a throwaway Playwright or Chrome DevTools MCP profile would be painful.
  3. Chasing failing or slow API calls with getNetworkLogs and getNetworkErrors filtered by URL or body keywords, then pulling the HAR resource for full analysis.
  4. Running runAccessibilityAudit or runPerformanceAudit with Core Web Vitals before shipping a release.
  5. Checking a Next.js site's SEO by combining the bundled nextjsSeoAudit prompt with runSEOAudit.
  6. Working with several open tabs and using listBrowserTabs to pick the right tabId so screenshots and logs come from the intended page.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npx @agentdeskai/browser-tools-mcp --doctor
  • npx @agentdeskai/browser-tools-server --verbose
  • npx @agentdeskai/browser-tools-mcp --port 3025 --screenshot-dir ./shots --only getConsoleErrors,getNetworkLogs --audit-allow-origin http://localhost:3000
  • npx @agentdeskai/browser-tools-server
Runtime
Node.js 22.19
Install notes cover
Windows

How do you install or deploy this agent?

You need Node.js 22.19 or newer; verify first:

node --version

Add the server to your MCP client configuration:

{
  "mcpServers": {
    "browser-tools": {
      "command": "npx",
      "args": ["-y", "@agentdeskai/browser-tools-mcp@latest"]
    }
  }
}

On Windows, if the client cannot find npx, use:

{
  "mcpServers": {
    "browser-tools": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "@agentdeskai/browser-tools-mcp@latest"]
    }
  }
}

Then clone the repository, open chrome://extensions, enable Developer mode, choose Load unpacked and select the chrome-extension directory. There is no second server to start. Verify the setup with:

npx @agentdeskai/browser-tools-mcp --doctor

How do you use this agent?

Open Chrome DevTools (F12) on the page you want to inspect — capture starts immediately; the BrowserTools panel is only for settings and status — then ask your agent things like "check the console for errors" or "run an accessibility audit on this page". To watch capture happen live during a fresh install:

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

Common flags cover port, screenshot directory, tool allow/deny lists and audit origin allowlisting:

npx @agentdeskai/browser-tools-mcp --port 3025 --screenshot-dir ./shots --only getConsoleErrors,getNetworkLogs --audit-allow-origin http://localhost:3000

To share one browser session across several MCP clients, start the connector once and let clients attach:

npx @agentdeskai/browser-tools-server

For working on the project itself:

npm install
npm run build
npm test
npx playwright install chromium
npm run test:e2e

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure

What are this agent's strengths and limitations?

Pros
  • Attaches to your real, already-logged-in Chrome session, sidestepping Chrome 136's restriction on remote debugging for the default profile.
  • 2.0 runs as a single process on 127.0.0.1 with per-run token auth and scrubs Authorization, Cookie, JWT and cloud-key credentials before they leave the browser.
  • Beyond logs and network data it delivers Lighthouse-grade performance, accessibility, SEO and best-practices audits, which automation-first servers generally lack.
  • Whole-history data is exposed as MCP resources with resource_link, and read tools support limit/offset plus keyword filters while reporting total vs. returned.
  • Per-tab retention with tabId, url and otherTabs in every result makes wrong-tab answers visible instead of silent.
  • Includes a --doctor self-check, --only/--exclude tool filtering, and an MIT license.
Limitations
  • Setup is genuinely two steps: configure the MCP server and manually load a Chrome extension, then open DevTools each session.
  • Network capture starts only when DevTools opens, so early page-load requests are missed unless you reload.
  • Default console capture shows Chrome's "started debugging this browser" banner unless you switch the panel to Wrap page console.
  • Firefox is untested and screenshots (which rely on the DevTools protocol) will not work there; Arc is best-effort and unverified headless.
  • Audits spawn a separate browser and can take up to a minute, and their loopback/private-network rules take reading.
  • Upgrading from 1.x is mandatory, not optional: 1.2.x has a critical vulnerability and older builds bound 0.0.0.0 and scanned private ranges.

How does this agent compare with similar options?

The README explicitly positions this against CDP-based servers such as Chrome DevTools MCP and Playwright MCP: those drive a fresh automated browser, which suits writing tests but forces you to recreate auth state because Chrome 136+ refuses remote debugging on your default profile. BrowserTools MCP attaches to the existing session through a DevTools extension and adds Lighthouse-grade performance, accessibility and SEO data the automation-first servers do not report.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
BrowserTools MCP This agent 75 · Good — ★ 7.3k 1mo ago TypeScript Claude Code
byob (Bring Your Own Browser) 53 · Major gaps MCP serverFree ★ 149 1d ago TypeScript Codex · Claude Code
JS Reverse MCP 72 · Some gaps MCP serverFree ★ 3.1k 3mo ago TypeScript Codex · Claude Code
Pilot Browse MCP 37 · Major gaps MCP serverFree + model costs ★ 23 4mo ago TypeScript —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Good
75/ 100 5-point scale 3.8 / 5
Trust 18/29
Reliability 9/14
Adaptability 15/18
Convention 15/18
Effectiveness 12/13
Verifiability 6/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

The materials describe loopback binding, per-run bearer tokens, origin validation, default credential redaction, constrained audit network access, and selectable tool exposure. These support strong scores for least privilege and data-flow transparency. Deductions: redaction is pattern-based and explicitly not guaranteed, and --no-redact can disable it; some state-changing actions invoked through MCP bypass the confirmation gate described for the local API; publisher identity is unverified, and maintenance responsibility and update commitments are not fully clear. Wiping is documented, but no recovery or rollback mechanism is shown.

Reliability9 / 14 · 3.2/5

The README, CLI, and MCP code are broadly consistent about tools, paging, resource links, and error returns; CI is configured for typechecking, builds, tests, and dependency auditing. Deductions: this is a static review with no executed verification; the supplied code excerpts are incomplete, and some README descriptions do not fully line up with the CLI flags shown. Doctor, startup, and tool errors have messages, but the evidence does not support a higher score for failure diagnosis.

Adaptability15 / 18 · 4.2/5

The product clearly targets coding agents and users of MCP, covering browser debugging, audits, tab operations, and multiple IDEs. Documentation explains tool boundaries, distinct tab ID spaces, permission switches, and limitations such as unverified Firefox support. Deductions: capture begins only after DevTools opens, and actions and navigation depend on settings and origin rules; support varies across Windows, Firefox, Arc, proxy environments, and MCP clients.

Convention15 / 18 · 4.2/5

The README is organized around installation, tools, security, configuration, and limitations; setup steps are concrete, the LICENSE states MIT, and security, migration, and CI materials are included. Known limits are described thoroughly. Deductions: names and commands vary across MCP, server, and CLI references; examples and FAQ-style guidance are useful but incomplete; version 2.0 and supported security versions are identified, but a full change history is not provided; maintenance responsibility is only partly described through the security reporting path and support policy.

Effectiveness12 / 13 · 4.6/5

Structured output, paging and filters, full-history resource links, HAR, screenshots, and Lighthouse reports give agents usable browser data. Debugging the user's active authenticated session has a clear practical benefit. Deductions: setup requires configuring an MCP server and loading an extension, audits may launch an additional browser and take time, and screenshots and large payloads remain subject to size limits.

Verifiability6 / 8 · 3.8/5

Several product and security claims can be traced across the README, SECURITY.md, CLI, MCP server, CI workflow, and test source. The documentation distinguishes facts from caveats such as unverified Firefox support and the limits of redaction. Deductions: some security claims are documented but cannot all be checked against the implementation excerpts provided; CI configuration and test files show intended checks and assertions, not that they ran or passed in this review.

Risks and how to mitigate them
  • Credential redaction is not guaranteed; unknown secret formats may be captured, and --no-redact disables redaction. Check that browser data is appropriate to expose to the agent.
  • The local API confirmation gate does not cover MCP tools embedded in the same process. Configure MCP clients and tool access accordingly.
  • Firefox is explicitly unverified; audits launch a browser, and relaxing private-network audit settings can expand reachable destinations.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 2b30d11677e7
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/browser-tools-mcp.svg)](https://followagents.com/en/agents/browser-tools-mcp)
<a href="https://followagents.com/en/agents/browser-tools-mcp"><img src="https://followagents.com/badge/browser-tools-mcp.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2.0.4 2.0.4
    Release notes excerpt
    Low-severity hardening of the local connector, and the test runner is now Vitest 5. - The token is a bearer token. The HTTP API and the extension WebSocket accept it from Authorization: Bearer or, for the extension, a WebSocket subprotocol. A token in the URL is refused. The extension collects it from POST /.pair, which answers only a real browser-extension origin (chrome-extension:// with a Chromium id, or moz-extension:// / safari-web-extension:// with a UUID). /.identity still does not include it. --extension-id limits pairing and the extension socket to one …
    View on GitHub ↗
  2. v2.0.3 2.0.3 — Security
    Release notes excerpt
    Fixes a server-side request forgery in the four Lighthouse audit tools (runAccessibilityAudit, runPerformanceAudit, runSEOAudit, runBestPracticesAudit), CWE-918, present in 2.0.0 through 2.0.2. Advisory: GHSA-fm7v-38h4-4q7w. The tools accept a url and audited it in a headless Chrome on the user's machine after checking only that the scheme was http or https. A caller — in practice a model acting on prompt-injected page content — could point that browser at loopback services, the LAN or a cloud metadata endpoint, and the …
    View on GitHub ↗
  3. v2.0.2 v2.0.2 — five defects found while specifying 2.1
    Release notes excerpt
    Five defects, all found by writing the [2.1 capability specifications](https://github.com/AgentDeskAI/browser-tools-mcp/blob/main/ROADMAP-2.1.md) rather than by anything failing. Four were invisible in normal use, which is how they survived the 2.0 rewrite and its test suite. No API changes. Upgrade with npx @agentdeskai/browser-tools-mcp@latest. Fixed …
    View on GitHub ↗

FAQ

Can someone else on my network see the captured logs?
No in 2.0: the connector binds 127.0.0.1 and refuses non-loopback addresses, the HTTP API requires a per-run token, and the WebSocket accepts browser-extension origins only. The README notes 1.x bound 0.0.0.0 and scanned private ranges, and that behavior is gone.
Does using it add any model API costs?
Not by itself. The project is MIT-licensed, the MCP server runs locally through npx, and it calls no vendor cloud; cost depends entirely on the MCP client and model you already use.
My first page load's requests are missing — why?
This is a documented limit: network capture starts when DevTools opens. Open DevTools first and reload the page to record a complete page load.
Will huge screenshots or long logs blow up the context window?
Screenshots are capped by screenshotMaxBytes (3 MB default) and re-encoded or downscaled; if still too large they are written to disk and the path is returned. Log and network history are exposed as MCP resources, reads accept limit/offset and keyword filters, and results report total alongside returned.
Can an audit reach my internal services?
By default no: link-local and cloud metadata addresses are never audited, and localhost or private pages are audited only while open in a connected tab or allowlisted via --audit-allow-origin, with every request including redirects and subresources re-checked. Behind a fake-IP proxy you must pass --audit-allow-private-network.
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts