Playwright MCP Server

Automates browsers and APIs, enabling Large Language Models (LLMs) to interact with web pages for tasks like screenshot capture and JavaScript

Local serverstdio★ 5.6k

What is the Playwright MCP Server?

Automates browsers and APIs, enabling Large Language Models (LLMs) to interact with web pages for tasks like screenshot capture and JavaScript execution.

The short version

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Playwright MCP Server

claude mcp add playwright-2 --env OPENAI_API_KEY=your-value -- npx -y @michaellatman/mcp-get

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

You can configure it using a JSON configuration, specifying the command and arguments to run the Playwright MCP Server. An example configuration is provided in the documentation.