Skip to main content
Glama
mcp-stealth-browser

mcp-stealth-browser

by AntonLi-PM

๐Ÿš€ MCP Stealth Browser (mcp-stealth-browser)

Smithery Badge GitHub Release License: MIT MCP Standard Python 3.10+ Cloudflare Bypass PRs Welcome

๐Ÿ’ก Facing IP Bans, Zero-View Shadowbans, or Captcha Loops? Need custom dedicated residential IP pools or enterprise setup assistance? ๐ŸŽ Claim 1GB Free Residential Proxy Trial | ๐Ÿ’ฌ Telegram Support: @ip38888 | โœ‰๏ธ Email: anton.li.pm@gmail.com | ๐Ÿ“Š Live Benchmark

โญ Love this project? Please consider starring it on GitHub! It helps keep the open-source residential IP anti-bot benchmark updated.

๐Ÿ”ฅ Check Out Our High-Performance AI & Agentic Suite:

The High-Performance Stealth Web Browsing & Search MCP Server for Claude Desktop, Cursor, Windsurf & Cline.
Bypasses Cloudflare Turnstile, anti-bot shields, and JavaScript SPAs with dual-engine TLS/Playwright impersonation, dynamic residential proxy rotation, and token-optimized semantic Markdown extraction.


๐Ÿ›๏ธ Architecture Overview

flowchart LR
    A[LLM Agent<br/>Claude / Cursor / Cline] -->|JSON-RPC 2.0| B(MCP Stealth Server)
    B -->|Task Router| C{Engine Dispatcher}
    C -->|Tier 1: Fast Path <400ms| D[TLS Impersonator<br/>curl_cffi / JA3 / JA4]
    C -->|Tier 2: Challenge Escalation| E[Stealth Playwright<br/>CDP Hooks + Turnstile Solver]
    D --> F[Sticky Residential Proxy Router<br/>Ropond Proxy Cloud]
    E --> F
    F -->|Clean IP Lease| G((Target Website))
    G --> H[Token Optimizer Engine<br/>HTML to Semantic Markdown]
    H -->|80-95% Token Savings| A

Related MCP server: Stealth Browser MCP Server

๐Ÿ“Š Feature Comparison Matrix

Capability

mcp-stealth-browser

@modelcontextprotocol/server-fetch

playwright-mcp

puppeteer-mcp

Cloudflare Turnstile Bypass

โœ… Native (<400ms / Dual-Engine)

โŒ (Throws 403)

โš ๏ธ (Requires manual script)

โŒ (Blocked)

DataDome / Akamai Evasion

โœ… JA3/JA4 TLS Fingerprint

โŒ (No impersonation)

โŒ (Detectable CDP)

โŒ (Detectable)

Multi-Engine Web Search

โœ… Built-in (Zero API Keys)

โŒ (None)

โŒ (None)

โŒ (None)

Context Token Optimization

โœ… 80-95% Compression (Markdown)

โš ๏ธ (Basic Markdownify)

โŒ (Raw DOM dump)

โŒ (Raw dump)

Sticky Residential Proxy Pool

โœ… Auto-Rotation on 403/429

โŒ (Static proxy only)

โŒ (None)

โŒ (None)

Response Latency

โšก < 400ms (TLS tier)

1 - 3s

5 - 12s

5 - 15s

1-Click Install

๐Ÿš€ Smithery (npx) / uvx

uvx

npx

npx


โšก Why mcp-stealth-browser?

Standard web fetch and browser MCP servers (@modelcontextprotocol/server-fetch, playwright-mcp) fail on 70%+ of modern websites:

  • โŒ Cloudflare & Anti-Bot Blocking: Hit with 403 Forbidden or Just a moment... CAPTCHA loops.

  • โŒ Token Window Explosion: Dump raw HTML with bloated scripts, SVGs, and cookie modals, wasting 100k+ tokens.

  • โŒ IP Rate-Limits: Repeated queries from data center IPs get permanently blocked.

  • โŒ No Native Multi-Engine Web Search: Requires expensive Bing/Google API keys to search the web.

๐ŸŒŸ What mcp-stealth-browser solves:

  • โœ… Dual-Engine Cascade: Fast TLS/JA4 browser impersonation (<400ms) with auto-escalation to headless Playwright when Cloudflare Turnstile or DataDome is detected.

  • โœ… Built-in Real-Time Web Search: stealth_search crawls Google & DuckDuckGo simultaneously with zero API keys.

  • โœ… Token-Optimized Markdown: Strips navigation, headers, footers, and scripts, compressing content by 80-95% while preserving tables, headings, and code snippets.

  • โœ… Sticky Residential Proxy Pool: Dynamic residential proxy rotation with 10-30 minute sticky IP sessions and automatic block recovery.

  • โœ… Universal 1-Click Integration: Drop-in configuration for Claude Desktop, Cursor IDE, Windsurf, and Cline.


๐Ÿ› ๏ธ MCP Tools Exposed

Tool Name

Parameters

Description

stealth_fetch

url, bypass_challenge=True, session_id

Fetches any URL bypassing Cloudflare Turnstile, returns clean semantic Markdown with token estimation.

stealth_search

query, num_results=5, session_id

Multi-engine real-time web search (DuckDuckGo + Google) returning clean ranked citations with zero API keys.

proxy_status

none

Returns proxy pool health, active sticky sessions, and residential IP provider status.

rotate_proxy

session_id

Forces an immediate IP rotation for a specific sticky session.


