一键导入
stealth-browser-mcp
Highly robust standalone skill for building, configuring, and operating the Stealth Browser MCP for undetectable browser automation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Highly robust standalone skill for building, configuring, and operating the Stealth Browser MCP for undetectable browser automation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Agent-to-User Interface (A2UI) protocol implementation and client renderer scaffolding.
Infrastructure automation, configuration management, and application deployment orchestration using Ansible.
Create and manage unicode braille animations and spinners for CLIs and web apps. Use this skill when the user wants to add loading indicators, progress animations, or custom braille-based art to their terminal or browser-based application.
Agent harness for headlessly deploying Code Scaffold assets.
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds.
Comprehensive cybersecurity arsenal integrating MITRE and NIST framework methodologies, NVIDIA SkillSpector vulnerability scanning, and deep SAST secret detection.
| name | Stealth Browser MCP |
| description | Highly robust standalone skill for building, configuring, and operating the Stealth Browser MCP for undetectable browser automation. |
This skill provides comprehensive instructions for deploying, configuring, and operating the Stealth Browser MCP. This tool provides undetectable browser automation for MCP-compatible AI agents, bypassing Cloudflare, antibot systems, and social media blocks using nodriver, Chrome DevTools Protocol (CDP), and FastMCP.
Before attempting to use or configure Stealth Browser MCP, you MUST proactively verify if the required environment exists and prompt the user if dependencies are missing.
python (or python3) is available.stealth-browser-mcp directory exists in the expected location (usually within the project or globally).If the user needs to install the MCP, guide them through or execute (with permission) the following steps:
# 1. Clone the repository
git clone https://github.com/vibheksoni/stealth-browser-mcp.git
cd stealth-browser-mcp
# 2. Create and activate a virtual environment
python -m venv venv
# Windows: venv\Scripts\activate
# Mac/Linux: source venv/bin/activate
# 3. Install dependencies
pip install -r requirements.txt
Provide the user with the correct configuration JSON for their specific MCP client (Claude Desktop, Cursor, etc.).
Example for Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"stealth-browser-mcp": {
"command": "/absolute/path/to/venv/bin/python",
"args": ["/absolute/path/to/src/server.py"]
}
}
}
The MCP exposes up to 97 tools across 11 sections. It supports Modular Architecture: you can run it in full mode (97 tools), minimal mode (20 core tools via --minimal), or selectively disable sections (e.g., --disable-cdp-functions).
Key Capabilities to leverage:
spawn_browser(), navigate(), close_instance(), list_instances(), get_instance_state()query_elements(), click_element(), type_text(), paste_text(), file_upload(), execute_script()extract_complete_element_cdp(), extract_element_styles(), extract_element_structure(), extract_element_events()list_network_requests(), get_request_details(), modify_headers(), spawn_browser(block_resources=[...])create_dynamic_hook(), create_simple_dynamic_hook() - Generates Python functions on the fly to intercept or modify network traffic in real-time.execute_cdp_command(), call_javascript_function(), inject_and_execute_script()When operating the Stealth Browser MCP, always adhere to these best practices:
get_instance_state() or taking a screenshot) after navigating or performing critical actions. Do not assume page loads succeed blindly.type_text()) instead of fast text injection.BROWSER_IDLE_TIMEOUT env var). If you need an instance to persist longer, pass idle_timeout_seconds when spawning.STEALTH_BROWSER_MCP_AUTH_TOKEN for HTTP transport security if not using local stdio. Use STEALTH_BROWSER_DEBUG=1 to enable verbose stderr logging if things break.validate_browser_environment_tool() to diagnose.stdio transport, the MCP JSON-RPC protocol gets corrupted. Ensure STEALTH_BROWSER_DEBUG is not set unless using HTTP transport, or ensure debug logs route to stderr.--minimal flag.