GitHub Stars
19,229
User Rating
Not Rated
Favorites
0
Views
130
Forks
1,481
Issues
15
Installation
Difficulty
AdvancedEstimated Time
20-45 minutes
Installation
Installation
Prerequisites
Please specify required software and versions:Node.js: 18.0.0 or higher
npm: 8.0.0 or higher
MCP clients like VS Code or Cursor
Installation Steps
1. Clone Repository
bash
git clone https://github.com/microsoft/playwright-mcp.git
cd playwright-mcp
2. Install Dependencies
bash
npm install
3. Configure MCP Server
Editclaude_desktop_config.json to add the MCP server:
json
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest"]
}
}
}
4. Start Server
bash
npm start