microsoft/playwright-mcp
Official Microsoft Playwright MCP server, enabling LLMs to interact with web pages through structured accessibility snapshots
Ads
Overview
Official Microsoft Playwright MCP server, enabling LLMs to interact with web pages through structured accessibility snapshots
Installation
npx @playwright/mcp@latest
Configuration
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}Capabilities
- Navigate and inspect pages
Have your assistant visit URLs and read structured accessibility snapshots to understand page content and state.
- Interact with page elements
Direct the assistant to click, type, and perform browser actions on elements found via the accessibility tree.
- Run autonomous browser workflows
Keep a persistent browser context for long-running tasks that iterate over page structure.
- Control session persistence
Use `--isolated` or a persistent `--user-data-dir` profile to manage whether login state and storage survive between runs.
- Generate Playwright code
Enable `--codegen` to capture interactions as code in TypeScript, Python, Java, or C#.
- Connect to an existing browser
Use the browser extension to operate on your logged-in tabs and current browser state.
Tags
- browser-automation
- testing-qa
- web-scraping
- awesome-list
Related MCP servers
Playwright MCP
Control browsers with Playwright to navigate pages, capture snapshots, and automate flows.
Puppeteer MCP Server
OfficialAutomate headless Chrome with Puppeteer for scraping and UI verification tasks.
site-shot/site-shot-mcp
Website screenshot API for AI agents. Real Chromium rendering, full-page capture up to 20,000px, country/geo proxies, and automatic ad & cookie-banner removal (cleaner images, fewer vision tokens). Two tools: `capture_screenshot`, `capture_full_page`. Install: `npx -y site-shot-mcp`.
seleniumboot/selenium-mcp
Python MCP server for Selenium WebDriver — 84 tools for browser automation, element interactions, assertions, and self-healing locators, plus codegen for Java TestNG / JUnit 5 / Cucumber / pytest / C# NUnit / Playwright and CI pipelines (GitHub Actions / Jenkins / GitLab CI). No ChromeDriver setup needed.