browser-devtools-mcp
CommunityMCP server by serkan-ozal · updated · 3.2k downloads a week
Playwright browser & Node.js MCP. ARIA refs, screenshots, ref-based interactions. browser-devtools-mcp is a community project by serkan-ozal, not verified by a company domain.
No licence found, so reuse rights are unclear
Clear description, published package or server URL, original repository
Not checked yet. What we check
What you need
| Setting | Needed | What it is |
|---|---|---|
PLATFORMEnvironment variable | Optional | Platform: browser (default) or node for Node.js backend debugging. |
PORTEnvironment variable | Optional | Port for HTTP transport. |
SESSION_Environment variable | Optional | Idle session timeout (seconds). |
SESSION_Environment variable | Optional | Interval for checking idle sessions (seconds). |
SESSION_Environment variable | Optional | Close session when socket closes. |
CONSOLE_Environment variable | Optional | Maximum console messages to buffer. |
HTTP_Environment variable | Optional | Maximum HTTP requests to buffer. |
BROWSER_Environment variable | Optional | When true, include server instructions in MCP server info (browser platform). Default: true. |
BROWSER_Environment variable | Optional | When true, include UI_DEBUGGING_POLICY in server policies (browser platform). Default: false. |
BROWSER_Environment variable | Optional | Run browser in headless mode. |
BROWSER_Environment variable | Optional | Use persistent browser context (preserves cookies, localStorage, extensions). |
BROWSER_Environment variable | Optional | CDP attach: http(s) root or ws(s) URL. Resolves via /json/version, /json/list, or ws /devtools/browser (Chrome 136+). Mutually exclusive with BROWSER_PERSISTENT_ENABLE. |
BROWSER_Environment variable | Optional | When true and no BROWSER_CDP_ENDPOINT_URL: probe 127.0.0.1:9222 then :9229 for CDP. Else use BROWSER_CDP_ENDPOINT_URL or default http://127.0.0.1:9222. |
BROWSER_Environment variable | Optional | On loopback CDP failure, if Chrome is running, open chrome://inspect/#remote-debugging. Default true. Set false to disable. |
BROWSER_Environment variable | Optional | Directory for persistent browser context user data. |
BROWSER_Environment variable | Optional | Use system-installed Chrome browser instead of Playwright's bundled browser. |
BROWSER_Environment variable | Optional | Custom browser executable path. |
BROWSER_Environment variable | Optional | When false, launches Chromium with --no-sandbox. Required for Docker/Lambda/CI. |
BROWSER_Environment variable | Optional | Extra Chromium launch args (comma-separated). |
BROWSER_Environment variable | Optional | Comma-separated list of allowed hostnames. When set, all requests to non-matching hosts are aborted. Subdomains match automatically. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Install browser-devtools-mcp
Built from the published package, never by AIclaude mcp add browser-devtools-mcp -- npx -y browser-devtools-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install browser-devtools-mcp in Claude Desktop
{
"mcpServers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add browser-devtools-mcp -- npx -y browser-devtools-mcp{
"mcpServers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install browser-devtools-mcp in Antigravity CLI
gemini mcp add browser-devtools-mcp npx -y browser-devtools-mcpGemini 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-devtools-mcp block.
Weekly newsletter
Like browser-devtools-mcp? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Alternatives to browser-devtools-mcp
All alternatives →Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
Let your AI agent operate any website through a real, logged-in browser session.
Dark web OSINT over Tor: search onion engines, scrape pages, report with your own model.
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand
AI browser agent: browses, clicks, types, and reads real web pages from plain-English instructions.
browser-devtools-mcp: common questions
How do I install browser-devtools-mcp?
In Claude Code run claude mcp add browser-devtools-mcp -- npx -y browser-devtools-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is browser-devtools-mcp the official server?
browser-devtools-mcp is a community project by serkan-ozal, not verified by a company domain.
Is browser-devtools-mcp free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is browser-devtools-mcp safe to use?
It scores 49 of 100. Grades: licence F, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to browser-devtools-mcp?
Similar MCP servers: browser-use, Actionbook, Robin: AI-Powered Dark Web OSINT, Scrapling MCP Server.
Does browser-devtools-mcp work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
