# mcp-browser-dev-tools

> mcp-browser-dev-tools is an open-source MCP server for browser automation. MCP server that batches browser clicks, typing, waits and checks into one call. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Chrome extension, Linux, macOS, Windows, API
- **Website:** https://hinaser.github.io/mcp-browser-dev-tools/
- **Repository:** https://github.com/hinaser/mcp-browser-dev-tools
- **MCP Registry name:** io.github.Hinaser/mcp-browser-dev-tools
- **Categories:** [browser automation](https://ai-powered.com/categories/browser-automation)
- **Listing updated:** 2026-11-29

## About

Gives an AI agent control of a live Chrome, Edge or Firefox session through a fixed set of MCP tools. Instead of one round trip per action, the agent can send a whole sequence with branches, waits and checks, and receive every result in a single reply.

The server attaches to a browser you already run, so the agent works with your existing logins, tabs and extensions, or launches a browser on request. Actions report what changed on the page once it settles, including new controls, toasts and console errors, so the agent can confirm an outcome without re-reading the page.

It suits developers and power users who want an agent to test or operate a real signed-in browser faster, and who need network inspection, HAR export, cookies and debug reports alongside the automation tools.

## Features

- **Batched step execution:** Runs a sequence of clicks, typing, waits and conditional branches in one tool call and replies once.
- **Parallel multi-tab reads:** Opens several URLs at once and runs steps in each tab, returning results in the order given.
- **Change reporting after actions:** Each action returns the page changes that appeared once the page settled, such as new text or controls.
- **Attach to existing browser:** Connects to a running Chromium or Firefox debugging endpoint so the agent keeps your sessions.
- **Network and console inspection:** Reads console messages, network requests, HAR exports, cookies and storage from the page.
- **Lazy tool loading:** Lists a core tool set by default and loads the rest on request to reduce per-turn overhead.

## Good for

- Filling and submitting a multi-field form with an agent in one batch
- Reading several slow search-result pages side by side for research
- Debugging why a page action fails by inspecting console and network output
- Recording a browser session as an MP4 demo while an agent drives it
- Saving and restoring browser session state across agent runs

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp-browser-dev-tools -- npx -y mcp-browser-dev-tools
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-browser-dev-tools -- npx -y mcp-browser-dev-tools
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp-browser-dev-tools]
command = "npx"
args = ["-y", "mcp-browser-dev-tools"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user mcp-browser-dev-tools npx -- -y mcp-browser-dev-tools

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-browser-dev-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-browser-dev-tools"
      ]
    }
  }
}
```

## FAQ

### Which browsers does mcp-browser-dev-tools support?

Chrome, Edge and Firefox, using the same tools across them.

### Do I need to install anything beyond the MCP client config?

You need Node.js 24 or later; the server is started with npx from the npm package.

### Can mcp-browser-dev-tools reach remote browsers?

By default it only connects to loopback endpoints unless MCP_BROWSER_ALLOW_REMOTE_ENDPOINTS is set.

### Can I turn off page JavaScript execution?

Yes, setting MCP_BROWSER_ENABLE_EVAL=0 removes evaluate_js and expression-based conditions.

### Is mcp-browser-dev-tools free?

Yes. mcp-browser-dev-tools is open source, so you can use and self-host it for free.

### How do I add mcp-browser-dev-tools to Claude Code?

Run this command in your terminal: claude mcp add mcp-browser-dev-tools -- npx -y mcp-browser-dev-tools

### What are the best alternatives to mcp-browser-dev-tools?

The closest alternatives to mcp-browser-dev-tools are Chrome DevTools MCP, Chrome DevTools MCP, Chrome DevTools MCP, Selenium MCP and Chrome DevTools MCP.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-4): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Selenium MCP](https://ai-powered.com/mcp/selenium-mcp): Selenium MCP is an open-source MCP server for browser automation.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-3): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Turbo-Browser-MCP](https://ai-powered.com/mcp/turbo-browser-mcp): Turbo-Browser-MCP is an open-source MCP server for browser automation.
- [Agent-first-browse](https://ai-powered.com/mcp/agent-first-browse): Agent-first-browse is an open-source MCP server for browser automation.
- [Capmonster MCP Patchright Captcha Solver](https://ai-powered.com/mcp/capmonster-mcp-patchright-captcha-solver): Capmonster MCP Patchright Captcha Solver is an open-source MCP server for browser automation.

---
Source: https://ai-powered.com/mcp/mcp-browser-dev-tools
