MCP-Server Offiziell

Playwright MCP

Microsoft's MCP server for browser automation through Playwright accessibility snapshots, no vision model needed.

Autor
Microsoft
Funktioniert mit
Any MCP client, Claude Code, Cursor, OpenAI Codex, Windsurf
Dokumentiert
Oct 2, 2026

Was Playwright MCP ist

Lets LLMs interact with web pages using structured accessibility snapshots instead of screenshots. The README also points coding agents to the Playwright CLI with skills as a more token-efficient alternative.

Was es kann

Wie sich Playwright MCP einbinden lässt: welche Agenten es ausführen und was es ergänztLÄUFT INIhr AgentAny MCP clientClaude CodeOpenAI CodexCursor4 Hosts dokumentiertMCP SERVER · OFFIZIELLPlaywright MCPDen Agenten mit Tools, Daten und…5 Installationsschritte1 BerechtigungshinweisWAS ES ERGÄNZTWas es kannDrive a browser via the accessibi…Deterministic tool calls without…Persistent profile, isolated cont…Headless or headed modeAgent → Erweiterung → neue Fähigkeit · aus dem offiziellen Repository oder der Dokumentation
Wo Playwright MCP läuft und was es ergänzt, laut Dokumentation
  • Drive a browser via the accessibility tree
  • Deterministic tool calls without pixel-based input
  • Persistent profile, isolated contexts, or connect to an existing browser via extension
  • Headless or headed mode
  • Restrict origins with allowed/blocked origin options

Wann Sie es einsetzen sollten

Gut geeignet

  • Exploratory automation and self-healing tests
  • Long-running agent loops that need persistent browser state

Nicht geeignet für

  • High-throughput coding agents with tight context: README suggests Playwright CLI with skills
  • Using origin lists as a security boundary: README says they are not one

So installieren Sie Playwright MCP

Sie benötigen: Node.js 18 or newer; An MCP client such as VS Code, Cursor, Windsurf, Claude Desktop

  1. Install Node.js 18 or newer
  2. Claude Code: claude mcp add playwright npx @playwright/mcp@latest
  3. Codex: codex mcp add playwright npx "@playwright/mcp@latest"
  4. Cursor: Settings > MCP > Add new MCP Server with command npx @playwright/mcp@latest
  5. Other clients: use the standard config
Konfigurationsbeispiel (aus der offiziellen Dokumentation)
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}

Berechtigungen und Sicherheit

Worauf es zugreifen kann

  • Launches and controls a browser, loads arbitrary web pages

Sicherheitshinweise der Maintainer

  • README: --allowed-origins / --blocked-origins do not serve as a security boundary and do not affect redirects

Prüfen Sie den Quellcode, bevor Sie einem Agenten Zugriff auf Zugangsdaten oder Produktivsysteme geben. Wir dokumentieren die Angaben der Maintainer; Code prüfen wir nicht.

Einschränkungen

  • Accessibility trees and tool schemas cost context tokens compared with CLI

Tools, die es erweitert

Claude Code

Web · Desktop

Noch keine Nutzerbewertungen

Das agentische Coding-Tool von Anthropic, das Ihre Codebasis liest, Dateien bearbeitet und Befehle ausführt, im Terminal, in IDEs, in der Desktop-App oder im Browser.

Kostenlos bis: Kein kostenloser Tarif: Claude Code ist in den bezahlten Claude-Abonnements (Pro, Max, Team, Enterprise) enth…

Listed Noch nicht bewertet

Geprüft code.claude.com (öffnet die Website von Claude Code in einem neuen Tab)

Ab $20/mo US · geprüft Sep 29

Noch keine Nutzerbewertungen

AI coding IDE, formerly Windsurf, now Devin Desktop: manage local and cloud coding agents inside a full IDE.

Kostenlos bis: Light quota for agent usage, resets daily and weekly, Limited model availability

Listed Noch nicht bewertet

Geprüft windsurf.com (öffnet die Website von Devin Desktop (formerly Windsurf) in einem neuen Tab)

Kostenlos · kostenpflichtig ab $20/mo US · geprüft Sep 29

OpenAI Codex

Web · Desktop · Mobile

Noch keine Nutzerbewertungen

OpenAI's coding agent for the CLI, IDE extension, desktop app, web and iOS, included in ChatGPT plans or billed by API.

Kostenlos bis: Desktop app only listed, Usage limits apply

Listed Noch nicht bewertet

Geprüft developers.openai.com (öffnet die Website von OpenAI Codex in einem neuen Tab)

Kostenlos · kostenpflichtig ab $8/mo US · geprüft Sep 29

Häufig gestellte Fragen

How do I add Playwright MCP to Claude Code?

Run claude mcp add playwright npx @playwright/mcp@latest. Quelle

Does Playwright MCP need screenshots or a vision model?

No, it works on accessibility snapshots. Quelle

Are the origin allow/block lists a security boundary?

No, the README says they are not and do not affect redirects. Quelle

Verwandte Ratgeber

Quellen und Lücken

Von den Maintainern nicht angegeben: License not stated in the README; last_release date not visible in the checked README.

Weitere Erweiterungen zum Ansehen