Back
Directory/Playwright

TL;DR

Playwright is a Browser Automation MCP server that lets Claude Code, Cursor, Windsurf and any MCP-compatible AI agent official Microsoft browser automation via accessibility. Install in 1 minute with mcpizy install playwright.

🎭

Playwright

Verified 7 tools

Browser Automation

Last updated August 9, 2026 · By MCPizy team

Official Microsoft browser automation via accessibility

Official homepage
A

Repo audit: 100/100 — actively maintained, documented and licensed

Scored on licence, adoption, maintenance and documentation of microsoft/playwright-mcp. We show the grade whether it flatters the server or not.

last commit yesterday · 35,914 stars · Apache-2.0 licence · 1 open issues

Read the full audit on CheckMCP

Install Playwright

Via MCPizy CLI (recommended):
mcpizy install playwright
Or run directly:
npx -y @anthropic/mcp-playwright
View on GitHub

Tools exposed

7 tools available
browser_navigate

Navigate the browser to a URL

Inputs

  • urlstringrequired
browser_snapshot

Capture an accessibility snapshot of the page

browser_click

Click on an element by selector or role

Inputs

  • elementstringrequired
browser_type

Type text into an element

Inputs

  • elementstringrequired
  • textstringrequired
browser_take_screenshot

Take a screenshot of the page

browser_evaluate

Run JavaScript in the page

Inputs

  • functionstringrequired
browser_fill_form

Fill multiple fields in a form

Inputs

  • fieldsobject[]required

Configuration

Works identically across clients. Only the config file path differs.

Claude Code~/.claude.json
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp@latest"
      ]
    }
  }
}
Cursor.cursor/mcp.json
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp@latest"
      ]
    }
  }
}
Windsurf~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp@latest"
      ]
    }
  }
}

Authentication setup

  1. 1

    No authentication required — runs a local Chromium instance

    Get it

What you can do with Playwright MCP

Paste any of these prompts into Claude Code, Cursor or another MCP-compatible client.

“Open example.com, take a screenshot, and tell me what's on the page”

Uses: browser_navigate, browser_take_screenshot, browser_snapshot

“Fill the login form at app.local with email+password and click Sign in”

Uses: browser_navigate, browser_fill_form, browser_click

“Test the signup flow on my staging site end-to-end”

Uses: browser_navigate, browser_fill_form, browser_click, browser_snapshot

Works with

Claude Code
Claude Desktop
Cursor
Windsurf
VS Code + Copilot
Any MCP Client

More Browser Automation MCPs

🦊

Firefox

Firefox automation via WebDriver BiDi

📺

YouTube Transcript

Fetch YouTube subtitles and transcripts

🚀

Hyperbrowser

Next-generation platform for AI agents and browser automation. Headless browsing at scale.

🎭

GoLogin

Manage GoLogin browser profiles for multi-account automation and anti-detect browsing.

Alternatives to Playwright

If Playwright doesn't fit your stack, these Browser Automation MCP servers solve similar problems.

🌐

Browserbase

Cloud browser automation for web scraping

🖥️

BrowserMCP

Control your local Chrome browser directly

🧭

Safari

Native Safari automation on macOS

Key Takeaways

  • Playwright exposes 7 tools for browser automation workflows in Claude Code, Cursor and Windsurf.
  • Authentication: 1 step (see setup section above).
  • Install in 1 command: mcpizy install playwright — config written to your client automatically.
  • Free and open source (GitHub source linked above) — verified compatible with every MCP client (Claude Code, Claude Desktop, Cursor, Windsurf, VS Code + Copilot).
  • Best use case: "Open example.com, take a screenshot, and tell me what's on the page".

Frequently asked questions

What is the Playwright MCP server?

The Playwright MCP server is an Browser Automation Model Context Protocol server that lets Claude Code, Cursor, Windsurf, VS Code with Copilot, and other MCP-compatible AI agents official Microsoft browser automation via accessibility. It exposes Playwright's capabilities as tools the AI can call directly from your editor or CLI.

How do I install Playwright MCP with Claude Code?

The fastest way is the MCPizy CLI: run `mcpizy install playwright` and MCPizy will add the server to your `.claude.json` automatically. You can also install it manually by adding an entry under `mcpServers` in `.claude.json` with the command `npx -y @anthropic/mcp-playwright` and restarting Claude Code.

Is Playwright MCP free?

Yes. The Playwright MCP server is free and open source (see the GitHub repository linked on this page). You may still need a Playwright account or API key to connect the server to the underlying service, but the MCP layer itself has no MCPizy subscription cost.

Does Playwright MCP work with Cursor and Windsurf?

Yes. Any MCP-compatible client works — including Claude Code, Claude Desktop, Cursor (via `.cursor/mcp.json`), Windsurf, VS Code with Copilot Chat, and custom agents built on the MCP SDK. The same install command targets all of them; only the config file path differs.

What can I do with Playwright MCP?

Once installed, your AI agent can official Microsoft browser automation via accessibility directly inside your conversation. Typical use cases include asking Claude Code or Cursor to run Playwright operations, inspect results, chain Playwright with other MCP servers (see our Workflow Recipes), and automate repetitive browser automation tasks without leaving your editor.

Manage all your MCPs in one place

Monitor usage, track costs, and discover new MCPs.

Get Started Free