Skip to main content
Glama
Camoufox Playwright MCP

Camoufox Playwright MCP

Camoufox Playwright MCP

PyPI-Version Python-Version Lizenz

Ein offiziell paritätischer Playwright Model Context Protocol (MCP)-Server, aufgeladen mit Camoufox – der Stealth- und Anti-Erkennungs-Browser-Engine, die Anti-Bot-Systeme, Cloudflare Turnstile, DataDome und erweiterte Browser-Fingerprinting sofort umgeht.


Highlights

  • 🥷 Stealth by Default: Angetrieben von Camoufoxs eigener Anti-Erkennungs-Browser-Engine mit Hardware-Spoofing, humanisierten Cursor-Bewegungen und GeoIP-Abgleich.

  • 🎭 100% Offizielle Playwright MCP-Parität: Vollständige Tool-Parität mit dem offiziellen TypeScript Playwright MCP (browser_navigate, browser_click, browser_fill, browser_snapshot, browser_take_screenshot, browser_evaluate, usw.).

  • 🔄 Duale Engine-Flexibilität: Standardmäßig mit Stealth-camoufox ausführen oder nahtlos zu standardmäßigen Playwright-Browsern (chromium, chrome, firefox, webkit) oder benutzerdefinierten CDP-Endpunkten wechseln.

  • ⚡ Null Installation via uvx: Sofort in Claude Desktop, Cursor, Cline, Windsurf oder jedem MCP-Client ausführen, ohne manuelle Einrichtung.


Related MCP server: wraith-mcp

Schnellstart

1. On-the-fly mit uvx ausführen

Keine vorherige Installation erforderlich:

# 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 chrome

2. Client-Konfigurationen

Claude Desktop

Fügen Sie dies zu Ihrer claude_desktop_config.json hinzu:

{
  "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"
      ]
    }
  }
}

Installation

Sie können camoufox-playwright-mcp auch in Ihre virtuelle Umgebung installieren:

Mit uv

uv add camoufox-playwright-mcp

Mit pip

pip install camoufox-playwright-mcp

Browser-Binärdateien installieren

Laden Sie die Camoufox-Browser-Binärdatei herunter:

camoufox-playwright-mcp install-browser

Um auch die standardmäßigen Playwright-Browser zu installieren:

camoufox-playwright-mcp install-browser chromium firefox webkit
# or install all
camoufox-playwright-mcp install-browser all

CLI-Referenz

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] ...

Allgemeine Flags

Option

Beschreibung

--browser

Zu verwendender Browser: camoufox (Standard), chrome, chromium, firefox, webkit.

--headless

Browser im Headless-Modus ausführen.

--isolated

Neuen temporären Browser-Kontext anstelle eines persistenten Profils erstellen.

--user-data-dir

Benutzerdefinierter Verzeichnispfad für die Browser-Profil-Speicherung.

--proxy-server

