ClaudeMap

Playwright MCP

Microsoft's Playwright MCP server for browser automation.

MCP Serversmicrosoftplaywrightbrowser

Exposes Playwright's accessibility tree and actions to MCP-aware clients so Claude can drive web pages by intent rather than coordinates.

What it does

  • Operates on the accessibility tree — Claude clicks by role/label, not fragile CSS selectors
  • Snapshot/ref-based workflow: take an a11y snapshot, locate an element by ref, click
  • Tab management (new tab, select, list) + navigation (go, back, forward, reload)
  • Form interaction: fill, type, select_option, check/uncheck, file upload
  • Screenshot, console-log capture, and JavaScript evaluation in the page context

When to use it

Best for browser-based UI testing that needs to survive design changes (no selectors to break), filling SaaS forms without an API, and web scraping where the structure varies. Pairs naturally with Computer Use for layered automation — Playwright for stable flows, Computer Use as the fallback when the tree breaks.

Getting started

npx -y @playwright/mcp@latest

Add the entry to .mcp.json or ~/.claude.json under mcpServers.playwright. Optionally pass --browser (chromium / firefox / webkit / msedge) and --executable-path.

Things to know

Drives Chromium-family and WebKit by default — Firefox support needs --browser firefox but is less stable. Some sites with aggressive bot detection (Cloudflare, DataDome) will block the embedded browser; use a real-user-profile Chromium launch for those.

Repository

microsoft/playwright-mcp

Charted

Related on the map

  • Blitz Strike

    MCP Server

    A penetration-testing methodology delivered as one MCP server: BLITZ maps the attack surface, EAGLE-EYE traces source-to-sink, STRIKE live-verifies every finding before it is reported.

    • mcp-server
    • security
    • pentest
    • methodology
  • Ripwire

    MCP Server

    Red Hat's "ripgrep for AI context" — a C++23 zero-dependency CLI that also speaks MCP.

    • mcp
    • code-context
    • cli
    • red-hat
  • Deja Vu

    MCP Server

    One shared session memory for 25+ coding agents — Claude Code, Codex, and Cursor finally remember the same project.

    • mcp
    • memory
    • cross-agent
    • context