Camoufox Playwright MCP
Camoufox Playwright MCP
Un servidor del Protocolo de Contexto de Modelo (MCP) de Playwright con paridad oficial, potenciado con Camoufox — el motor de navegador sigiloso y antidetector diseñado para evadir sistemas antibot, Cloudflare Turnstile, DataDome y la huella digital avanzada del navegador de serie.
Destacados
🥷 Sigilo por defecto: Impulsado por el motor de navegador antidetector personalizado de Camoufox, con suplantación de hardware, movimientos de cursor humanizados y alineación GeoIP.
🎭 100% paridad oficial con el MCP de Playwright: Paridad total de herramientas con el MCP oficial de TypeScript de Playwright (
browser_navigate,browser_click,browser_fill,browser_snapshot,browser_take_screenshot,browser_evaluate, etc.).🔄 Flexibilidad de motor dual: Ejecute con el modo sigiloso
camoufoxpor defecto, o cambie sin problemas a navegadores Playwright estándar (chromium,chrome,firefox,webkit) o endpoints CDP personalizados.⚡ Instalación cero con
uvx: Ejecute al instante en Claude Desktop, Cursor, Cline, Windsurf o cualquier cliente MCP sin configuración manual.
Related MCP server: wraith-mcp
Inicio rápido
1. Ejecutar al vuelo con uvx
No se necesita instalación previa:
# Run stealth Camoufox browser in headless mode (recommended for AI agents)
uvx camoufox-playwright-mcp --headless
# Or run with standard Chrome
uvx camoufox-playwright-mcp --browser chrome2. Configuraciones de cliente
Claude Desktop
Añada esto a su claude_desktop_config.json:
{
"mcpServers": {
"camoufox": {
"command": "uvx",
"args": [
"camoufox-playwright-mcp",
"--headless"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"camoufox": {
"command": "uvx",
"args": ["camoufox-playwright-mcp", "--headless"]
}
}
}Windsurf / Cline / OpenCode / Zed
{
"mcpServers": {
"browser": {
"command": "uvx",
"args": [
"camoufox-playwright-mcp",
"--headless"
]
}
}
}Instalación
También puede instalar camoufox-playwright-mcp en su entorno virtual:
Usando uv
uv add camoufox-playwright-mcpUsando pip
pip install camoufox-playwright-mcpInstalación de los binarios del navegador
Descargue el binario del navegador Camoufox:
camoufox-playwright-mcp install-browserPara instalar también los navegadores Playwright estándar:
camoufox-playwright-mcp install-browser chromium firefox webkit
# or install all
camoufox-playwright-mcp install-browser allReferencia de CLI
usage: camoufox-playwright-mcp [-h] [--browser BROWSER] [--headless] [--isolated]
[--user-data-dir USER_DATA_DIR] [--proxy-server PROXY_SERVER]
[--cdp-endpoint CDP_ENDPOINT] [--port PORT] ...Opciones comunes
Opción | Descripción |
| Navegador a utilizar: |
| Ejecutar el navegador en modo headless. |
| Crear un contexto de navegador nuevo y temporal en lugar de un perfil persistente. |
| Ruta de directorio personalizada para el almacenamiento del perfil del navegador. |
| URL del servidor proxy (p. ej. |
| Lista de dominios separados por comas para omitir el proxy. |
| Tiempo de espera de acción en milisegundos (predeterminado: |
| Tiempo de espera de navegación en milisegundos (predeterminado: |
| Directorio para instantáneas, capturas de pantalla y registros guardados. |
| Devolver los artefactos en línea o por referencia de archivo ( |
| Puerto para escuchar en el transporte HTTP/SSE (ejecuta el transporte stdio si se omite). |
Comandos
camoufox-playwright-mcp install-browser: Descarga los binarios del navegador Camoufox y/o Playwright.
Opciones de sigilo y antidetector de Camoufox
Cuando se ejecuta con --browser camoufox (predeterminado), Camoufox aplica configuraciones avanzadas de sigilo. Puede proporcionar configuraciones más detalladas mediante un archivo de configuración JSON (--config config.json):
{
"browser": {
"provider": "camoufox",
"camoufoxOptions": {
"geoip": true,
"humanize": true,
"os": "windows",
"block_images": false
}
}
}Variables de entorno
Todas las opciones de CLI pueden configurarse mediante variables de entorno:
Variable | Descripción |
| Navegador predeterminado ( |
| Establecer en |
| Establecer en |
| URL del servidor proxy |
| Directorio de salida para artefactos |
| Ruta al archivo de configuración JSON/INI |
(Nota: las variables PLAYWRIGHT_MCP_* también son compatibles para la compatibilidad hacia atrás).
Herramientas MCP disponibles
Coincidencia total 1:1 con las especificaciones oficiales del MCP de Playwright:
browser_navigate: Navegar a una URL especificada.browser_click: Hacer clic en elementos mediante localizadores, coordenadas o texto.browser_fill: Rellenar campos de entrada con pulsaciones antidetectoras.browser_snapshot: Capturar instantáneas completas del árbol de accesibilidad y semántico.browser_take_screenshot: Tomar capturas de pantalla de la página completa o de elementos.browser_evaluate: Evaluar JavaScript de forma segura dentro del contexto de la página.browser_hover,browser_press_key,browser_type: Interacciones de ratón y teclado.browser_tabs: Gestionar múltiples pestañas y ventanas del navegador.browser_cookies: Obtener, establecer y eliminar cookies.browser_network: Gestionar rutas e interceptación de red.
Licencia
Apache License 2.0. Consulte LICENSE para más detalles.
Available Tools
24 toolsbrowser_clickClickCDestructive
Perform click on a web page
Inputs: target (required), _meta, button, element, +2 more.
browser_closeClose browserCDestructive
Close the page
Inputs: _meta.
browser_console_messagesGet console messagesCRead-only
Returns all console messages
Inputs: all, _meta, level, filename.
browser_dragDrag mouseCDestructive
Perform drag and drop between two elements
Inputs: endTarget (required), startTarget (required), _meta, endElement, +1 more.
browser_dropDrop files or data onto an elementBDestructive
Drop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.
Inputs: target (required), data, _meta, paths, +1 more.
browser_evaluateEvaluate JavaScriptCDestructive
Evaluate JavaScript expression on page or element
Inputs: function (required), _meta, target, element, +1 more.
browser_file_uploadUpload filesCDestructive
Upload one or multiple files
Inputs: _meta, paths.
browser_fill_formFill formCDestructive
Fill multiple form fields
Inputs: fields (required), _meta.
browser_findFind in page snapshotARead-only
Search the accessibility snapshot of the current page for text or a regular expression. Returns matching snapshot nodes with a few lines of surrounding context (like search snippets), which is cheaper than capturing the whole snapshot when you only need to locate an element and its ref.
Inputs: text, _meta, regex.
browser_handle_dialogHandle a dialogDDestructive
Handle a dialog
Inputs: accept (required), _meta, promptText.
browser_hoverHover mouseCDestructive
Hover over element on page
Inputs: target (required), _meta, element.
browser_network_requestShow network request detailsARead-only
Returns full details (headers and body) of a single network request, or a single part if part is set. Use the number from browser_network_requests.
Inputs: index (required), part, _meta, filename.
browser_network_requestsList network requestsARead-only
Returns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.
Inputs: _meta, filter, static, filename.
browser_press_keyPress a keyCDestructive
Press a key on the keyboard
Inputs: key (required), _meta.
browser_resizeResize browser windowDDestructive
Resize the browser window
Inputs: width (required), height (required), _meta.
browser_run_code_unsafeRun Playwright code (unsafe)ADestructive
Run a Python Playwright code snippet. Unsafe: executes arbitrary Python in the Playwright server process with normal builtins/imports and is RCE-equivalent.
Inputs: code, _meta, filename.
browser_select_optionSelect optionCDestructive
Select an option in a dropdown
Inputs: target (required), values (required), _meta, element.
browser_snapshotPage snapshotCRead-only
Capture accessibility snapshot of the current page, this is better than screenshot
Inputs: _meta, boxes, depth, target, +1 more.
browser_tabsManage tabsCDestructive
List, create, close, or select a browser tab.
Inputs: action (required), url, _meta, index.
browser_take_screenshotTake a screenshotARead-only
Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.
Inputs: type, _meta, scale, target, +3 more.
browser_typeType textCDestructive
Type text into editable element
Inputs: text (required), target (required), _meta, slowly, +2 more.
browser_wait_forWait forCRead-only
Wait for text to appear or disappear or a specified time to pass
Inputs: text, time, _meta, textGone.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 24 tools
Most tools have clearly distinct purposes, but 'browser_snapshot' and 'browser_take_screenshot' could confuse agents as both capture page state, and 'browser_type' vs 'browser_fill_form' overlap slightly. Descriptions help differentiate them.
All tools follow a consistent 'browser_<action_or_noun>' pattern using lowercase with underscores. The naming is predictable and uniform, making it easy for agents to infer tool function from the name.
24 tools is well-scoped for a browser automation server, covering navigation, interaction, forms, dialogs, console, network, tabs, and more. Each tool addresses a distinct operation without being excessive.
The tool set covers most common browser automation operations (CRUD-like for page interactions), but lacks a forward navigation tool and explicit waiting for elements beyond text. These minor gaps are workable.
Maintenance
Related MCP Connectors
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
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 scraping MCP server — scrape, extract structured data, screenshot any site with anti-bot bypass.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI-powered browser automation, web scraping, and testing using Playwright across Chromium, Firefox, and WebKit. It allows users to perform actions like navigation, clicking, typing, and taking screenshots through natural language interfaces.MIT
- AlicenseAqualityDmaintenanceAn AI-native stealth browser MCP server that uses AI vision navigation and bot detection bypass, enabling natural language browser automation.17MIT
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables AI agents to automate browser interactions using Playwright and Cloudflare Workers, supporting tasks like navigation, clicking, typing, and screenshots.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA stealth-enhanced browser automation MCP server for AI agents to interact with websites while bypassing anti-bot detection mechanisms like Cloudflare and reCAPTCHA.9MIT