Browser logo

Browser

Loads authenticated, JavaScript-heavy pages through Chrome, Edge, or Brave and exposes browser interaction tools over MCP.

Install Browser

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "browser": {
      "command": "npx",
      "args": [
        "-y",
        "mcpbrowser@latest"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y mcpbrowser@latest

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 2d ago.

Overview

The browser MCP server connects AI assistants to Chrome, Edge, or Brave through the Chrome DevTools Protocol. It loads authenticated pages, handles JavaScript-rendered sites, and supports actions such as clicking, form entry, JavaScript execution, DOM extraction, scrolling, screenshots, and tab management. Reach for it when direct HTTP access is insufficient because a site requires an existing browser session, SSO, CAPTCHA handling, or client-side rendering. It runs through Node.js and can be added to MCP clients with a standard npx configuration.

Use cases

  • Load authenticated dashboards and internal web pages
  • Fill multi-field login or web forms
  • Extract content from JavaScript-rendered applications
  • Run page scripts to collect structured data
  • Inspect visual content with screenshots

Key features

  • Authenticated browser-session access
  • JavaScript execution in the active page
  • CSS-selector and text-based clicking
  • Multi-field text entry
  • Current DOM extraction without reloads
  • Scrolling, screenshots, and tab cleanup

Tools8

What Browser lets your agent do. Expand a tool for its parameters.

Self-reported~521 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

10/10 checks healthy over the last 46d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · mcpbrowser@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
npm downloads1.5kPackage downloads in the last 30 days.
Last commit16d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed8Callable tools this server registers over MCP.

How Browser works

What browser MCP server does

The browser MCP server gives an MCP-compatible assistant access to a real Chrome, Edge, or Brave browser. It can open a URL, wait for the page to load, and return page content from the browser's rendered state. This makes it suitable for sites that depend on JavaScript, require an authenticated session, or use SSO, CAPTCHA, or anti-bot controls.

The server keeps tabs organized by hostname. When a page from the same domain is requested again, it can reuse the existing tab and its session state. A tab can also be closed explicitly to clear that domain's browser state and force a new session on the next visit.

How it works

The assistant communicates with the server over MCP, while the server controls the browser through the Chrome DevTools Protocol. A typical workflow is to load a page, enter values into one or more fields, click a visible control, and then read the updated DOM. The browser_get_current_html operation reads the current page without navigating or reloading, which is useful after an interaction.

JavaScript can be run in the active page context when selectors or protocol-level actions are not enough. The result includes execution metadata such as timing, truncation status, and whether the URL changed. Screenshots provide a PNG view of the loaded page for charts, images, popups, complex layouts, or other content that is difficult to interpret from HTML.

Setup and configuration

The browser MCP server requires Chrome, Edge, or Brave and Node.js 18 or newer. The repository documents a standard configuration that runs the npm package with npx:

config.json
{
  "mcpServers": {
    "mcpbrowser": {
      "command": "npx",
      "args": ["-y", "mcpbrowser@latest"]
    }
  }
}

Add this configuration through the MCP client you use. The project also documents installation paths for clients including Claude Desktop, Claude Code, Cline, Codex, Cursor, Gemini CLI, LM Studio, VS Code, and Windsurf.

Tools and capabilities

The available tools cover navigation, inspection, interaction, and session cleanup:

  • browser_fetch_webpage opens a URL, reuses a same-domain tab when possible, waits for loading, and returns content.
  • browser_execute_javascript runs a script in the active page and returns its result with metadata.
  • browser_click_element targets an element by CSS selector or visible text, scrolls it into view, and waits for page stability.
  • browser_type_text fills one or more input fields and clears existing values by default.
  • browser_get_current_html extracts the current DOM without another navigation.
  • browser_scroll_page scrolls an already-loaded page.
  • browser_take_screenshot captures the loaded page as a PNG.
  • browser_close_tab removes the tab for a hostname and resets its next visit.

Limitations and notes

The browser MCP server exposes webpage content to the connected AI assistant, which may send that content to its configured language-model provider. Avoid using it with sensitive or private pages unless the agent and provider are trusted. The project identifies this combination of private-data access, untrusted content, and external communication as a security risk and documents tool annotations for client safety controls.

A local compatible browser and Node.js installation are required. Screenshot capture is intended for an already-loaded page, while current HTML, scrolling, and element interaction also operate on an existing page rather than providing a separate HTTP-fetching interface.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Browser

browser is an MCP server that connects AI assistants to Chrome, Edge, or Brave through the Chrome DevTools Protocol. Its main tools fetch pages, execute JavaScript, click elements, type into fields, read current HTML, scroll, take screenshots, and close tabs, including on authenticated or JavaScript-heavy sites.

Install Node.js 18 or newer and configure your MCP client to run `npx -y mcpbrowser@latest`. The server also requires Chrome, Edge, or Brave. The repository documents client-specific setup alongside a standard MCP server configuration.

Yes, the project documents Cursor as a supported installation target. Add the server using the documented MCP configuration with `npx`, then provide access to a compatible Chrome, Edge, or Brave browser.

Yes, browser uses the browser session and supports authenticated pages, SSO redirects, CAPTCHA-protected sites, anti-bot restrictions, and JavaScript-heavy applications. You can load a page, enter credentials or other form values, click a sign-in control, and extract the resulting page state.

Use `browser_get_current_html` after the interaction. It extracts the current DOM from the already-loaded tab without navigating or reloading, making it appropriate for reading updated content after `browser_click_element` or `browser_type_text`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBrowser AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/browser?style=directory)](https://allmcps.com/mcp/browser)
HTML Embed
<a href="https://allmcps.com/mcp/browser"><img src="https://allmcps.com/api/badge/browser?style=directory" alt="Browser on AllMCPs" /></a>