Playwright
by microsoft
Microsoft's official Playwright MCP — headless browser automation with JavaScript rendering, network interception, screenshot + PDF export. More powerful than Puppeteer for modern SPAs.
Leave empty for Playwright's bundled Chromium. Chrome / Edge use the channel already installed on this machine; Firefox / WebKit are downloaded on first use.
Headed (default) shows the browser window while your AI drives it. Headless runs invisibly -- better on a machine you don't sit at.
Port for HTTP/SSE transport; stdio is the default transport
Path to a JSON config file with advanced Playwright settings
Path to an existing browser executable instead of downloading one
Connect to an existing browser via Chrome DevTools Protocol
Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.
Default template
# Optional extra environment variables, one KEY=VALUE per line. # Lines starting with # are ignored: uncomment and edit what you need. # Documented options: https://github.com/microsoft/playwright-mcp # Route the connector through an HTTP proxy, if your network needs one. # HTTPS_PROXY=http://proxy.example:8080 # Turn up logging for troubleshooting (read by many servers; the name varies). # LOG_LEVEL=debug
This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.
Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
npx -y @playwright/[email protected]