Playwright MCP
microsoft/playwright-mcpReviewed by AI
Checked by RepoPicks Radar on
What is Playwright MCP?
Playwright MCP is a connector (MCP server) from Microsoft that gives AI assistants such as VS Code Copilot, Claude Code, Cursor or Claude Desktop the ability to drive a real browser: open pages, click, fill forms, read the page structure and take screenshots. It reads the page as an accessibility tree instead of images, so no vision model is needed. You install Node.js 18 or newer and add a few lines to your assistant's settings, or run it in Docker. It can use a saved browser profile with your logins.
Playwright MCP is free and open source (Apache-2.0) and can replace Browserbase and Browser Use Cloud.
How easy is it to install Playwright MCP?
C · install 1 or 2 tools · Windows
- Windows C
- macOS C
- Linux C
The same work on Windows, macOS and Linux: install Node.js 18 or newer, then paste the standard JSON block into your assistant's settings or run one command such as "claude mcp add playwright npx @playwright/mcp@latest"; VS Code, Cursor and others also have one-click install links. You still need an MCP client, and the browser is downloaded on first use. The Docker route is an alternative and only supports headless Chromium.
Playwright MCP on GitHub
- Stars
- 39,452on Nov 10, 2026
- Downloads
- 95,426all releases
- Growth
- +314stars in 7 days
Stars over time
Facts
- Runs on
- Windows, macOS, Linux
- You need to install
- Node.js, Docker
- To build from source
- Node.js, Docker
- Disk space
- 100 MB–500 MB · estimate
- Accounts or keys
- None
- Cost
- Free
- License
- Apache-2.0 (Permissive)
- Can replace
- Browserbase, Cloud
- Last change on GitHub
- Nov 10, 2026
Playwright MCP risk signals (5)
- Attentionai controls browser with your logins
README: "All the logged in information will be stored in the persistent profile", and the --extension option can "Connect to a running browser instance (Edge/Chrome only)... leverage your logged-in sessions and browser state". Whatever the assistant decides to click or type happens in a browser that is signed in as you, and text on a visited page can try to steer the assistant.
AI review
- Attentionauthors say it is not a security boundary
README Security section: "Playwright MCP is not a security boundary." The config schema repeats this for secrets ("It is a convenience and not a security feature") and for allowUnrestrictedFileAccess ("a convenience defense to catch unintended file access, not a secure boundary").
AI review
- Infocan run arbitrary javascript and read files
Tools include browser_evaluate ("Evaluate JavaScript expression on page or element") and browser_drop with "Absolute paths to files to drop onto the element"; --allow-unrestricted-file-access removes the default limit to the workspace folder.
AI review
- Infopre release version and alpha dependency
package.json is version 0.0.84 and pins "playwright": "1.66.0-alpha-1793916328000", an alpha build. Options and tool names can still change between releases (74 releases so far).
AI review
- Infodocker image disables browser sandbox
Dockerfile ENTRYPOINT runs "node /app/cli.js --headless --browser chromium --no-sandbox", so inside that container the browser's own protection layer is off.
AI review
Evidence is shown in its original language.
What Radar could not check about Playwright MCP
- How much disk the downloaded browsers take after the first run
- What a given assistant actually does with the browser once it has these tools
- Whether a web page can trick the assistant into unwanted clicks or logins in your profile
- How well it works with each of the many listed MCP clients
- Whether screenshots or page text containing personal data end up in the AI provider's logs