Playwright MCP Server
Rank #12io.github.microsoft/playwright-mcp
Playwright Tools for MCP
What you can do with Playwright MCP Server
Microsoft's Playwright MCP gives an agent browser automation through Playwright, working from structured accessibility snapshots rather than screenshots, so no vision model is needed and actions apply deterministically.
- Exploratory automation across Chrome, Edge, Firefox and WebKit
- Self-healing and long-running autonomous browser workflows
- Fill forms, click, upload files and handle dialogs
- Inspect console messages and network requests
- Verify elements and generate locators for tests
- Reuse logged-in sessions via the browser extension
What Playwright MCP Server can and cannot do
A core set of 24 browser_* tools (navigate, click, type, fill_form, snapshot, screenshot, evaluate, network and console) plus browser_tabs, with opt-in capability groups via --caps for vision (coordinate clicks), pdf, devtools (tracing, video, highlights), testing (assertions, locator generation), storage, network routing and config.
- browser_navigate
- browser_navigate_back
- browser_snapshot
- browser_click
- browser_type
- browser_fill_form
- browser_hover
- browser_drag
- browser_select_option
- browser_press_key
- browser_file_upload
- browser_handle_dialog
- browser_find
- browser_evaluate
- browser_run_code_unsafe
- browser_console_messages
- browser_network_requests
- browser_network_request
- browser_take_screenshot
- browser_resize
- browser_emulate_media
- browser_wait_for
- browser_tabs
- browser_close
- browser_pdf_save
- browser_start_tracing
- browser_verify_text_visible
- browser_generate_locator
- Playwright MCP is not a security boundary; --allowed-origins and --blocked-origins do not affect redirects
- browser_run_code_unsafe executes arbitrary JavaScript in the server process (RCE-equivalent)
- The Docker image supports headless Chromium only
- A persistent profile can be used by one browser instance at a time; use --isolated or distinct --user-data-dir per client
- File access is limited to workspace roots by default and file:// navigation is blocked
What you need before using Playwright MCP Server
The registry listing declares no required environment variables or authentication. This is declared metadata, not a verified install — the repository README is the authority.
Declared by Glama, last synced Oct 23, 2026. Not independently verified by MCP Toplist.
- Runtime
- Node.js 18 or newer (npx)
- Also needed
- Browsers via --browser (chrome, firefox, webkit, msedge); the Playwright Extension for attaching to a running Chrome/Edge
Connect Playwright MCP Server and confirm it works
- Add the server with command npx and args ["@playwright/mcp@latest"] (or run claude mcp add playwright npx @playwright/mcp@latest)
- Add --headless, --browser <name>, --isolated or --caps=vision,pdf,devtools as needed
- For a machine without a display, run with --port 8931 from an environment that has one and connect to http://localhost:8931/mcp
claude mcp add playwright-mcp -- npx -y @playwright/mcp[mcp_servers.playwright-mcp]
command = "npx"
args = ["-y", "@playwright/mcp"]Add to ~/.codex/config.toml.
{
"mcpServers": {
"playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config).
{
"mcpServers": {
"playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project).
{
"servers": {
"playwright-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}Save as .vscode/mcp.json in your workspace.
{
"mcpServers": {
"playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
{
"mcpServers": {
"playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}Ask the agent to open a public page and describe what is on it (it calls browser_navigate and browser_snapshot).
Expected: A browser launches and the agent returns the page's accessibility snapshot with its interactive elements.
When to choose another server
- Chrome DevTools MCP#2
You are debugging a Chrome page and want performance traces, heap snapshots and Lighthouse rather than test tooling.
- mcp-playwright#1,076
You want Playwright codegen sessions that record actions into test scripts.
- MCP Server#223
Your tests must run on real devices and browsers in a cloud grid.
Compared side by side in Browser automation MCP servers.
- Azure MCP Server#57
- MarkItDown#87
- 🚀 Model Context Protocol (MCP) Curriculum for Beginners#275
- Power BI Authoring MCP Server (Local)#403
- Awesome Copilot MCP Server#469
- Azure DevOps (ADO)#883
- GenAIScript#2,310
- Microsoft Work IQ Calendar#2,658
- Microsoft Fabric RTI MCP Server#3,298
- DebugMCP#4,600
- Clarity Data Export MCP Server#7,563
- Microsoft Copilot Studio ❤️ MCP#9,628
What changed, and when this was checked
- First listed
- Mar 21, 2025
- Latest version published
- Sep 18, 2026
- Version history
- 11 versions tracked (below)
- Requirements evidence
- Declared by Glama, last synced Oct 23, 2026. Not independently verified by MCP Toplist.
- Profile checked
- Oct 9, 2026 against README
- Ranking data as of
- Oct 23, 2026
- mcp.so ↗listed since Apr 25, 2026 · still listed
- Official MCP ↗listed since May 1, 2026 · still listed
- PulseMCP ↗listed since Jun 4, 2026 · still listed
- Glama ↗listed since Jun 4, 2026 · still listed
Do you maintain Playwright MCP Server? to correct or enrich this profile.
Available versions (11)
| Version | Published |
|---|---|
| 0.0.82 | Sep 18, 2026 |
| 0.0.81 | Sep 14, 2026 |
| 0.0.80 | Sep 11, 2026 |
| 0.0.79 | Aug 6, 2026 |
| 0.0.78 | Jul 9, 2026 |
| 0.0.77 | Jun 29, 2026 |
| 0.0.76 | Jun 10, 2026 |
| 0.0.75 | May 7, 2026 |
| 0.0.74 | May 6, 2026 |
| 0.0.73 | May 1, 2026 |
| 0.0.72 | May 1, 2026 |
Ranks ahead of 151,191 of 151,203 servers on MCP Toplist.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.microsoft%2Fplaywright-mcp)<a href="https://mcptoplist.com/server/io.github.microsoft%2Fplaywright-mcp"><img src="https://mcptoplist.com/badge/io.github.microsoft%2Fplaywright-mcp.svg" alt="MCP Toplist: Top 1% of 151,203" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Frequently asked questions
- Who maintains Playwright MCP Server?
- Playwright MCP Server is maintained by microsoft, which publishes 30 MCP servers (290 total versions) tracked on MCP Toplist.
- Is Playwright MCP Server listed on the Official MCP Registry?
- Yes — Playwright MCP Server is listed on the Official MCP Registry, alongside mcp.so, PulseMCP and Glama.
- How many versions does Playwright MCP Server have?
- MCP Toplist tracks 11 versions of Playwright MCP Server, most recently published on Sep 18, 2026.
- Where can I find the source code for Playwright MCP Server?
- The source code for Playwright MCP Server is hosted at github.com/microsoft/playwright-mcp.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.