Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Provides a real browser that bypasses bot detection (Cloudflare, Turnstile) for AI agents, enabling navigation, clicking, typing, screenshots, and data collection through MCP tools.

README.md

Real Browser MCP

An MCP (Model Context Protocol) server that exposes a real browser (via puppeteer-real-browser) as tools for AI agents. The browser bypasses bot detection (Cloudflare, Turnstile, etc.) and behaves like a real user.

Features

  • Full browser access: Navigate, search, click, type, run JavaScript
  • Screenshots: Capture pages and save to DOWNLOADS_PATH
  • Data collection: Extract content, run JS, save pages as HTML/MHTML
  • Downloads: Files automatically saved to DOWNLOADS_PATH
  • Multi-tab: List and switch between tabs

Requirements

  • Node.js 18+
  • Chrome/Chromium (used by puppeteer-real-browser)
  • On Linux: sudo apt-get install xvfb

Installation

npm install

Configuration

Environment variables

DOWNLOADS_PATH – Where screenshots and downloads are saved. Default: ~/Downloads.

HEADLESStrue or 1 = headless (invisible). false or 0 = visible. Default: visible.

SHOW_BROWSER1/true/yes = visible browser. 0/false/no = headless. Use if HEADLESS is not respected by your MCP client (e.g. LM Studio).

Config file – If env vars are not passed by your MCP client, create real-browser-mcp.config.json in the project root with {"headless": false} to show the browser. The repo includes this file by default.

BROWSER_PROFILE_PATH – Path for Chrome's persistent profile (cookies, logins, localStorage). Default: ~/.real-browser-mcp/chrome-profile. Cookies and sessions persist between runs so you don't have to accept cookies every time.

ADBLOCK_ENABLED – Ghostery adblocker is enabled by default (blocks ads and trackers). Set to false or 0 to disable.

# Windows (PowerShell) - visible browser (default)
$env:DOWNLOADS_PATH = "C:\Users\YourName\Downloads"
# Do NOT set HEADLESS to see the website

# For headless (no window, e.g. CI):
$env:HEADLESS = "true"

# Linux/macOS - same logic
export DOWNLOADS_PATH="/home/user/Downloads"
# Omit HEADLESS = visible. export HEADLESS=true = headless

Agent Instructions (prompt.txt)

The prompt.txt file contains system instructions for the agent: when to use the browser proactively, how to research, and how to use memory tools. Add it to your agent's system prompt or Cursor rules so the agent knows how to use the browser tools without being asked.

Usage

Run the MCP server

npm start
# or
node src/index.js

Cursor / VS Code MCP config

Add to your MCP settings (e.g. ~/.cursor/mcp.json or Cursor Settings → MCP):

{
  "mcpServers": {
    "real-browser": {
      "command": "node",
      "args": ["E:\\MCP\\real-browser-mcp\\src\\index.js"],
      "env": {
        "DOWNLOADS_PATH": "C:\\Users\\YourName\\Downloads"
      }
    }
  }
}

Use an absolute path to the project. By default the browser is visible so you can see the website. Only add HEADLESS: "true" to env if you get "Connection closed" errors and have no display.

Available Tools

| Tool | Description | |------|-------------| | browser_navigate | Navigate to a URL | | browser_search | Search on Google, Bing, or DuckDuckGo | | browser_screenshot | Take screenshot (saved to DOWNLOADS_PATH) | | browser_evaluate | Run JavaScript in the page | | browser_get_content | Get text or HTML from the page | | browser_click | Click an element (uses human-like click) | | browser_type | Type text into an input | | browser_fill | Clear and fill an input | | browser_save_page | Save page as HTML or MHTML | | browser_wait | Wait for time or selector | | browser_tabs | List or switch tabs | | browser_close | Close the browser | | get_downloads_path | Get the DOWNLOADS_PATH value |

Example workflow

  1. browser_search – Search for "latest AI news"
  2. browser_get_content – Extract search results
  3. browser_click – Click a result link
  4. browser_screenshot – Capture the page
  5. browser_save_page – Save as HTML for later
  6. browser_close – Close when done

License

MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Browser & Scraping servers.