---
title: "Playwright MCP: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/mcp-servers/playwright/
description: "Gives an assistant persistent browser tools for inspecting page structure, interacting with controls and collecting browser evidence."
---

# Playwright MCP: review, setup & limitations · Undominated.ai

> Gives an assistant persistent browser tools for inspecting page structure, interacting with controls and collecting browser evidence.

[← Explore all mcp servers](/mcp-servers/)

BROWSER AUTOMATION / Microsoft

# Playwright MCP

Gives an assistant persistent browser tools for inspecting page structure, interacting with controls and collecting browser evidence.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/microsoft/playwright-mcp)

SOURCE REVIEW

 Reviewed 2026-10-14
 Evidence 4 linked sources
 Publisher Microsoft
 Licence [Apache-2.0 ↗](https://github.com/microsoft/playwright-mcp/blob/b8b4183e099f136cbec0388a6088d4aa2f6b9685/LICENSE)
 Revision b8b4183e099f
 [Read what was—and wasn’t—checked ↓](#review)

“A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright.”

 [Microsoft · upstream description ↗](https://github.com/microsoft/playwright-mcp/blob/b8b4183e099f136cbec0388a6088d4aa2f6b9685/README.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - Structured accessibility snapshots support inspecting page controls without making screenshots the only interaction channel.
- The documented tool inventory exposes both observation and mutation, allowing browser work to be reviewed at the action level.
- The pinned README drives a browser from the accessibility tree instead of screenshots, which is the path it recommends when the agent needs a persistent page.
- It also says the server is not a security boundary, and that unrestricted file access is only a convenience check.

### A good fit for

 - Reproducing an interface bug with page snapshots, console evidence and browser interaction in a disposable session.
- Checking a form or navigation flow against a staging site, with authenticated state supplied only when the task requires it.
- Exploratory browser automation that should stay on structured page snapshots
- A headed or attached browser where a screenshot-only agent is the wrong tool

### Weigh up before choosing

 - This server is not a security boundary; allowed/blocked origin options do not provide a reliable sandbox.
- Browser actions can submit forms, use logged-in sessions, upload files and change remote application state.
- The publisher also offers a CLI/Skills approach; persistent MCP sessions are a workflow choice, not a demonstrated universal efficiency gain.
- SSE is shown only as a programmatic integration example, so the listed launch transports are stdio and HTTP.
- The default persistent profile retains login state; concurrent clients in the same workspace can contend for that profile.
- Isolated contexts reset browser state but do not provide a filesystem, network or account-permission sandbox. The documented Docker variant supports headless Chromium only.
- The Docker notes support only headless Chromium.
- Network allow and block lists default to allowing every origin, and a matching entry in both lists is blocked.
- Secrets redaction and the file-access flag are documented as conveniences, not security boundaries.
- A pin does not verify transitive dependencies.
- This review did not execute the resource.
- Do not interpret the origin allowlist as a complete browser network isolation boundary.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - README.md setup, configuration and operating-limit sections at b8b4183e099f136cbec0388a6088d4aa2f6b9685
- LICENSE at the same revision
- package.json
- cli.js
- README.md
- LICENSE
- Round 2 reread of acquired publisher setup and permission evidence; see immutable wave review.

### Our findings

 - The inspected package requires Node.js >=18; the README documents isolated sessions, storage-state input and persistent-profile contention.
- The example combines documented --isolated and --headless options without importing the visitor’s existing browser session.
- The server gives an LLM Playwright actions through structured accessibility snapshots and says vision models are not required.
- Playwright MCP is not a security boundary, and allowUnrestrictedFileAccess is described as a guardrail that a deliberate path escape can bypass.
- The browser network option defaults to allowing all origins, and the Docker setup in this README supports only headless Chromium.
- Allowed-origin request filtering does not cover redirects, and browser automation can retain persistent session state.

### Not established by this review

 - Server startup, authentication and live tool calls were not tested.
- Published package/container parity with the inspected source commit and security isolation were not tested.
- The server was not started and its tools were not called.
- A pin does not verify transitive dependencies.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Connect a server deliberately.

[Upstream setup instructions ↗](https://github.com/microsoft/playwright-mcp/blob/b8b4183e099f136cbec0388a6088d4aa2f6b9685/README.md)

DOCUMENTED COMMAND

 npx @playwright/mcp@latest Copy command ↗

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

 - Add the documented stdio configuration to an MCP client; adapt the configuration wrapper to that client.
- Choose a dedicated browser profile or isolated context and grant only the browser permissions needed for the task.

### Before you start

 - Node.js meeting the official package engine requirement.
- Browser installation and OS dependencies required by Playwright.

### Documented configuration example

Use the client and authentication context described in the setup guidance. Configuration formats vary between hosts.

 {
 "mcpServers": {
 "playwright": {
 "command": "npx",
 "args": [
 "@playwright/mcp@latest"
 ]
 }
 }
} Copy configuration ↗

### Compatibility

Node.js and a supported browser on the host. · MCP clients supporting stdio; documented local HTTP mode is also available.

### Implementation

JavaScript

### Transports

stdio · Streamable HTTP

### Local browser and web-session access

 - Reads rendered pages, browser console/network state and screenshots.
- May execute page scripts, upload/download files and perform authenticated browser actions.

### Cost model

The server source has no metered licence; browser compute, target services and the chosen assistant have separate costs.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Pinned upstream setup, capabilities and operating limits ↗](https://github.com/microsoft/playwright-mcp/blob/b8b4183e099f136cbec0388a6088d4aa2f6b9685/README.md) Checked 2026-10-14 https://github.com/microsoft/playwright-mcp/blob/b8b4183e099f136cbec0388a6088d4aa2f6b9685/README.md Supports: summary, upstreamDescription, install, configExample, access, limitations, bestFor, review
- [Licence at the reviewed revision ↗](https://github.com/microsoft/playwright-mcp/blob/b8b4183e099f136cbec0388a6088d4aa2f6b9685/LICENSE) Checked 2026-10-14 https://github.com/microsoft/playwright-mcp/blob/b8b4183e099f136cbec0388a6088d4aa2f6b9685/LICENSE Supports: license
- [Pinned implementation or package metadata: package.json ↗](https://github.com/microsoft/playwright-mcp/blob/b8b4183e099f136cbec0388a6088d4aa2f6b9685/package.json) Checked 2026-10-14 https://github.com/microsoft/playwright-mcp/blob/b8b4183e099f136cbec0388a6088d4aa2f6b9685/package.json Supports: review, install, language
- [Pinned implementation or package metadata: cli.js ↗](https://github.com/microsoft/playwright-mcp/blob/b8b4183e099f136cbec0388a6088d4aa2f6b9685/cli.js) Checked 2026-10-14 https://github.com/microsoft/playwright-mcp/blob/b8b4183e099f136cbec0388a6088d4aa2f6b9685/cli.js Supports: review, install, language

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Cloudflare Playwright MCP ↗ A Worker-hosted Playwright MCP server for Cloudflare Browser Rendering.](/mcp-servers/cloudflare-playwright/)[### Firefox DevTools MCP ↗ Automate and inspect a local Firefox browser through WebDriver BiDi and selectable tool presets.](/mcp-servers/firefox-devtools/)[### Hyperbrowser MCP Server ↗ Scrape and crawl pages, extract structured web data and run hosted browser-agent sessions.](/mcp-servers/hyperbrowser/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Inspect resource evidence](/tools/)
- [Choose a host](/agents/)
- [Inspect reusable workflows](/skills/)
- [Use Undominated data](/api/)