Proxy-Server-URL (z.B. http://user:pass@proxy.example.com:8080).

--proxy-bypass

Kommagetrennte Liste von Domains, die den Proxy umgehen sollen.

--timeout-action

Aktions-Timeout in Millisekunden (Standard: 5000).

--timeout-navigation

Navigations-Timeout in Millisekunden (Standard: 60000).

--output-dir

Verzeichnis für gespeicherte Snapshots, Screenshots und Logs.

--output-mode

Artefakte inline oder als Dateireferenz zurückgeben (file oder stdout).

--port

Port, auf dem der HTTP/SSE-Transport lauscht (stdio-Transport, wenn nicht angegeben).

Befehle

  • camoufox-playwright-mcp install-browser: Lädt Camoufox- und/oder Playwright-Browser-Binärdateien herunter.


Camoufox Stealth- und Anti-Erkennungs-Optionen

Wenn Sie mit --browser camoufox (Standard) ausführen, wendet Camoufox erweiterte Stealth-Konfigurationen an. Sie können tiefere Konfigurationen über eine JSON-Konfigurationsdatei (--config config.json) bereitstellen:

{
  "browser": {
    "provider": "camoufox",
    "camoufoxOptions": {
      "geoip": true,
      "humanize": true,
      "os": "windows",
      "block_images": false
    }
  }
}

Umgebungsvariablen

Alle CLI-Flags können über Umgebungsvariablen konfiguriert werden:

Variable

Beschreibung

CAMOUFOX_MCP_BROWSER

Standard-Browser (camoufox, chrome, chromium, usw.)

CAMOUFOX_MCP_HEADLESS

Auf true oder 1 setzen für Headless-Modus

CAMOUFOX_MCP_ISOLATED

Auf true setzen, um isolierte Kontexte zu verwenden

CAMOUFOX_MCP_PROXY_SERVER

Proxy-Server-URL

CAMOUFOX_MCP_OUTPUT_DIR

Ausgabeverzeichnis für Artefakte

CAMOUFOX_MCP_CONFIG

Pfad zur JSON/INI-Konfigurationsdatei

(Hinweis: PLAYWRIGHT_MCP_*-Variablen werden aus Gründen der Abwärtskompatibilität ebenfalls unterstützt).


Verfügbare MCP-Tools

Volle 1:1-Übereinstimmung mit den offiziellen Playwright MCP-Spezifikationen:

  • browser_navigate: Zu einer angegebenen URL navigieren.

  • browser_click: Auf Elemente klicken, indem Locators, Koordinaten oder Text verwendet werden.

  • browser_fill: Eingabefelder mit Anti-Erkennungs-Tastaturanschlägen ausfüllen.

  • browser_snapshot: Vollständige Zugänglichkeits- und semantische Baum-Snapshots erfassen.

  • browser_take_screenshot: Ganzseitige oder Element-Screenshots erfassen.

  • browser_evaluate: JavaScript sicher im Seitenkontext ausführen.

  • browser_hover, browser_press_key, browser_type: Maus- und Tastaturinteraktionen.

  • browser_tabs: Mehrere Browser-Tabs und -Fenster verwalten.

  • browser_cookies: Cookies abrufen, setzen und löschen.

  • browser_network: Routen und Netzwerkabfänge verwalten.


Lizenz

Apache License 2.0. Siehe LICENSE für Details.

Available Tools

24 tools
browser_clickClickC
Destructive

Perform click on a web page

Inputs: target (required), _meta, button, element, +2 more.

browser_closeClose browserC
Destructive

Close the page

Inputs: _meta.

browser_console_messagesGet console messagesC
Read-only

Returns all console messages

Inputs: all, _meta, level, filename.

browser_dragDrag mouseC
Destructive

Perform drag and drop between two elements

Inputs: endTarget (required), startTarget (required), _meta, endElement, +1 more.

browser_dropDrop files or data onto an elementB
Destructive

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 JavaScriptC
Destructive

Evaluate JavaScript expression on page or element

Inputs: function (required), _meta, target, element, +1 more.

browser_file_uploadUpload filesC
Destructive

Upload one or multiple files

Inputs: _meta, paths.

browser_fill_formFill formC
Destructive

Fill multiple form fields

Inputs: fields (required), _meta.

browser_findFind in page snapshotA
Read-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 dialogD
Destructive

Handle a dialog

Inputs: accept (required), _meta, promptText.

browser_hoverHover mouseC
Destructive

Hover over element on page

Inputs: target (required), _meta, element.

browser_navigateNavigate to a URLC
Destructive

Navigate to a URL

Inputs: url (required), _meta.

browser_navigate_backGo backA
Destructive

Go back to the previous page in the history

Inputs: _meta.

browser_network_requestShow network request detailsA
Read-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 requestsA
Read-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 keyC
Destructive

Press a key on the keyboard

Inputs: key (required), _meta.

browser_resizeResize browser windowD
Destructive

Resize the browser window

Inputs: width (required), height (required), _meta.

browser_run_code_unsafeRun Playwright code (unsafe)A
Destructive

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 optionC
Destructive

Select an option in a dropdown

Inputs: target (required), values (required), _meta, element.

browser_snapshotPage snapshotC
Read-only

Capture accessibility snapshot of the current page, this is better than screenshot

Inputs: _meta, boxes, depth, target, +1 more.

browser_tabsManage tabsC
Destructive

List, create, close, or select a browser tab.

Inputs: action (required), url, _meta, index.

browser_take_screenshotTake a screenshotA
Read-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 textC
Destructive

Type text into editable element

Inputs: text (required), target (required), _meta, slowly, +2 more.

browser_wait_forWait forC
Read-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

    C2.9/5.0

    Scored across 24 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivitySlowing
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An 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
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      An 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
    • A
      license
      Not graded
      quality
      D
      maintenance
      A stealth-enhanced browser automation MCP server for AI agents to interact with websites while bypassing anti-bot detection mechanisms like Cloudflare and reCAPTCHA.
      9
      MIT