Cursor plugin that connects agents to a real browser through Microsoft's Playwright MCP server.
Navigate pages, click and fill elements, take accessibility snapshots and screenshots, and run end-to-end checks from chat.
- Open Cursor Settings → Plugins.
- Search for Playwright.
- Click Install.
Or run /add-plugin playwright in chat.
This is a local stdio MCP server. Cursor launches it with npx -y @playwright/mcp@latest, so the machine running Cursor needs Node.js installed and on PATH. The -y flag skips npx's install confirmation so the first launch cannot hang waiting for interactive input over stdio.
The first run downloads Playwright's browser binaries. That can take a minute and needs network access; later runs reuse the cached browsers.
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest"]
}
}
}No credentials are required. The server runs locally and drives a browser on the same machine.
- Playwright MCP: https://github.com/microsoft/playwright-mcp
- Playwright: https://playwright.dev
Logo is Microsoft's official Playwright mark from the Playwright website, placed on a white tile with padding so it reads well in the Cursor UI: https://github.com/microsoft/playwright.dev/blob/main/static/img/playwright-logo.svg
MIT