Playwright MCP

MCP server for browser automation via Playwright — enables Copilot agents to navigate, click, fill forms, take screenshots, and run accessibility audits in a real browser.

Authormicrosoft
Updated
mcpbrowsertestingplaywright

Overview

Microsoft's official Playwright MCP server. Gives Copilot agents full browser control:

  • Navigate pages and click elements
  • Fill forms and interact with UI
  • Take screenshots and accessibility snapshots
  • Run Lighthouse audits
  • Monitor network requests and console logs

Installation

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

Raw content

Copy this into your project — e.g. .instructions.md, .agent.md, or SKILL.md

## Overview

Microsoft's official Playwright MCP server. Gives Copilot agents full browser control:

- Navigate pages and click elements
- Fill forms and interact with UI
- Take screenshots and accessibility snapshots
- Run Lighthouse audits
- Monitor network requests and console logs

## Installation

```json
{
  "mcp": {
    "servers": {
      "playwright": {
        "command": "npx",
        "args": ["@playwright/mcp@latest"]
      }
    }
  }
}
```