AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

browser-devtools-mcp

Community

MCP server by serkan-ozal · updated · 3.2k downloads a week

Score 49

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.

Yours? Claim it
Licence

No licence found, so reuse rights are unclear

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
PLATFORMEnvironment variableOptionalPlatform: browser (default) or node for Node.js backend debugging.
PORTEnvironment variableOptionalPort for HTTP transport.
SESSION_IDLE_SECONDSEnvironment variableOptionalIdle session timeout (seconds).
SESSION_IDLE_CHECK_SECONDSEnvironment variableOptionalInterval for checking idle sessions (seconds).
SESSION_CLOSE_ON_SOCKET_CLOSEEnvironment variableOptionalClose session when socket closes.
CONSOLE_MESSAGES_BUFFER_SIZEEnvironment variableOptionalMaximum console messages to buffer.
HTTP_REQUESTS_BUFFER_SIZEEnvironment variableOptionalMaximum HTTP requests to buffer.
BROWSER_SERVER_INSTRUCTIONS_ENABLEEnvironment variableOptionalWhen true, include server instructions in MCP server info (browser platform). Default: true.
BROWSER_POLICY_UI_DEBUGGING_ENABLEEnvironment variableOptionalWhen true, include UI_DEBUGGING_POLICY in server policies (browser platform). Default: false.
BROWSER_HEADLESS_ENABLEEnvironment variableOptionalRun browser in headless mode.
BROWSER_PERSISTENT_ENABLEEnvironment variableOptionalUse persistent browser context (preserves cookies, localStorage, extensions).
BROWSER_CDP_ENDPOINT_URLEnvironment variableOptionalCDP 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_CDP_ENABLEEnvironment variableOptionalWhen 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_CDP_OPEN_INSPECTEnvironment variableOptionalOn loopback CDP failure, if Chrome is running, open chrome://inspect/#remote-debugging. Default true. Set false to disable.
BROWSER_PERSISTENT_USER_DATA_DIREnvironment variableOptionalDirectory for persistent browser context user data.
BROWSER_USE_INSTALLED_ON_SYSTEMEnvironment variableOptionalUse system-installed Chrome browser instead of Playwright's bundled browser.
BROWSER_EXECUTABLE_PATHEnvironment variableOptionalCustom browser executable path.
BROWSER_CHROMIUM_SANDBOXEnvironment variableOptionalWhen false, launches Chromium with --no-sandbox. Required for Docker/Lambda/CI.
BROWSER_LAUNCH_ARGSEnvironment variableOptionalExtra Chromium launch args (comma-separated).
BROWSER_ALLOWED_DOMAINSEnvironment variableOptionalComma-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 AI
claude mcp add browser-devtools-mcp -- npx -y browser-devtools-mcp

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

Step-by-step: install browser-devtools-mcp 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-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.

No spam. Unsubscribe in one click. Privacy

Alternatives to browser-devtools-mcp

All alternatives →

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.

Add to stack

Loading.