About
Overview
The Playwright MCP Server enables AI agents to automate web browsers using Playwright. It supports Chromium, Firefox, and WebKit, providing tools for navigation, element interaction, screenshots, PDF generation, and network interception. Ideal for cross-browser testing and web automation.
Capabilities
Tools & Capabilities
⚡navigate
Navigate to a URL in any supported browser
⚡screenshot
Take a screenshot of the page or element
⚡click
Click an element using Playwright selectors
⚡fill
Fill an input field
⚡evaluate
Execute JavaScript in the page context
⚡get_text
Get text content from the page or element
Generate a PDF of the page
Setup
Installation
bash
Install
npx -y @playwright/mcp-serverExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp-server"]
}
}
}Quick Info
Authormicrosoft
LanguageTypeScript
StatusStable
Stars★ 850
Last UpdatedFeb 12, 2026