Stealth Browser MCP

v1.0.0Browser Automationstable

Enables AI agents to perform undetectable browser automation that bypasses Cloudflare, antibots, and social media blocks. Provides 105 tools for element extraction, network debugging, and real-world web scraping with a 98.7% success rate on protected

ai-agent-toolsai-toolsanthropicanti-bot-bypassautomation-tools
Share:
650
Stars
0
Downloads
0
Weekly
0/5

What is Stealth Browser MCP?

Stealth Browser MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai agents to perform undetectable browser automation that bypasses cloudflare, antibots, and social media blocks. provides 105 tools for element extraction, network debugging, and real-world w...

Enables AI agents to perform undetectable browser automation that bypasses Cloudflare, antibots, and social media blocks. Provides 105 tools for element extraction, network debugging, and real-world web scraping with a 98.7% success rate on protected

This server falls under the Browser Automation category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables AI agents to perform undetectable browser automation

Use Cases

Bypass Cloudflare and anti-bots
105 web scraping tools
98.7% success on protected sites
vibheksoni

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx stealth-browser-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Stealth Browser MCP

Stealth Browser MCP is a Python-based MCP server that gives AI agents a full anti-detection browser environment capable of bypassing Cloudflare, anti-bot systems, and social media access controls with a 98.7% reported success rate on protected sites. It exposes between 20 and 97 tools depending on configuration, covering browser lifecycle management, element interaction, full CSS and event extraction via Chrome DevTools Protocol (CDP), network request interception, and dynamic Python hook injection. Security researchers and developers use it for web scraping, competitive intelligence, and automating complex authenticated workflows.

Prerequisites

  • Python 3.10 or higher
  • Google Chrome or Chromium installed (the server controls a real browser instance)
  • pip for installing Python dependencies
  • Claude Desktop, Claude Code, or another MCP-compatible client
  • Git to clone the repository
1

Clone the repository

Clone the stealth-browser-mcp repository to your local machine. The server runs from source and is not distributed as a published package.

git clone https://github.com/vibheksoni/stealth-browser-mcp.git
cd stealth-browser-mcp
2

Create a virtual environment and install dependencies

Set up a Python virtual environment and install the required packages from requirements.txt. This isolates the server's dependencies from your system Python.

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt
3

Configure environment variables (optional)

Set optional environment variables to control browser idle timeout, debug logging, and authentication token for HTTP transport mode. These can be set in your shell or in the MCP client env block.

export BROWSER_IDLE_TIMEOUT=600          # Auto-close idle browsers after 600 seconds
export STEALTH_BROWSER_DEBUG=0           # Set to 1 for verbose logging
export STEALTH_BROWSER_MCP_AUTH_TOKEN=   # Bearer token for HTTP transport (optional)
4

Test the server locally

Run the server directly to verify it starts correctly. Use --minimal for just the 20 core tools, or no flag for the full 97-tool set.

python src/server.py --minimal
5

Register the server with your MCP client

Add the stealth browser server to your MCP client configuration using the full path to the virtual environment Python binary and the server script. Replace /path/to/ with the actual absolute paths on your system.

claude mcp add-json stealth-browser-mcp '{
  "type": "stdio",
  "command": "/path/to/stealth-browser-mcp/venv/bin/python",
  "args": ["/path/to/stealth-browser-mcp/src/server.py"],
  "env": {
    "BROWSER_IDLE_TIMEOUT": "600",
    "STEALTH_BROWSER_DEBUG": "0"
  }
}'

Stealth Browser MCP Examples

Client configuration

Claude Desktop configuration for stealth-browser-mcp using stdio transport. Update the command and args paths to match your actual installation location.

{
  "mcpServers": {
    "stealth-browser-mcp": {
      "type": "stdio",
      "command": "/path/to/stealth-browser-mcp/venv/bin/python",
      "args": ["/path/to/stealth-browser-mcp/src/server.py"],
      "env": {
        "BROWSER_IDLE_TIMEOUT": "600",
        "STEALTH_BROWSER_DEBUG": "0"
      }
    }
  }
}

Prompts to try

Example prompts for using the stealth browser MCP server to automate browser tasks and extract web content.

- "Navigate to https://example.com and take a screenshot of the page"
- "Clone the hero section HTML with all styles and animations from https://example.com"
- "Intercept all network requests to api.example.com and log the API calls being made"
- "Extract competitor pricing data from the pricing page and create a comparison table"
- "Click the login button, fill in the username and password fields, and submit the form"

Troubleshooting Stealth Browser MCP

Chrome or Chromium not found when spawning a browser instance

Install Google Chrome or Chromium if not already present. On macOS run `brew install --cask google-chrome`. On Ubuntu/Debian run `sudo apt install chromium-browser`. The server uses the system's installed browser, not a bundled one.

Server starts but tools are missing in the MCP client

By default the server runs with all 97 tools. If you started with --minimal only 20 core tools are exposed. Check which mode was used. Also verify the client connected successfully by looking for any error messages in the server output (set STEALTH_BROWSER_DEBUG=1 for verbose logs).

Anti-bot detection still triggered on some sites

Ensure you are not using headless mode if the target site specifically checks for it. Try increasing BROWSER_IDLE_TIMEOUT to keep the same browser instance alive between requests, as fresh browser spawns can look more bot-like. Use the add_script_to_evaluate_on_new_document tool to inject stealth patches before page load.

Frequently Asked Questions about Stealth Browser MCP

What is Stealth Browser MCP?

Stealth Browser MCP is a Model Context Protocol (MCP) server that enables ai agents to perform undetectable browser automation that bypasses cloudflare, antibots, and social media blocks. provides 105 tools for element extraction, network debugging, and real-world web scraping with a 98.7% success rate on protected It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Stealth Browser MCP?

Follow the installation instructions on the Stealth Browser MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Stealth Browser MCP?

Stealth Browser MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Stealth Browser MCP free to use?

Yes, Stealth Browser MCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Browser Automation MCP Servers

Explore all browser automation servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

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

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Stealth Browser MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides