Overview
MCP Server Playwright is a Model Context Protocol server that provides browser automation capabilities using Playwright, enabling large language models (LLMs) to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.
To use MCP Server Playwright, install it via npm or Smithery, and configure it to integrate with your LLM environment. You can then utilize various commands to navigate, capture screenshots, and interact with web elements.
- Full browser automation capabilities - Screenshot capture of entire pages or specific elements - Comprehensive web interaction (navigation, clicking, form filling) - Console log monitoring - JavaScript execution in browser context
- Automating web testing for applications.
- Capturing screenshots for documentation or reporting.
- Interacting with web applications for data extraction.
Add to your AI client
Use these steps to connect MCP Server Playwright in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"automata-labs-team-mcp-server-playwright-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-automata-labs-team-mcp-server-playwright-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"automata-labs-team-mcp-server-playwright-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-automata-labs-team-mcp-server-playwright-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"automata-labs-team-mcp-server-playwright-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-automata-labs-team-mcp-server-playwright-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"automata-labs-team-mcp-server-playwright-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-automata-labs-team-mcp-server-playwright-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"automata-labs-team-mcp-server-playwright-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-automata-labs-team-mcp-server-playwright-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"automata-labs-team-mcp-server-playwright-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-automata-labs-team-mcp-server-playwright-mcp-mirror"
]
}
}
}FAQ
**Can MCP Server Playwright be used with any web application?**
Yes! It can automate interactions with any web application that is accessible via a browser.
**Is MCP Server Playwright free to use?**
Yes! It is open-source and free to use under the MIT License.
**What platforms does MCP Server Playwright support?**
It supports both Windows and macOS.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":744,"uuid":"c9bf711e-aeab-4135-ad02-eb4daa7ff317","name":"Automata-Labs-team_MCP-Server-Playwright","title":"MCP Server Playwright","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:28:26.745Z","updated_at":"2025-02-23T07:18:49.184Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"browser-automation,playwright,llm-integration","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/Automata-Labs-team_MCP-Server-Playwright","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/0389de4a01f55201e42f8aa9f49baf282b1604ff1ab4d497e36d2c4b01e0e519/68747470733a2f2f6175746f6d6174616c6162732e696f2f69636f6e2e737667","type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]