Microsoft · Official

Playwright MCP server

Drive a real browser through Playwright using accessibility snapshots instead of screenshots.

Verified publisher namespaceLocalBrowser automation
Registry name
io.github.microsoft/playwright-mcp
Latest version
0.0.82 · updated 2026-09-18
Links
Vendor docsSource

Install

Commands are generated from the registry record. Remote servers usually ask you to sign in with OAuth on first use.

Step-by-step guides

Claude Code

claude mcp add playwright -- npx -y @playwright/mcp

Codex

# ~/.codex/config.toml
[mcp_servers.playwright]
command = "npx"
args = ["-y", "@playwright/mcp"]

Gemini CLI

gemini mcp add playwright npx -y @playwright/mcp

Cursor

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

VS Code (GitHub Copilot)

code --add-mcp '{"name":"playwright","command":"npx","args":["-y","@playwright/mcp"]}'

Packages

  • npm @playwright/mcp

More browser automation

Reviewed Oct 5, 2026. Official means published under Microsoft's namespace in the MCP registry. It is not a security audit.