AITeamGuide Hub · MCP server
Playwright MCP
Microsoft's MCP server that lets an assistant drive a browser through Playwright using the page's accessibility tree.
MCP server★ 40k starsArchived on GitHubApache-2.0Software developmentOps & IT
Short answer: how to install Playwright MCP
Playwright MCP is an Apache-2.0-licensed, open-source MCP server on GitHub (microsoft/playwright-mcp) with 40,434 stars as of December 2, 2026. Its last push was on December 1, 2026. To install it in Claude Code, run claude mcp add playwright npx @playwright/mcp@latest. It works with Any MCP client, VS Code, Claude Code, Cursor; steps for each are below.
Key facts
- Type
- MCP server
- Jobs it fits
- Do web errands; Test a web app
- Fields
- Software development, Ops & IT
- Works with
- Any MCP client, VS Code, Claude Code, Cursor
- GitHub
- microsoft/playwright-mcp
- Licence
- Apache-2.0
- Stars
- 40,434 as of December 2, 2026
- Last updated
- December 1, 2026 (last push to GitHub)
- Author
- @microsoft
- Submitted by
- @aiteamguide
- Added to the Hub
- October 21, 2026
Install / Use it
Apache-2.0Local MCP server
Cursor
Or paste into ~/.cursor/mcp.json
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}Claude Code
Command from the README
claude mcp add playwright npx @playwright/mcp@latestClaude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config), then restart Claude
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}VS Code
Or from the command line
code --add-mcp '{"name":"playwright","type":"stdio","command":"npx","args":["@playwright/mcp@latest"]}'Codex
Command from the README
codex mcp add playwright npx "@playwright/mcp@latest"Safety: Runs code from a third-party repo. Review the source and the permissions before installing.
Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.
How to add MCP servers in your app, step by step: Claude Code · Cursor · VS Code · Claude Desktop · Codex · Gemini CLI · Copilot CLI · OpenCode · Cline · Roo Code · Kilo Code · Zed · LM Studio · Antigravity · Windsurf · Hermes Agent · ChatGPT.
FAQ
How do I add Playwright MCP to Claude Code?
Run claude mcp add playwright npx @playwright/mcp@latest in your terminal.
How do I add Playwright MCP to Codex?
Run codex mcp add playwright npx "@playwright/mcp@latest" in your terminal.
How do I add Playwright MCP to Cursor?
Use the Add to Cursor button in the install panel on this page, or paste this entry under mcpServers in ~/.cursor/mcp.json: {"playwright":{"command":"npx","args":["@playwright/mcp@latest"]}}.
Is Playwright MCP free?
The code is open source under the Apache-2.0 licence, so it's free to use. Any account or API key the connected service needs is billed by that service, not by the project; see the README.
Is Playwright MCP still maintained?
Its last push to GitHub was on December 1, 2026, and it had 40,434 stars as of December 2, 2026. We re-check GitHub daily.
Prefer a ready-made product?
Commercial agents for the same job, with real prices: Claude in Chrome, Perplexity Comet, Browser Use, all browser & computer-use agents.
Get new open-source AI tools like Playwright MCP in one weekly email
One email a week: new open-source agents, skills, MCP servers and playbooks from the Hub, plus AI agent price changes and new free plans. Free; unsubscribe anytime.
Free, no signup needed: the AI agent pricing cheat sheet, the cheapest listed plan for every job on one printable page.
More from the Hub
-
Skill
Superpowers
A skills library and working method for coding agents: brainstorm, plan, test first, then build.
Software development★ 331k
-
Agent
OpenCode
An open-source coding agent for the terminal and desktop that works with many model providers.
Software development★ 231k
-
MCP server
MarkItDown MCP
Microsoft's official MCP server for MarkItDown: one tool, convert_to_markdown, turns PDFs, Office files and web pages (any http, https, file or data URI) into Markdown your AI assistant can read.
Personal productivity · Research★ 199k
-
MCP server
MCP reference servers
The official set of reference MCP servers (filesystem, fetch, git, memory, time and more) used as starting points.
Software development · Personal productivity★ 92k
Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.
Featured in our guides: Best MCP servers for web search · Best MCP servers for coding.