Playwright MCP

Level ACuratedOfficialLocal

微软出品的浏览器自动化工具,用结构化快照操控网页:点击、填表、截图、抓取,无需视觉模型

Overview

Microsoft’s Playwright MCP drives browser automation via structured page snapshots—click, fill, screenshot, and scrape—so agents can control pages without a vision model.

⭐ 39.5kBrowser AutomationTypeScriptRepo ↗Updated 2026-11-11

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}

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/microsoft/playwright-mcp

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

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