
Description
Playwright MCP is a Model Context Protocol server from Microsoft that gives an LLM browser automation through Playwright. It lets a model interact with web pages using structured accessibility snapshots of each page, rather than screenshots or a vision model, so the input is text the model can reason about. The README says the approach is fast and lightweight, because it uses Playwright's accessibility tree and not pixel input, and that actions are deterministic, avoiding the ambiguity that screenshot-based tools can have. The project also compares itself with the Playwright CLI with skills. It notes that CLI workflows are more token-efficient for coding agents with large codebases, and that MCP suits exploratory automation, self-healing tests and long-running workflows that need persistent browser state. It requires Node.js 18 or newer and works with VS Code, Cursor, Windsurf, Claude Desktop, Claude Code, Cline, Codex and other MCP clients, each with its own setup snippet in the README. It suits developers who want an agent to drive a browser through a standard MCP connection.…
Highlights
- Browser control from accessibility snapshots
- No vision model needed
- Works with many MCP clients
- Node.js 18 or newer
Ratings & Reviews
No ratings yet
Be the first to rate microsoft/playwright-mcp.
People also visit

executeautomation/playwright-mcp-server
Browser automation and web scraping using Playwright

swimmwatch/cloakbrowser-mcp
Playwright MCP-compatible browser automation using CloakBrowser Chromium

kimtth/mcp-aoai-web-browsing
Minimal MCP server and client implementation using Azure OpenAI and Playwright
microsoft/playwright-mcp FAQ
What is Playwright MCP?
A Model Context Protocol server that lets an LLM automate a browser with Playwright, using structured page snapshots.
Does it need screenshots?
No. The README says it works from the accessibility tree and does not need a vision model.
What do I need to run it?
Node.js 18 or newer, and an MCP client such as VS Code, Cursor, Claude Desktop, Claude Code or Cline.
Is the CLI version better?
The README says CLI workflows with skills use fewer tokens and suit high-throughput coding agents. MCP suits exploratory and long-running automation.
How do I install it in Claude Code?
The README gives a command that uses the Claude Code CLI to add the Playwright MCP server.
What are the best microsoft/playwright-mcp alternatives?
Popular alternatives to microsoft/playwright-mcp include executeautomation/playwright-mcp-server, agent-infra/mcp-server-browser and Ui.Vision MCP. See all microsoft/playwright-mcp alternatives

















