Playwright MCP
MCP serverMCP server that lets LLMs control a browser through Playwright
- Price
- Free, open source
- Access
- None, runs locally
About
Microsoft's MCP server that lets an AI agent drive a real browser through Playwright. It works on the accessibility tree, so no vision model is needed. For high-volume coding agents the README suggests the leaner Playwright CLI instead.
What you can do with it
- Let an AI agent navigate sites, click buttons and fill in forms
- Run exploratory and self-healing tests from a coding agent
- Take screenshots, save PDFs and inspect network requests
Get started
- Install Node.js 18 or newer
- Add the server to your MCP client's config
Example
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest"]
}
}
}Details
- Hosting
- Self-hosted, Runs locally
- Available in
- Worldwide
- MCP server
- Local