MoreAI.tools
P
Playwright MCP
41
Stack Score
Editorial pick✓ Verified workingMCP server
Playwright MCP logo

Playwright MCP

Headless browser automation via Playwright.

Try Playwright MCP

Best for

Best for engineers + ops who need reliable headless-browser automation.

At a glance

Pricing
open-source
Setup time
20 minutes
Learning curve
moderate
Last verified
5/27/2026

What we love

  • Microsoft-maintained
  • Robust browser automation
  • Better-than-Puppeteer DX

Where it falls short

  • Local execution requires deps
  • Headless setup on servers needs care
  • Auth flows on sites can be brittle

Install & connect

Copy-paste ready

Install
shell
npx @playwright/mcp@latest
Config — Claude Desktop
json
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["@playwright/mcp@latest"]
    }
  }
}
Config — Claude Code
shell
claude mcp add playwright npx @playwright/mcp@latest
Config — VS Code
json
{
  "servers": {
    "playwright": {
      "command": "npx",
      "args": ["@playwright/mcp@latest"]
    }
  }
}

Pricing

✓ Pricing verified Jun 21, 2026

1 tier

Open-source

$0

perpetual

  • Apache 2.0

Overview

MCP server for Playwright — navigate, click, type, screenshot, evaluate JS, network interception. Headless or headed Chromium/Firefox/WebKit.

Key features

  • Navigate + click + type
  • Screenshots + PDF
  • JS evaluation
  • Network intercept
  • Multi-browser

Exposed tools

The MCP-tool names this server exposes. Your agent can invoke any of these when this server is connected.

  • browser_navigate / browser_navigate_back
    Navigate to a URL or go back to the previous page.
  • browser_click / browser_hover / browser_drag / browser_drop
    Mouse interactions targeted at accessibility-tree elements.
  • browser_type / browser_fill_form / browser_press_key / browser_select_option / browser_file_upload
    Keyboard, form-fill, and file input interactions.
  • browser_snapshot / browser_take_screenshot
    Capture an accessibility snapshot or a pixel screenshot of the current page.
  • browser_console_messages / browser_evaluate / browser_run_code_unsafe
    Read console output and execute JavaScript in the page context.
  • browser_network_request / browser_network_requests / browser_network_state_set
    Issue and inspect network requests and toggle network state.
  • browser_route / browser_route_list / browser_unroute
    Manage request interception routes.
  • browser_handle_dialog / browser_wait_for / browser_resize
    Handle JavaScript dialogs, wait for conditions, and resize the viewport.
  • browser_tabs / browser_close
    Manage tabs and close the browser.
  • browser_cookie_clear / browser_cookie_delete / browser_cookie_get / browser_cookie_list / browser_cookie_set
    Cookie CRUD operations.
  • browser_localstorage_* / browser_sessionstorage_*
    Local and session storage CRUD operations (clear, delete, get, list, set).
  • browser_set_storage_state / browser_storage_state
    Read and apply a full storage state snapshot.
  • browser_get_config
    Read the active Playwright MCP configuration.
  • DevTools tools (browser_annotate / browser_highlight / browser_hide_highlight / browser_start_tracing / browser_stop_tracing / browser_start_video / browser_stop_video / browser_video_chapter / browser_resume)
    DevTools-only opt-in tools (enable with --caps=devtools) for tracing, video capture, and visual annotation.
  • Coordinate-based mouse tools (browser_mouse_click_xy / browser_mouse_down / browser_mouse_up / browser_mouse_move_xy / browser_mouse_drag_xy / browser_mouse_wheel)
    Pixel-coordinate mouse input as an alternative to accessibility-tree clicks.
  • browser_pdf_save
    Save the current page as a PDF file.
  • browser_generate_locator / browser_verify_element_visible / browser_verify_list_visible / browser_verify_text_visible / browser_verify_value
    Locator generation and assertion-style verification helpers.

Best use cases

Browser-based scraping

Let Claude scrape and parse modern client-rendered sites.

E2E test automation

Run E2E test flows through Claude orchestration.

Integrations

Chromium
Firefox
WebKit
Node.js
Python

One AI Stack pick every week.

The tool we’d pay for this week, why we’d pay for it, and what we’d skip. No promo spam.