Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Browser Tools Server

MCP server by AgentDeskAI Verified · npm:@agentdeskai

Connects AI coding agents to your real Chrome session to read console output, network activity, screenshots and Lighthouse audits. Built for debugging the page you are already logged into. The connector can also run on its own so several MCP clients can share one browser session.

  • Score 89
  • 7.3k stars
  • 351 a week
  • MIT
  • Updated

Install Browser Tools Server

Built from the published package, never by AI.

claude mcp add browser-tools-server -- npx -y @agentdeskai/browser-tools-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Browser Tools Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the browser-tools-server block.

About

BrowserTools MCP streams console output, network activity, screenshots and Lighthouse audits from your real Chrome session to any MCP-compatible client. It attaches to the tabs you already have open through a DevTools extension, so you stay logged in and your agent reads what you see. The source names Cursor, Claude Code, Windsurf, Cline, Zed and Gemini CLI as examples of clients.

The MCP server runs the connector itself, and the extension talks to it over a loopback connection that requires a per-run bearer token. Credentials such as Authorization and Cookie headers are scrubbed before they leave the browser. The source describes version 2.0 as a rewrite and says 1.x is unsupported. It is aimed at developers who debug the app they are looking at, not at writing automated tests.

Written from the project's README and checked against it.

Tools it gives your assistant

  • getConsoleLogsReturns console output, filterable by keyword with paging.
  • getConsoleErrorsReturns error-level console output and uncaught exceptions.
  • getNetworkLogsReturns XHR and fetch requests with status, timing and bodies.
  • getNetworkErrorsReturns only failed and 4xx/5xx requests.
  • takeScreenshotReturns a screenshot as an image, plus its file path.
  • listBrowserTabsLists tabs with DevTools open, addressed by a tabId.
  • getBrowserStorageReads localStorage, sessionStorage and cookies, with values gated.
  • runAccessibilityAuditRuns a Lighthouse accessibility audit on the page.
  • runPerformanceAuditRuns a Lighthouse performance audit with Core Web Vitals.
  • runSEOAuditRuns a Lighthouse SEO audit on the page.

What you need

  • Node.js 22.19 or newer
  • Google Chrome with the BrowserTools Chrome extension loaded
  • An MCP-compatible AI client

Try asking

  • Check the console for errors on this page
  • Run an accessibility audit on this page
  • Show me the failed network requests from this tab

Good to know

  • Tools act on the current tab unless you pass a tabId or allTabs.
  • listTabs may miss tabs such as Arc Spaces, pinned tabs and incognito tabs.
  • Audits of localhost or private network pages need the page open in a connected tab.
  • Behind a fake-IP proxy, audits are refused unless --audit-allow-private-network is passed.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Browser Tools Server

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Browser Tools Server: common questions

How is this different from Chrome DevTools MCP or Playwright MCP?

The source says those tools drive a fresh automated browser, which suits writing tests. BrowserTools attaches to the session you are already in through a DevTools extension, so your logins stay active.

Is it safe to run on a shared network?

The connector binds 127.0.0.1 and refuses non-loopback addresses. The HTTP API requires a per-run bearer token, and credentials are scrubbed from captured data.

Why does Chrome show a debugging banner?

The source says Chrome's debugging warning is a safety control that is intentional and that the project never hides it.

How do I install Browser Tools Server?

In Claude Code run claude mcp add browser-tools-server -- npx -y @agentdeskai/browser-tools-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Browser Tools Server the official server?

Browser Tools Server is published by npm:@agentdeskai from its verified domain in the official MCP Registry.

Is Browser Tools Server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Browser Tools Server safe to use?

It scores 89 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Browser Tools Server?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Browser Tools Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Browser Tools Server Install

Add to stack

Loading.