Skip to content
MCP server

Browser Ref MCP

Reliable browser-control MCP server for AI agents: click by ref, self-healing sessions.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.0
Listing updated
1 day ago

About Browser Ref MCP

Browser Ref MCP is an open-source MCP server for browser automation. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add browser-ref-mcp -- npx -y browser-ref-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "browser-ref-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "browser-ref-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "browser-ref-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "browser-ref-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "browser-ref-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "browser-ref-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Configuration

  • BROWSER_MCP_CDP_URLConnect to a browser already running with a debug port, e.g. http://127.0.0.1:9222. Leave unset to launch your own Chrome/Edge.
  • BROWSER_MCP_HEADLESSRun without a visible browser window (default: headed, so the user can watch and take over).
  • BROWSER_MCP_PROFILEBrowser profile directory, keeps logins across sessions (default: ~/.browser-mcp/profile).
  • BROWSER_MCP_CHANNELSComma-separated browser channel fallback chain (default: chrome,msedge).

Pricing

Open source

Browser Ref MCP FAQ

Is Browser Ref MCP free?

Yes. Browser Ref MCP is open source, so you can use and self-host it for free.

How do I add Browser Ref MCP to Claude Code?

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

What are the best alternatives to Browser Ref MCP?

The closest alternatives to Browser Ref MCP are Browser Use, Scrapling MCP Server, Oya Browser, Mantis and Auto-building agents.

Alternatives to Browser Ref MCP

  1. Browser Use

    MCP server

    Browser agents and cloud browsers for AI, with an MCP server for web tasks

    • 7 tools
    • Remote
    • Freemium
    • 121K GitHub stars
    • Browser automation
  2. MCP server for AI clients to scrape sites with HTTP and stealth browser sessions

    Runs locally
    • 17 tools
    • Open source
    • 104K GitHub stars
    • Web search and scraping
  3. Oya Browser

    MCP server

    HIPAA-oriented agentic browser with replayable playbooks, reachable over MCP

    • 32 tools
    • Remote
    • Freemium
    • 349 GitHub stars
    • Browser automation
  4. Mantis

    MCP server

    Browser MCP server that gives agents numbered text pages instead of screenshots

    Runs locally
    • 1 tool
    • Open source
    • 5 Hacker News points
    • Browser automation
  5. Build and continue browser and Mac automation scripts for Super through Claude

    • Remote
    • Paid
    • Browser automation
  6. pour

    MCP server

    Run WCAG 2.2 accessibility audits and vision simulations on any URL from an agent

    Runs locally
    • Open source
    • Developer tools