Browser automation · MCP server
Playwright MCP: MCP server, setup and security
Playwright MCP is an open-source MCP server published on GitHub that lets an AI agent interact with web pages using structured accessibility snapshots through Playwright. Its repository has 38,585 stars and its last commit is from October 22, 2026 and it is licensed under Apache-2.0.
| Adoption (stars) | 40/40 | |
|---|---|---|
| Maintenance | 30/30 | |
| Framework (licence, registry, official) | 20/30 |
What Playwright MCP does
According to its repository: “Playwright browser automation: interact with web pages through structured accessibility snapshots.”
The Model Context Protocol (MCP) is a standard plug between an AI agent and an outside service: once the server is connected, its tools show up in the agent, which decides when to call them. Playwright MCP is listed under Browser automation, a category of 109 servers in the directory, where it ranks #5 by stars.
Topics declared by the repository: playwright.
Installing and connecting Playwright MCP
Distribution modes declared in the official MCP registry:
- npm package (Node.js, usually started with
npx)
It works with any MCP-compatible client (Claude Desktop, Claude Code, Cursor, VS Code, Codex and most recent agents). You add one entry to the client's MCP configuration: server name, start command or URL, environment variables. Project language: TypeScript.
Security: what to check
Connecting an MCP server means installing software that talks straight to your agent: it runs with your rights and the model trusts its tool descriptions. The risk therefore depends on what it can touch and how far its code can be trusted.
Points found for Playwright MCP:
- System access: the Browser automation category gives the agent control over files, a terminal, code or a browser. A booby-trapped instruction in content the agent reads (prompt injection) can then turn into an action.
Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.
Project activity and maintenance
Created on March 21, 2025, the microsoft/playwright-mcp repository has 38,585 stars and 3,312 forks, with 1 open issues. It is one of the most starred servers in the directory. It received changes this month. Version published in the registry: 0.0.82 (September 18, 2026).
Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.
Verdict
Playwright MCP is one of the most solid servers in its category: followed, maintained and well framed.
Strengths
- Active project: recent commit
- Widely followed: 38.6K stars
- Listed in the official MCP registry
- Permissive licence (Apache-2.0)
Avoid if…
- You cannot isolate the agent (sandbox, container)
Alternatives
- Firecrawl MCP Server7.7K ★
- Browser use119K ★
- MCP server browser39.4K ★
- SeleniumBase MCP13.1K ★
- Scrapling MCP Server89.4K ★
- Chrome DevTools MCP54.1K ★
Learn more
Frequently asked questions
How do I install Playwright MCP?
Playwright MCP is distributed as npm package (Node.js, usually started with npx). Add it to your client's MCP configuration (Claude Desktop, Cursor, VS Code…) following the README of microsoft/playwright-mcp.
Is Playwright MCP free?
The code is published under the Apache-2.0 licence and can be used free of charge.
Is Playwright MCP safe?
Points to watch: system access. Give it minimum rights and approve sensitive actions.
Is it an official server?
Nothing says so: it is a project published by microsoft on GitHub. Check who maintains it before giving it access.
What are the alternatives to Playwright MCP?
In the same category: Firecrawl MCP Server, Browser use, MCP server browser, and SeleniumBase MCP.
Related articles
- Build your own MCP server in 30 minutesOctober 24, 2026
- Automate your inbox with an AI agentOctober 18, 2026
- MCP, A2A, and tool calling: agent protocols explainedOctober 17, 2026
- Build an AI agent with n8n, without codingOctober 16, 2026
Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score