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. Its README documents 13 tools, including browser_click, browser_close, browser_console_messages.
People who work with browser and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-09-17 · ★ 37,231 · #1 OF 255 MAINTAINED BROWSER AUTOMATION · VERIFIED 2026-09-18
Apache-2.0 · TypeScript servers · how we verify → /methodology
01 · Install Playwright MCP
before you install - you'll need
The README does not document required environment variables for a basic install.
Claude Code
claude mcp add microsoft-playwright-mcp -- npx -y @playwright/mcp Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"microsoft-playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license Apache-2.0 - declared in the repository
npm package @playwright/mcp - the @playwright scope differs from the repo owner (microsoft); confirm it's the project's official package
registry namespace io.github.microsoft is GitHub-verified and matches the repo owner
03 · What Playwright MCP can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can click on a web page, close the page, read all console messages, and upload one or multiple files.
The 13 tools it gives your agent
Extracted from the project's README - what Playwright MCP lets an agent do.
- browser_click
- - Perform click on a web page
- browser_close
- - Close the page
- browser_console_messages
- - Returns all console messages
- browser_drag
- - Perform drag and drop between two elements
- browser_drop
- - Drop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.
- browser_evaluate
- - Evaluate JavaScript expression on page or element
- browser_file_upload
- - Upload one or multiple files
- browser_fill_form
- - Fill multiple form fields
- browser_find
- - Search the accessibility snapshot of the current page for text or a regular expression. Returns matching snapshot nodes with a few lines of surrounding context
- browser_handle_dialog
- - Handle a dialog
- browser_hover
- - Hover over element on page
- browser_navigate
- - Navigate to a URL
show all 13 tools
- browser_navigate_back
- - Go back to the previous page in the history
Latest releases
v0.0.81 · 2026-09-14
What's New · New Tools · browser_webmcp_list / browser_webmcp_call - List and call the tools a page registers through the WebMCP API, letting the page do the work instead of driving its UI. When a page has WebMCP…
v0.0.80 · 2026-09-01
What's New · New Tools · browser_start_recording / browser_stop_recording (opt-in via --caps=devtools) - Record actions that the user performs manually in the browser and return them as Playwright code. Useful when the…
v0.0.79 · 2026-08-06
What's New · Tool Improvements · browser_take_screenshot - WebP format - New type option to pick the image format (png, jpeg or webp); when unset, the format is inferred from the filename extension (#41152) · --codegen…
In the wild · how people use Playwright MCP
Public posts that name a concrete use case. Linked source posts - not MCPhq reviews, ratings, or endorsements.
-
@simonw · · Claude Code + real browser control
“Now Claude Code can use a Chrome browser directly! Here's my TIL: Using Playwright MCP with Claude Code.”
-
@debs_obrien · · Manual QA without reading source
“Manual Testing with AI - Used Playwright MCP + a simple prompt file to test my site. no source code. Navigated to the podcast page.”
-
@debs_obrien · · One-click VS Code install
“it is super easy to install the Playwright MCP with the new VS Code settings. No CLI, No JSON, just click install.”
04 · Who maintains Playwright MCP
Playwright MCP is maintained by microsoft. We track 9 MCP servers from microsoft - 9 actively maintained, 44,340 combined GitHub stars, oldest repo from Mar 2025. Full record: all servers from microsoft.
- Azure MCP Server All Azure MCP tools to create a seamless connection between AI agents and Azure services. ★ 3,681
- Power BI Modeling MCP Server The Power BI Modeling MCP Server brings Power BI semantic modeling capabilities to your AI agents. ★ 1,157
- Microsoft Fabric MCP Server MCP tools for interacting with Microsoft Fabric ★ 3,681
- Azure DevOps (ADO) The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents. ★ 2,018
- Awesome Copilot MCP Server An MCP server that stores Copilot customizations from the Awesome Copilot repository ★ 196
- Microsoft MCP Server for Enterprise Official Microsoft MCP Server to query Microsoft Entra data using natural language ★ 55
05 · Facts
- repository
- github.com/microsoft/playwright-mcp
- category
- browser automation - ranked #1 of 255 actively-maintained browser automation servers as of 2026-09-18.
- release cadence
- 5 releases in the last 90 days (latest 2026-09-14)
- registry
- io.github.microsoft/playwright-mcp (active, first published 2026-05-01 · 10 versions)
- packages
- npm:@playwright/mcp
06 · Playwright MCP FAQ
Is Playwright MCP still maintained?
Yes - as of 2026-09-18, its last commit was 2026-09-17 and it shipped 5 releases in the last 90 days. We re-verify nightly.
What can Playwright MCP do?
With this server connected, an agent can click on a web page, close the page, read all console messages, and upload one or multiple files.
How do I install Playwright MCP?
Run `npx -y @playwright/mcp`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.
Does Playwright MCP run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Playwright MCP
Alternatives to Playwright MCP
Maintained browser automation servers if Playwright MCP isn't the fit.
- Chrome DevTools MCP MCP server for Chrome DevTools ★ 52,170 · 2026-09-17
- Server Browser MCP server for browser use access ★ 39,038 · 2026-09-11
- Aihawk AI browser agent: browses, clicks, types, and reads real web pages from plain-English instructions. ★ 31,628 · 2026-09-18
- SeleniumBase MCP Stealthy browser automation, testing, and web-scraping via CDP Mode. ★ 13,024 · 2026-09-18
- Mobile MCP MCP server for iOS and Android Mobile Development, Automation and Testing ★ 6,744 · 2026-09-16
- Agent Device (callstackincubator) Let AI agents inspect, control, and debug real iOS, Android, desktop, and TV apps ★ 4,641 · 2026-09-18
Pairs well with
Servers that cover what Playwright MCP doesn't - only shown when the pairing reason fits the companion.
- Firecrawl MCP Server → web scraping companion web scraping · ★ 7,478
- Tavily MCP → web scraping companion web scraping · ★ 2,390
- Codebase Memory → memory companion memory · ★ 43,715
- Memorix → memory companion memory · ★ 785
- Server Filesystem → filesystem companion filesystem · ★ 39,038
- Pdf MCP → filesystem companion filesystem · ★ 135
head to head · Chrome DevTools MCP vs Playwright MCP · Playwright MCP vs SeleniumBase MCP · Agent Device (callstackincubator) vs Playwright MCP
More browser automation MCP servers · App Publish · Cws · Acrawl · Mobai MCP
More TypeScript MCP servers · Microsoft Learn MCP · Midplane · Aimeat · Kubeview · Swsd · see all