Playwright MCP Server

A community Playwright MCP server: browser automation, screenshots, device emulation and test code generation

MCP serverMedium risk

executeautomation/mcp-playwright

Install

claude mcp add --transport stdio playwright npx @executeautomation/playwright-mcp-server

This is third-party code. Review the repository files before installing.

What it does

The server gives the model control of a real browser via Playwright. The agent opens pages, clicks, fills forms, takes screenshots, runs JavaScript and extracts content. It offers device emulation from ready-made mobile and desktop profiles and test code generation. Browsers download automatically on first use, and the server runs over stdio or as a standalone HTTP server.

Who it is for. For testers and web developers who need an agent-driven browser.

Good fit when

  • You need to walk through a site flow and capture screenshots
  • You need to check layout on different device profiles
  • You need a draft Playwright test

Not a fit when

  • You want Microsoft's official server: that is the separate microsoft/playwright-mcp project
  • You need to debug inside your logged-in browser session

Example request

Open my site as an iPhone 13, go through checkout and screenshot each step

Limitations

A community project, not the official Playwright server. Claude Desktop supports only stdio mode. First run downloads browsers, which needs disk space and network. HTTP mode listens on localhost only.

How to disable. Run claude mcp remove playwright or delete the playwright block from the MCP config.

MCP

Transport
stdio, sse, http
Authentication
not required

Security check

  • Drives a browser and runs JavaScript on pages
  • Downloads browsers and accesses the network

README in short

The README covers device emulation from ready profiles and install via npm, mcp-get, Smithery, Claude Code and VS Code. It explains automatic and manual browser install and stdio and HTTP modes with config examples. It has sections on connection troubleshooting, tests and tool name length limits. MIT licensed.

FAQ

Is this the official Playwright MCP?

No, it is an ExecuteAutomation project. Microsoft's official server lives in another repository.

Why does HTTP mode fail to connect?

The client config must include type set to http.

Playwright CLI

playwright-cli

Editors’ pick

Microsoft's official Playwright CLI with an agent skill: drive a browser through short commands without heavy MCP schemas

CLIMedium risk13.3K
Editors’ pick

The official MCP server debugger: web UI, automation CLI and terminal UI in one package

CLIMedium risk10.9K
Editors’ pick

SonarSource's official MCP server: quality and security issues, quality gates and code analysis from SonarQube Server and Cloud

MCP serverMedium risk648

Open-source AI agent for pull request review: descriptions, feedback and improvement suggestions on GitHub, GitLab and more

CLIMedium risk13K