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.
Install Browser Tools Server
Built from the published package, never by AI.
claude mcp add browser-tools-server -- npx -y @agentdeskai/browser-tools-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"browser-tools-server": {
"args": [
"-y",
"@agentdeskai/browser-tools-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Browser Tools Server in Claude Desktop
{
"mcpServers": {
"browser-tools-server": {
"args": [
"-y",
"@agentdeskai/browser-tools-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"browser-tools-server": {
"args": [
"-y",
"@agentdeskai/browser-tools-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add browser-tools-server -- npx -y @agentdeskai/browser-tools-server{
"mcpServers": {
"browser-tools-server": {
"args": [
"-y",
"@agentdeskai/browser-tools-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Browser Tools Server in Antigravity CLI
gemini mcp add browser-tools-server npx -y @agentdeskai/browser-tools-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
ANo 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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
