Playwright MCP Server

Most Used
Search & Web
stdio
Featured

The most-used MCP server globally. Full headless browser automation using Playwright: navigate pages, click elements, fill forms, take screenshots, and extract page content. Essential for web testing, scraping, and UI verification workflows.

Quick Install

$ npx -y @anthropic/mcp-server-playwright

Configuration by Client

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

Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.

Available Tools (6)

navigateclickfillscreenshotevaluateget_text_content

Playwright FAQ

What is the Playwright MCP server?

The most-used MCP server globally. Full headless browser automation using Playwright: navigate pages, click elements, fill forms, take screenshots, and extract page content. Essential for web testing, scraping, and UI verification workflows.

How do I install the Playwright MCP server?

Run: npx -y @anthropic/mcp-server-playwright

Which AI clients support the Playwright MCP server?

The Playwright MCP server works with Claude Desktop, Cursor, Codex CLI, Antigravity, Windsurf, and any MCP-compatible client using stdio transport.

What tools does the Playwright MCP server provide?

The server provides 6 tools: navigate, click, fill, screenshot, evaluate, get_text_content.