Browser Devtools Mcp

MCP server · by serkan-ozal

Browser Automation npmStreamable HTTP v0.9.1

Playwright browser & Node.js MCP. ARIA refs, screenshots, ref-based interactions.

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 0.9.1

npm
npx -y browser-devtools-mcp
Streamable HTTP
https://{your_mcp_server_host}/mcp

Setup by client

Pick your client — the config below is generated for this server (both local and hosted-endpoint forms). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "browser-devtools-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "browser-devtools-mcp"
      ]
    }
  }
}

Remote (hosted) endpoint

https://{your_mcp_server_host}/mcp

Claude Desktop: Settings → Connectors → Add custom connector, paste this URL.

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • PLATFORM — Platform: browser (default) or node for Node.js backend debugging.
  • PORT — Port for HTTP transport.
  • SESSION_IDLE_SECONDS — Idle session timeout (seconds).
  • SESSION_IDLE_CHECK_SECONDS — Interval for checking idle sessions (seconds).
  • SESSION_CLOSE_ON_SOCKET_CLOSE — Close session when socket closes.
  • CONSOLE_MESSAGES_BUFFER_SIZE — Maximum console messages to buffer.
  • HTTP_REQUESTS_BUFFER_SIZE — Maximum HTTP requests to buffer.
  • BROWSER_SERVER_INSTRUCTIONS_ENABLE — When true, include server instructions in MCP server info (browser platform). Default: true.

About this server

Distributed as npm, Streamable HTTP, listed under Browser Automation. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install Browser Devtools Mcp?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Browser Devtools Mcp free to use?

The MCP server itself is free to install. The source is public on https://github.com/serkan-ozal/browser-devtools-mcp. Any third-party service it calls may require its own API key and account.

Which clients support Browser Devtools Mcp?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/browser-devtools-mcp.svg)](https://mcpnav.net/server/browser-devtools-mcp/)

HTML

<a href="https://mcpnav.net/server/browser-devtools-mcp/"><img src="https://mcpnav.net/badge/browser-devtools-mcp.svg" alt="Listed on MCPNav" height="20"></a>