Playwright integration for ModelContext
Playwright MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Playwright integration for ModelContext.
Ever tried using Cursor or Claude to write Playwright tests? Yeah, it's kind of a mess.
Before you install playwright-mcp, make sure you have: ✅ Node.js installed on your system (because, well… it's an npm package) ✅ Playwright and its Chromium browser installed ✅ An IDE that supports MCP, like Cursor ✅ A brain that's ready to automate Playwright tests like a pro
The server ships on npm as playwright-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
This sits in the browser automation group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by ashishbansal; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Playwright's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
{
"mcpServers": {
"playwright-1": {
"command": "npx",
"args": ["-y", "playwright-mcp"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Before you install playwright-mcp, make sure you have: ✅ Node.js installed on your system (because, well… it's an npm package) ✅ Playwright and its Chromium browser installed ✅ An IDE that supports MCP, like Cursor ✅ A brain that's ready to automate Playwright tests like a pro
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
Industrial-strength web extraction — render, scrape, crawl and search entire sites into clean markdown.
The original Chromium automation reference server — simple, screenshot-driven browser control.
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Puppeteer-powered browser control that drives pages from the accessibility tree instead of pixels.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.