AITeamGuide

AITeamGuide Hub · MCP server

Playwright MCP

Microsoft's MCP server that lets an assistant drive a browser through Playwright using the page's accessibility tree.

MCP server★ 38k starsApache-2.0Software developmentOps & IT

View on GitHub

Key facts

Type
MCP server
Jobs it fits
Do web errands; Test a web app
Fields
Software development, Ops & IT
Works with
Any MCP client, VS Code, Claude Code, Cursor
GitHub
microsoft/playwright-mcp
Licence
Apache-2.0
Stars
38,467 as of October 21, 2026
Last updated
October 19, 2026 (last push to GitHub)
Author
@microsoft
Submitted by
@aiteamguide
Added to the Hub
October 21, 2026

Install / Use it

Apache-2.0Local MCP server

Download ZIP View source

Cursor

Add to Cursor

Or paste into ~/.cursor/mcp.json

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

Claude Code

Command from the README

claude mcp add playwright npx @playwright/mcp@latest

Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config), then restart Claude

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

VS Code

Add to VS Code

Or from the command line

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

Codex

Command from the README

codex mcp add playwright npx "@playwright/mcp@latest"

Safety: Runs code from a third-party repo. Review the source and the permissions before installing.

Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.

Prefer a ready-made product?

Commercial agents for the same job, with real prices: Claude in Chrome, Perplexity Comet, Browser Use, all browser & computer-use agents.

More from the Hub

Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.