mcp-playwright

Level ALocal

Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More 🔌

Overview

A Playwright-based MCP server that lets LLMs automate real browsers: navigate pages, take screenshots, scrape content, run JavaScript, and generate test code. It offers 143 real device presets with natural-language switching for iPhone, iPad, and portrait/landscape views. Works with MCP clients such as Claude Desktop, Cline, Cursor, and VS Code, and can automatically install missing browser binaries.

⭐ 5.7kBrowser AutomationTypeScriptRepo ↗Updated 2025-12-13

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "executeautomation-mcp-playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@executeautomation/playwright-mcp-server"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/executeautomation/mcp-playwright

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "executeautomation-mcp-playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@executeautomation/playwright-mcp-server"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers