Playwright MCP Server

Playwright integration for ModelContext

Local serverstdioGo

What is the Playwright MCP Server?

Playwright integration for ModelContext

What you get

Ever tried using Cursor or Claude to write Playwright tests? Yeah, it's kind of a mess.

Configuration and credentials

Before you install playwright-mcp, make sure you have: ✅ Node.js installed on your system (because, well… it's an npm package) ✅ Playwright and its Chromium browser installed ✅ An IDE that supports MCP, like Cursor ✅ A brain that's ready to automate Playwright tests like a pro

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

{
  "mcpServers": {
    "playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "playwright-mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

Before you install playwright-mcp, make sure you have: ✅ Node.js installed on your system (because, well… it's an npm package) ✅ Playwright and its Chromium browser installed ✅ An IDE that supports MCP, like Cursor ✅ A brain that's ready to automate Playwright tests like a pro

Frequently asked questions

Playwright integration for ModelContext Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.