playwright-mcp
Official๐งMCP Servermicrosoft/playwright-mcp
Enables language models to programmatically interact with web browsers by converting web page structures into structured, accessible data for precise and deterministic browser automation.
Overview
Playwright MCP is a Model Context Protocol server by Microsoft that enables browser automation through Playwright. It allows language models to interact with web pages using structured accessibility snapshots, without relying on vision models or screenshots.
Key Features
- Browser automation via Playwright's accessibility tree, not screenshots
- Structured, deterministic interactions with web page elements
- Support for navigation, form filling, clicking, and data extraction
- Compatible with Claude Desktop, Claude Code, and other MCP clients
- Headless and headed browser modes for different use cases
Who is this for?
Developers building AI-powered web automation workflows who need reliable, structured browser interaction. Ideal for testing automation, web scraping, and building AI agents that need to navigate and interact with web applications programmatically.
Playwright MCP: How AI Agents Can Control Your Browser
๐ Related Resources

1. Introduction End-to-end testing has evolved dramatically, and Playwright stands at the forefront. Playwright offers a full ecosystem empowering developers to write, debug, and maintain tests with s
Test automation has come a long way, from scripted flows to self-healing and now AI-driven testing. With the introduction of Model Context Protocol (MCP),...
Installation
claude mcp add playwright npx @playwright/mcp@latest{
"mcpServers": {
"playwright": {
"type": "stdio",
"command": ...