Real Browser MCP
Allows searching on DuckDuckGo search engine.
Provides ad blocking via Ghostery adblocker to block ads and trackers.
Allows searching on Google search engine.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Real Browser MCP search for the latest news on AI"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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_PATHData collection: Extract content, run JS, save pages as HTML/MHTML
Downloads: Files automatically saved to
DOWNLOADS_PATHMulti-tab: List and switch between tabs
Related MCP server: CamoFox MCP
Requirements
Node.js 18+
Chrome/Chromium (used by puppeteer-real-browser)
On Linux:
sudo apt-get install xvfb
Installation
npm installConfiguration
Environment variables
DOWNLOADS_PATH – Where screenshots and downloads are saved. Default: ~/Downloads.
HEADLESS – true or 1 = headless (invisible). false or 0 = visible. Default: visible.
SHOW_BROWSER – 1/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 = headlessAgent 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.jsCursor / 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 |
| Navigate to a URL |
| Search on Google, Bing, or DuckDuckGo |
| Take screenshot (saved to DOWNLOADS_PATH) |
| Run JavaScript in the page |
| Get text or HTML from the page |
| Click an element (uses human-like click) |
| Type text into an input |
| Clear and fill an input |
| Save page as HTML or MHTML |
| Wait for time or selector |
| List or switch tabs |
| Close the browser |
| Get the DOWNLOADS_PATH value |
Example workflow
browser_search– Search for "latest AI news"browser_get_content– Extract search resultsbrowser_click– Click a result linkbrowser_screenshot– Capture the pagebrowser_save_page– Save as HTML for laterbrowser_close– Close when done
License
MIT
Available Tools
13 toolsbrowser_clickClick ElementC
Click an element on the page.
Inputs: selector (required).
browser_closeClose BrowserB
Close the browser instance.
Inputs: no named parameters.
browser_evaluateRun JavaScriptC
Execute JavaScript in the page context.
Inputs: script (required).
browser_fillFill InputC
Clear and fill an input/textarea.
Inputs: text (required), selector (required).
browser_get_contentGet Page ContentC
Extract text or HTML from the page.
Inputs: asHtml, selector.
browser_save_pageSave PageB
Save the current page as HTML or MHTML to DOWNLOADS_PATH.
Inputs: format, filename.
browser_screenshotTake ScreenshotC
Capture a screenshot. Saved to DOWNLOADS_PATH.
Inputs: filename, fullPage.
browser_searchSearch on the WebC
Perform a web search (Google, Bing, or DuckDuckGo).
Inputs: query (required), searchEngine.
browser_tabsList or Switch TabsB
List all tabs or switch to a tab by index.
Inputs: action (required), index.
browser_typeType TextC
Type text into an input field.
Inputs: text (required), selector (required), delay.
browser_waitWaitC
Wait for time or for a selector to appear.
Inputs: selector, milliseconds.
get_downloads_pathGet Downloads PathA
Returns DOWNLOADS_PATH where screenshots/files are saved.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools map to a distinct action (navigate, click, screenshot, evaluate, wait), but browser_type and browser_fill clearly overlap in purpose, and browser_tabs bundles two operations (list vs. switch) behind one ambiguous signature. An agent could reasonably pick the wrong one for text entry, though descriptions give some guidance.
Twelve of thirteen tools follow a clean browser_verb snake_case pattern with predictable verb choices. The single get_downloads_path tool breaks the prefix convention, a minor deviation rather than a systemic inconsistency.
Thirteen tools is well within the ideal range and each one covers a distinct browser capability (navigation, search, interaction, extraction, tabs, lifecycle). No tool feels like padding.
Core browser automation lifecycle is covered: navigate, search, interact, extract, screenshot, save, tabs, wait, close. Gaps remain in form controls beyond text (no dropdown/select, checkbox, hover, or keypress tool) and no back/forward history navigation, though browser_evaluate can work around most of these.
Maintenance
Related MCP Connectors
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Browser automation MCP for whole web tasks in a cloud browser: saved logins, bot checks, replays.
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
Undetectable cloud browser sessions for AI agents and scrapers. Navigate, extract, click, captcha.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible AI agents to navigate, interact with, and automate websites through an anti-detection browser backend, offering 47 tools for tabs, navigation, interaction, observation, search, downloads, sessions, profile reuse, and batch workflows.551 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible AI agents to control an anti-detection browser for navigation, interaction, search, extraction, downloads, multi-tab workflows, and reusable sessions. It provides a practical browser automation toolset for automated web tasks while reducing blocking risks.551 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible AI agents to automate web browsing with anti-detection behavior, including navigation, interaction, search, extraction, downloads, multi-tab workflows, and reusable sessions.551 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible AI agents to automate the web through an anti-detection browser, supporting navigation, interaction, search, extraction, downloads, multi-tab workflows, and session reuse.551 npmMIT