๐Ÿ“ฆ Quick Start & Configuration

To automatically install for Claude Desktop, run:

npx -y @smithery/cli install @AntonLi-PM/mcp-stealth-browser --client claude

To install for Cursor, run:

npx -y @smithery/cli install @AntonLi-PM/mcp-stealth-browser --client cursor

1. Manual Install via pip or uv

pip install git+https://github.com/AntonLi-PM/mcp-stealth-browser.git
# Optional: Install Playwright for heavy Turnstile challenge solving
playwright install chromium

2. Configure in Claude Desktop

Add to your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "stealth-browser": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/AntonLi-PM/mcp-stealth-browser.git", "mcp-stealth-browser"],
      "env": {
        "ROTA_PROXY_URL": "http://user:pass@proxy.ropond.com:8080"
      }
    }
  }
}

3. Configure in Cursor IDE

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "stealth-browser": {
      "command": "python",
      "args": ["-m", "mcp_stealth_browser"],
      "env": {
        "ROTA_PROXY_URL": "http://user:pass@proxy.ropond.com:8080"
      }
    }
  }
}

๐ŸŒ Residential Proxy Setup (High-Volume Scraping)

For high-concurrency scraping without IP blocks, mcp-stealth-browser natively integrates with dynamic residential proxies:

  1. Obtain a residential proxy gateway (claim a 1GB Free Trial at Ropond Proxy Cloud).

  2. Set the environment variable:

export ROTA_PROXY_URL="http://customer-xyz:pass@gw.ropond.com:8080"
  1. mcp-stealth-browser will automatically create sticky sessions per agent conversation and rotate automatically if a 403 or 429 block is encountered.


๐Ÿงช Testing Locally

You can test the search and fetch capabilities directly from CLI:

# Test multi-engine search
python -m mcp_stealth_browser.cli --test-search "DeepSeek R1 reasoning architecture"

# Test stealth fetch on a webpage
python -m mcp_stealth_browser.cli --test-fetch "https://news.ycombinator.com"

# Check proxy pool health
python -m mcp_stealth_browser.cli --status

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


Explore our complete production-grade anti-bot & matrix marketing open-source ecosystem:

Category

Repository

Description

Global Matrix

omni-social-marketing-cloud

12-platform multi-account cloud control with 1:1 sticky residential IP mesh

Telegram Growth

telegram-cloud-controller

Multi-account Telegram fleet automation, warmup engine & lead harvester

WhatsApp Marketing

whatsapp-marketing-cloud

Multi-account WhatsApp Web cloud sender with session residential routing

TikTok Automation

tiktok-uploader-stealth

Anti-detect TikTok video batch uploader with isolated proxy sessions

E-Commerce Scraper

ecommerce-intelligence-scraper

Competitor price monitor & review scraper for Amazon, Shopee & Shopify

AI Deep Research

agentic-deep-researcher

Autonomous Deep Research engine utilizing heavy multi-hop residential scraping

AI Realtime Search

deepseek-r1-websearch

Real-time web search API for DeepSeek-R1, Ollama & Open-WebUI

MCP Browser Tool

mcp-stealth-browser

FastMCP 2.x stealth browsing server for Claude Desktop, Cursor & Windsurf

Anti-Bot Gateway

searxng-proxy-shield

Rotating residential proxy shield for SearXNG, Perplexica & Open-WebUI

Profile Router

antidetect-proxy-router

Profile-isolated residential proxy router for AdsPower, BitBrowser & Playwright

Turnstile Bypass

cloudflare-bypass-residential-scraper

Turnstile & DataDome bypass scraper with residential session harvesting

Live Benchmark

anti-bot-bypass-benchmark

Empirical anti-bot benchmark comparing datacenter vs residential proxy yields

Available Tools

4 tools
proxy_statusA

Inspect current residential proxy pool health, active sticky sessions, and provider status.

Inputs: no named parameters. Returns: result

rotate_proxyA

Force an immediate lease rotation to a new residential IP for the specified session.

Args: session_id: Session identifier to renew.

Inputs: session_id. Returns: result

stealth_fetchB

Fetch any webpage with automated anti-bot & Cloudflare Turnstile evasion. Returns clean, token-optimized Markdown ready for LLM consumption.

Args: url: The web URL to fetch. bypass_challenge: Whether to escalate to headless stealth browser if Cloudflare or anti-bot challenge is detected. session_id: Optional sticky proxy session ID for persistent IP browsing.

Inputs: url (required), session_id, bypass_challenge. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    TDQS

    A4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a distinct purpose: fetching a URL, searching the web, checking proxy status, and rotating proxies. No overlap or ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with underscores (stealth_fetch, stealth_search, proxy_status, rotate_proxy), maintaining uniformity.

    Tool Count5/5

    Four tools is well-scoped for a stealth browsing/proxy management server, covering core actions without unnecessary bloat or gaps.

    Completeness4/5

    The tool set covers fetching, searching, and proxy lifecycle management, but could potentially include a method for clearing session data or managing more proxy options. Still, it is largely complete for its stated purpose.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables undetectable web scraping and browser automation for AI agents with 84 tools including stealth navigation, element extraction, network interception, and auto cookie consent dismissal. Bypasses anti-bot systems like Cloudflare and DataDome while providing LLM-ready markdown output and full Chrome DevTools Protocol access.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides stealth web browsing using dual browser engines (Chromium and Firefox) with automatic bot-detection bypass, enabling AI agents to browse, interact, and extract content from websites without being blocked.
      1
      -