Stealth Browser MCP

6hrs agoupdate 9 0 0

Stealth browser automation server for MCP-compatible AI agents, bypassing Cloudflare challenges and anti-bot systems via nodriver and Chrome DevTools Protocol.

Country:
Global
Added On:
2026-09-17
Stealth Browser MCPStealth Browser MCP

Stealth Browser MCP is an open-source Model Context Protocol (MCP) server engineered for undetected web automation and browser scraping. Built on top of nodriver, the Chrome DevTools Protocol (CDP), and FastMCP, it enables AI assistants like Claude Desktop, Cursor, and Windsurf to navigate bot detection systems, Cloudflare challenges, and login walls without triggering automated anti-bot defenses.

Key Technical Capabilities

  • Cloudflare & Anti-Bot Resistance: Unlike standard automation frameworks that expose automated WebDriver flags, Stealth Browser MCP utilizes nodriver and low-level CDP instrumentation to replicate human-like browsing patterns and pass Turnstile/Cloudflare challenges.
  • Comprehensive 97-Tool Suite: Exposes 97 granular MCP tools grouped into 11 modular categories—including DOM navigation, cookie management, session storage, network interception, screenshot capture, and raw CDP script execution.
  • Modular Architecture: Allows agents to run in full 97-tool mode or a lightweight 20-tool core mode to minimize LLM context token usage.
  • Pixel-Accurate Element Cloning: Capable of inspecting, extracting, and replicating complete DOM elements along with computed CSS rules, event listeners, media assets, and SVG paths.
  • Dynamic Request/Response Hooks: Supports custom Python-based interceptors to rewrite headers, mock API payloads, block tracking scripts, or redirect traffic before it touches the browser.
  • Cross-Platform Native Execution: Auto-discovers Chrome, Chromium, and Microsoft Edge executables across macOS, Linux, Windows, and Docker containers.

Comparison: Stealth Browser MCP vs. Alternatives

Feature Stealth Browser MCP Playwright MCP Puppeteer MCP
Bot Detection Bypass High (nodriver / CDP) Low (Easily Flagged) Moderate (Needs Stealth Plugin)
Cloudflare Turnstile Supported Blocked Frequently Blocked
Tool Granularity 97 Modular Tools ~15 Basic Tools ~10 Basic Tools
Direct CDP Control Yes (Full Runtime) Limited Limited
Token Optimization Modular Section Loading Monolithic Monolithic

Quickstart & Claude Desktop Configuration

To connect Stealth Browser MCP to Claude Desktop or Claude Code CLI, add the following configuration to your claude_desktop_config.json:

{
  "mcpServers": {
    "stealth-browser": {
      "command": "python",
      "args": [
        "-m",
        "stealth_browser_mcp"
      ],
      "env": {
        "BROWSER_HEADLESS": "true",
        "STEALTH_MODE": "full"
      }
    }
  }
}

Frequently Asked Questions

How does Stealth Browser MCP bypass Cloudflare and bot checks?

Stealth Browser MCP avoids automated WebDriver interfaces (like Selenium or default Playwright) which inject identifiable JavaScript variables. Instead, it relies on nodriver to connect directly to the browser via Chrome DevTools Protocol (CDP) WebSocket connections, patch navigator properties, and mimic natural user interaction signals.

Can I use Stealth Browser MCP with Microsoft Edge or Brave?

Yes. Stealth Browser MCP includes automatic executable discovery for Chromium-based browsers, including Google Chrome, Chromium, Microsoft Edge, and Brave across macOS, Windows, and Linux.

Does Stealth Browser MCP support authenticated sessions and cookies?

Yes. It features specialized cookie and storage tools that let your AI assistant export, import, inspect, and persist authenticated browser profiles and session cookies between agent runs.

data statistics

Relevant Navigation

No comments

none
No comments...