Playwright MCP for Claude Code, Codex & Cursor
Microsoft’s Playwright MCP server automates supported browsers with structured page interaction tools.
Open maintainer documentationWHAT YOU CAN DONavigate pages and interact with forms · Capture browser screenshots
HOW IT WORKSLive app
PLATFORMSWindows · macOS · Linux
DOCUMENTED AGENTSClaude Code · Codex · Cursor
Documented capabilities
- Navigate pages and interact with formsDocumentation
- Capture browser screenshotsDocumentation
Agent compatibility
| Agent | Compatibility | Basis |
|---|---|---|
| Claude Code | Documented setup | The maintainer documents Claude Code setup for this connection. Source |
| Codex | Documented setup | The maintainer documents Codex setup for this connection. Source |
| Cursor | Documented setup | The maintainer documents Cursor setup for this connection. Source |
Setup route
Follow the linked maintainer documentation for installation, connection settings and supported versions.
Node.js and a supported browser or Playwright-managed browser installation; existing Chrome/Edge sessions need the extension route.
Limitations
Attaching an existing browser through the extension supports Chrome and Edge. Firefox uses the managed-browser route.