playwright-mcp.md

Playwright MCP Server

MCP serverFeatured
from"microsoft"
39.1k

Microsoft's Playwright MCP server lets an agent operate a browser from structured accessibility snapshots instead of relying only on screenshots. It is an official tools server, not an inline MCP App.

Not for: A general-purpose visual browser inside chat. Browser state runs in Playwright, and sensitive actions still require the permissions and review policy of your MCP client.

Source and setup verified on 2026-11-03

Browser Automation
Playwrightbrowserautomationtesting

Quick facts

Provider
Microsoft (official)
Primary context
Accessibility snapshots
Install
@playwright/mcp via npx
GitHub stars
39,111 on 2026-11-03

What you can do

  • Navigate and interact with web pages
  • Inspect page structure through accessibility data
  • Manage browser profiles and sessions
  • Capture screenshots when requested

Requirements

  • Node.js 18 or newer
  • A supported MCP client
  • Permission to launch or connect to a browser
setup.md
# 1. Add to Claude Code
$claude mcp add playwright -- npx @playwright/mcp@latest
# Claude Desktop → claude_desktop_config.json
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["@playwright/mcp@latest"]
    }
  }
}

Always confirm the latest setup instructions with the maintainer before installing.

>Questions

Is Playwright MCP Server an MCP App with inline UI?

No inline MCP App UI is claimed here. It is listed as a server or host because the verified source documents MCP tools or client support, not a ui:// app resource.

Where were these details checked?

Against the maintainer's README, source, or official documentation at https://github.com/microsoft/playwright-mcp, plus the GitHub API where a repository is available.