Skip to content

microsoft/playwright-mcp

MCP Browser & Automation

A Model Context Protocol (MCP) server that lets LLMs perform browser automation via Playwright's accessibility tree instead of screenshots or vision models.

TypeScript Latest v0.0.78 · 17d ago Security brief →

Features

  • Fast and lightweight – uses Playwright’s accessibility tree rather than pixel‑based input
  • LLM‑friendly – operates on structured data, no vision model required
  • Deterministic tool application – avoids ambiguity common with screenshot‑based approaches

Recent releases

View all 48 releases →
No immediate action
v0.0.78 Mixed

browser_find + snapshot + mobile

Review required
v0.0.76 Mixed
RCE / SSRF

Video actions overlay + tool improvements

v0.0.75 Bug fix

Fixed serialization of shared browser launches and forwarding of CDP commands in isolated and extension modes.

Full changelog

Bug Fixes

  • Serialize shared browser launch in --isolated mode (#40709)
  • Forward browser-level CDP commands in extension mode (#40706)
v0.0.74 Bug fix
Notable features
  • Extension supports managing multiple tabs with `--extension` flag
  • `browser_take_screenshot` skips base64 response when filename is provided
Full changelog

What's New

Browser Extension

  • The extension now supports managing multiple tabs when used with --extension (#40678)

Tool Improvements

  • browser_take_screenshot — Skip the base64 image in the response when filename is explicitly provided (#40577)

Bug Fixes

  • Auto-recover when the remote browser disconnects mid-session (#40652)
  • Recover from page renderer crash (#40617)
  • Anchor aria-ref regex in target resolution (#40610)
  • Propagate abort signal to stop test execution (#40582)
v0.0.73 Bug fix
Notable features
  • Playwright MCP now published to the official MCP Registry on each release
Full changelog

What's New

Distribution

  • Playwright MCP is now published to the official MCP Registry on each release (#1585)

Bug Fixes

  • Resolve extension channel and executablePath from CLI flags and environment variables (#40572)
  • Propagate --browser channel on the --extension path (#40567)
  • Handle null viewport in dashboard annotate-screenshot (#40569)

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

About

Stars
35,239
Forks
2,930
Languages
TypeScript JavaScript Dockerfile
Downloads/week
5,973,412 ↑9%
NPM Maintainers
4
Contributors
68
TypeScript
Types included ✓

Install & Platforms

Install via
npm

Beta — feedback welcome: [email protected]