Skip to content

playwright-mcp

officialApache-2.0★ 40kupdated 13 Nov 2026

Playwright Tools for MCP

What can you do with playwright-mcp?

  • Fast and lightweight. Uses Playwright's accessibility tree, not pixel-based input.
  • LLM-friendly. No vision models needed, operates purely on structured data.
  • Deterministic tool application. Avoids ambiguity common with screenshot-based approaches.

Features as listed in the project's README, checked 16 Nov 2026.

About playwright-mcp

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Opening text of the project's README, checked 16 Nov 2026.

Install

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

Config as documented in its source, checked 16 Nov 2026. Placeholders such as API keys are the project's own: replace them with your values.

Requirements listed

  • Node.js 18 or newer
  • VS Code, Cursor, Windsurf, Claude Desktop, Goose, Grok, Junie or any other MCP client

Tools (72)

browser_click
browser_close
browser_console_messages
browser_drag
browser_drop
browser_emulate_media
browser_evaluate
browser_file_upload
browser_fill_form
browser_find
browser_handle_dialog
browser_hover
browser_navigate
browser_navigate_back
browser_network_request
browser_network_requests
browser_press_key
browser_resize
browser_run_code_unsafe
browser_select_option
browser_snapshot
browser_take_screenshot
browser_type
browser_wait_for
browser_tabs
browser_get_config
browser_network_state_set
browser_route
browser_route_list
browser_unroute
browser_cookie_clear
browser_cookie_delete
browser_cookie_get
browser_cookie_list
browser_cookie_set
browser_localstorage_clear
browser_localstorage_delete
browser_localstorage_get
browser_localstorage_list
browser_localstorage_set
browser_sessionstorage_clear
browser_sessionstorage_delete
browser_sessionstorage_get
browser_sessionstorage_list
browser_sessionstorage_set
browser_set_storage_state
browser_storage_state
browser_annotate
browser_hide_highlight
browser_highlight
browser_resume
browser_start_recording
browser_start_tracing
browser_start_video
browser_stop_recording
browser_stop_tracing
browser_stop_video
browser_video_chapter
browser_video_hide_actions
browser_video_show_actions
browser_mouse_click_xy
browser_mouse_down
browser_mouse_drag_xy
browser_mouse_move_xy
browser_mouse_up
browser_mouse_wheel
browser_pdf_save
browser_generate_locator
browser_verify_element_visible
browser_verify_list_visible
browser_verify_text_visible
browser_verify_value

Tool names from the README, checked 16 Nov 2026.

playwright-mcp compared with other Playwright servers

ServerLicenceToolsLast commitStars
playwright-mcpApache-2.07213 Nov 202639,643
playwright-stealthMIT69 Oct 202681
fast-playwright-mcpApache-2.03417 Aug 202640

Every value is a checked fact on that server's own page. This is a comparison of facts, not a ranking.

Verified facts

Maintainer
microsoft

Source · checked 16 Nov 2026

Official server
Yes

Source · checked 16 Nov 2026

Licence
Apache-2.0

Source · checked 16 Nov 2026

Transport
  • stdio

Source · checked 16 Nov 2026

Setup documented for
  • Claude Code
  • Claude Desktop
  • Cursor
  • VS Code
  • Windsurf
  • Cline
  • Codex
  • Gemini CLI
  • LM Studio
  • OpenCode
  • Kiro

Source · checked 16 Nov 2026

Repository
github.com/microsoft/playwright-mcp

Source · checked 16 Nov 2026

Package
@playwright/mcp (npm)

Source · checked 16 Nov 2026

Latest version
0.0.85

Source · checked 16 Nov 2026

Last commit
13 Nov 2026

Source · checked 16 Nov 2026

GitHub stars
39,643

Source · checked 16 Nov 2026

Open issues
6

Source · checked 16 Nov 2026

Each value links to where it was found and shows the date it was checked. How we verify

Frequently asked questions

What does playwright-mcp do?

Playwright Tools for MCP

Which MCP clients does playwright-mcp document setup for?

Its README documents setup for Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Cline, Codex, Gemini CLI, LM Studio, OpenCode, Kiro.

How do I install playwright-mcp?

Add the install config shown on this page to your MCP client's configuration; the package is @playwright/mcp (npm). Check the README for client-specific steps.

What licence is playwright-mcp under?

Apache-2.0, as reported by the repository on 16 Nov 2026.

Is playwright-mcp still maintained?

The last commit was on 13 Nov 2026, and the repository had 6 open issues.

What tools does playwright-mcp expose?

72 tools: browser_click, browser_close, browser_console_messages, browser_drag, browser_drop, browser_emulate_media, browser_evaluate, browser_file_upload, browser_fill_form, browser_find, browser_handle_dialog, browser_hover, and more.

More Playwright MCP servers