Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Playwright mcp

Plugin by microsoft

Gives AI assistants browser automation through Microsoft's Playwright MCP server, using accessibility snapshots instead of screenshots. Suited to exploratory automation, self-healing tests and long-running browser workflows.

  • Score 89
  • 40k stars
  • Apache-2.0
  • Updated
Works withClaude Code

Install Playwright mcp

Built from the published package, never by AI.

/plugin marketplace add o6b7/cross-stack-standard
/plugin install playwright-mcp@cross-stack-standard

Type both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.

Step-by-step: install Playwright mcp in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Playwright MCP is a Model Context Protocol server from Microsoft that gives LLMs browser automation through Playwright. It works by reading structured accessibility snapshots of web pages, so it does not need screenshots or vision models. The source describes it as fast and lightweight, with deterministic tool application.

The server requires Node.js 20 or newer and can be added to MCP clients such as VS Code, Cursor, Claude Code, Claude Desktop and others. The source says MCP suits specialized agentic loops that need persistent state, such as exploratory automation, self-healing tests and long-running autonomous workflows. For high-throughput coding agents, the source recommends the Playwright CLI with SKILLS instead, because it uses fewer tokens.

Written from the project's README and checked against it.

What it can do

  • Accessibility snapshotsReads page structure through Playwright's accessibility tree instead of pixel-based input.
  • Optional capabilitiesEnables extra abilities such as vision, pdf and devtools through the caps setting.
  • File access controlsRestricts file system access to workspace roots by default and blocks file:// navigation.
  • Origin controlsSupports allowed and blocked origin lists for browser requests.

What you need

  • Node.js 20 or newer
  • An MCP client such as VS Code, Cursor, Claude Code or Claude Desktop

Try asking

  • Open the login page of my local app and check the form fields
  • Run an exploratory check on this site and list the broken links
  • Write a self-healing test for the checkout flow on localhost

Good to know

  • The origin allowlist and blocklist do not serve as a security boundary and do not affect redirects.
  • File system access is restricted to workspace roots unless unrestricted access is enabled.
  • The source says the CLI with SKILLS is more token-efficient for high-throughput coding agents.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Playwright mcp

All alternatives →
Chrome devtools mcpChromeDevTools
95

Chrome DevTools MCP lets coding agents control and inspect a live Chrome browser. It records performance traces, analyzes network requests, and checks console messages. It is for developers who want their assistant to debug and automate web pages.

AAB 60k
Agent browservercel-labs
89

agent-browser gives AI agents a browser they drive one shell command at a time. The agent reads a page as compact text with element refs, acts on them, and checks the result. It suits AI agents and developers who need browser automation in Chromium.

AAB 54k
Chrome devtools mcpChromeDevTools
89

Chrome DevTools for agents gives a coding assistant control of a live Chrome browser through an MCP server and a CLI. It suits developers who want browser automation, debugging and performance analysis.

AAB 60k
Playwright climicrosoft
89

Automates browser interactions and web page tests from the command line, using Playwright. Built for coding agents such as Claude Code and GitHub Copilot, it exposes CLI commands as skills.

AAB 16k
Microsoft playwright mcpmicrosoft
89

Playwright MCP is Microsoft's Model Context Protocol server for browser automation with Playwright. It lets AI assistants control web pages through structured accessibility snapshots, for debugging and test automation.

AAB 40k
Agent browservercel-labs
89

Agent browser is a native Rust CLI that lets an AI agent open pages, read them as an accessibility tree, and act on elements from the shell. It suits developers building browser automation for AI agents.

AAB 54k

Compare with Chrome devtools mcp, Agent browser or Chrome devtools mcp

Playwright mcp: common questions

What does Playwright MCP do?

It is a Model Context Protocol server that lets LLMs interact with web pages through Playwright. It uses structured accessibility snapshots rather than screenshots or vision models.

Does Playwright MCP need a vision model?

No. The source says it operates purely on structured data and needs no vision models. Vision is listed only as an optional capability.

When should I use the CLI instead of MCP?

The source recommends the Playwright CLI with SKILLS for high-throughput coding agents that must save context. MCP is better for exploratory automation and workflows that need persistent browser state.

How do I install Playwright mcp?

Inside Claude Code, add the marketplace with /plugin marketplace add o6b7/cross-stack-standard, then install the plugin with the second command shown above.

Is Playwright mcp free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Playwright mcp safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Playwright mcp?

Similar plugins: Chrome devtools mcp, Agent browser, Chrome devtools mcp, Playwright cli.

Playwright mcp Install

Add to stack

Loading.