mcp-playwright

mcp-playwright

Browser automation using Playwright, supporting simulation of multiple devices.

MCPDevOpen source
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 5.6k
Source
mcp-github

Overview

The Playwright MCP Server is a server based on the Model Context Protocol that leverages Playwright to provide powerful browser automation capabilities. With this tool, AI can interact with web pages, take screenshots, generate test code, scrape page content, and execute JavaScript in real browser environments. It supports simulation of 143 real devices, including iPhone, iPad, Pixel, Galaxy, and desktop browsers. Suitable for scenarios requiring automated testing and web operations such as automated testing and data scraping. Can be installed via npm or mcp-get.

Capabilities

  • Browser automation
  • Webpage screenshot
  • Generate test code
  • Web content scraping
  • JavaScript execution
  • Device simulation

Use cases

Automated testingWeb data scrapingGenerate test reportsMulti-device compatibility testing

Setup

Requires: Node 环境
npm install -g @executeautomation/playwright-mcp-server

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How to install Playwright MCP Server?

Install globally via npm: npm install -g @executeautomation/playwright-mcp-server.

What devices are supported for simulation?

Supports 143 devices, including iPhone, iPad, Pixel, Galaxy, and desktop browsers.

Related skills