MCP Playwright
Playwright Model Context Protocol server to automate Browser and APIs
🌐 Web
Overview
MCP-Playwright
Description:
A browser automation server enabling web interaction and API testing capabilities
Category: Browser Automation & Testing
Overview:
MCP-Playwright provides comprehensive browser automation capabilities using Playwright. It enables web page interactions, screenshot capture, JavaScript execution, and API testing functionalities in a real browser environment.
Installation Options:
# Via Smithery
npx @smithery/cli install @executeautomation/playwright-mcp-server --client claude
# Via npm
npm install -g @executeautomation/playwright-mcp-server
Configuration:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@executeautomation/playwright-mcp-server"]
}
}
}
Key Features:
- Browser Navigation & Interaction
- Screenshot Capture
- Element Manipulation (click, hover, fill)
- Form Handling
- JavaScript Execution
- API Testing (GET, POST, PUT, PATCH, DELETE)
- Console Log Monitoring
Available Resources:
- Console Logs:
console://logs
- Screenshots:
screenshot://<name>
Components:
- Browser Tools: Navigation, screenshots, element interactions
- API Tools: RESTful operations with status codes and response handling
- Form Controls: Input filling, select operations
- JavaScript Console: Direct script execution
The server combines browser automation with API testing capabilities, making it suitable for complex web testing and automation scenarios.