---
title: "Playwright"
url: "https://agentconnectors.dev/tools/playwright"
updated: "2026-10-15"
source_url: "https://github.com/microsoft/playwright-mcp/blob/main/README.md"
---

# Playwright

Microsoft's official Playwright MCP server for browser automation through structured accessibility snapshots.

- Category: [Browser and automation](https://agentconnectors.dev/categories/browser)
- Collection: Official integration
- Status: active
- Publisher: Vendor. Repository owner microsoft is the company that publishes this listing. Source: https://github.com/microsoft/playwright-mcp
- Kind: mcp-server
- Listing: https://github.com/microsoft/playwright-mcp
- Repository: https://github.com/microsoft/playwright-mcp
- Homepage: Not listed
- Package: @playwright/mcp
- Successor: Not listed
- Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md
- Page: https://agentconnectors.dev/tools/playwright
- JSON: https://agentconnectors.dev/api/tools/playwright.json
- Labels: none.

Paid placements are labelled Featured or Sponsored. An Enriched badge means we applied the owner-supplied description and links after a link check on those URLs. Ownership confirmation is optional. It does not mean functionality testing, a security audit, an endorsement, a ranking, or guaranteed traffic, leads, citations, or revenue.

## Connect it

from vendor docs, not tested by us

Configuration validation checks that these snippets parse and include every environment variable named in the Auth fact. It is not a connection test.

Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md


### Claude Desktop (local)

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

### Claude Code (local)

```
claude mcp add playwright -- npx @playwright/mcp@latest
```

### Cursor (local)

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

### VS Code (local)

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

## Sourced facts

Each sourced fact is paraphrased from the source URL on that line. Unknown means that page did not state it. These facts are not a Featured, Sponsored, or Enriched label, and they are not a functionality test.

- Capabilities: Browser automation with Playwright's accessibility tree, which the README contrasts with screenshots and vision models. Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md
- Capabilities: The README says tool application is deterministic. Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md
- Hosting: Local. The standard config runs npx @playwright/mcp@latest. A Docker image, mcr.microsoft.com/playwright/mcp, is also documented. A hosted remote product URL: Unknown. Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md
- Transport: The standard config is a local npx command. A Cline example sets type stdio. The options table says --port listens for SSE transport. The standalone section says --port enables HTTP at http://localhost:8931/mcp. Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md
- Auth: The standard config and the --port example set no API key. The README documents a --secrets flag for a dotenv file and does not describe an MCP login. Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md
- Setup and docs: https://github.com/microsoft/playwright-mcp/blob/main/README.md. Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md
- Pricing source: Unknown. Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md
- Limitations: The README says Playwright MCP is not a security boundary. Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md
- Limitations: The Docker implementation only supports headless Chromium. Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md
- Limitations: The README says the server requires Node.js 18 or newer. Source: https://github.com/microsoft/playwright-mcp/blob/main/README.md

The description is paraphrased from the source link. A pricing figure appears only when the cited pricing source states it. This page does not add star counts or install counts.

## Link check

- https://github.com/microsoft/playwright-mcp/blob/main/README.md returned HTTP 200 on 15 October 2026. That is a successful link check.

A link check is not a functionality test, a security audit, or an endorsement.

Last checked 2026-10-15.

## Related in Browser and automation

- [Puppeteer](https://agentconnectors.dev/tools/puppeteer)
- [Browserless](https://agentconnectors.dev/tools/browserless)
- [Appium MCP Server](https://agentconnectors.dev/tools/appium-mcp-server)
- [Browserbase](https://agentconnectors.dev/tools/browserbase)
- [Chrome DevTools](https://agentconnectors.dev/tools/chrome-devtools)
- [GoLogin MCP server](https://agentconnectors.dev/tools/gologin-mcp-server)
