Playwright MCP

Active
GitHub TypeScript Apache-2.0

Description

Playwright MCP is a Microsoft MCP server exposing Playwright browser automation capabilities to AI agents, supporting web interaction, screenshots, and structured data extraction.

Key Features

  • MCP Protocol Server — Exposes Playwright browser automation to LLMs via Model Context Protocol
  • Accessibility Tree Driven — Uses DOM accessibility snapshots instead of screenshots, no vision model needed
  • Deterministic Tool Application — Structured data operations avoid ambiguity of screenshot-based approaches
  • Multi-client Compatibility — VS Code, Cursor, Claude Desktop, Cline, Codex and more MCP clients
  • Fast & Lightweight — Built on Playwright engine with quick startup and low resource usage
  • Stateless & Stateful Modes — Suitable for one-shot automation and persistent exploratory testing

Use Cases

💡 AI-powered E2E Testing — Let AI agents write and execute Playwright browser tests automatically
💡 Web Data Extraction — Use MCP to have LLMs control browser for structured web data scraping
💡 Self-healing Tests — Create UI-change-resilient tests using deterministic accessibility tree locators
💡 Autonomous Exploratory Testing — Agent navigates web pages, discovers edge cases, and logs issues
💡 Form Auto-fill — AI automatically identifies and fills complex multi-step web forms

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (36.7k stars)
  • Permissive open-source license (Apache-2.0)
  • Responsive to issues, low backlog

Quick Start

npx @playwright/mcp@latest

Related Projects

MCP Playwright

5.6k · TypeScript
Stale B

Playwright Model Context Protocol server for automating browsers and APIs in Claude Desktop, Cline, Cursor IDE and other AI coding tools

mcpplaywrightbrowser-automation +2
  • · MCP server enabling LLMs to interact with real browser environments via Playwright for web automation, scraping, and testing
  • · 143 real device presets for accurate emulation including iPhone, iPad, Pixel, Galaxy and desktop browsers
  • · Automatic browser binary installation — Chromium, Firefox, and WebKit downloaded on first use with no manual setup

Chrome DevTools MCP

50.6k · TypeScript
Active A+

MCP server providing Chrome DevTools capabilities to coding agents, enabling web debugging, performance analysis, and DOM manipulation automation.

mcpchrome-devtoolsbrowser-debug +2
  • · Performance Insights — Record Chrome performance traces and extract actionable optimization recommendations
  • · Advanced Browser Debugging — Analyze network requests, take screenshots, check console with source-mapped stack traces
  • · Reliable Automation — Puppeteer-based browser automation with automatic wait for action results

Open Cowork

2.1k · TypeScript
Active B

Open-source AI agent desktop app for Windows and macOS with one-click install of Claude Code, MCP tools, and Skills, featuring sandbox isolation, multi-model support, and Feishu/Slack integration.

typescriptagentmcp +4
  • · Open-source AI agent desktop app with one-click install for Windows and macOS — no coding required
  • · VM-level sandbox isolation: WSL2 on Windows, Lima on macOS for secure command execution
  • · Built-in Skills system for generating PPTX, DOCX, XLSX, and PDF documents automatically

Spec Workflow MCP

4.3k · TypeScript
Normal A

A spec-driven development workflow MCP server for AI-assisted software development, featuring a real-time web dashboard and VSCode extension for monitoring and managing project progress in AI coding workflows.

mcptoolstypescript +2
  • · Structured spec-driven workflow: Requirements → Design → Tasks
  • · Real-time web dashboard with progress bars and live updates
  • · VSCode extension with integrated sidebar for in-editor monitoring

Related Articles