mcp-server-playwright
MCP Server Playwright is a tool for automating browser interactions, capturing screenshots, and executing JavaScript in a browser context.
Top Comments
MCP Server Playwright is a powerful tool designed for full browser automation, allowing users to interact with web pages programmatically. It supports a wide range of web interactions such as navigation, clicking, form filling, and more. Additionally, it provides capabilities for capturing screenshots and monitoring console logs, making it an ideal choice for developers and testers who need to automate web tasks. The server can be easily installed and configured on both Windows and macOS systems, integrating seamlessly with the Claude Desktop environment. With its comprehensive set of features, MCP Server Playwright simplifies the process of automating repetitive web tasks, enhancing productivity and efficiency.
Features
- 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
MCP Tools
- browser_navigate: Navigate to any URL in the browser
- browser_screenshot: Capture screenshots of the entire page or specific elements
- browser_click: Click elements on the page using CSS selector
- browser_click_text: Click elements on the page by their text content
- browser_hover: Hover over elements on the page using CSS selector
- browser_hover_text: Hover over elements on the page by their text content
- browser_fill: Fill out input fields
- browser_select: Select an option in a SELECT element using CSS selector
- browser_select_text: Select an option in a SELECT element by its text content
- browser_evaluate: Execute JavaScript in the browser console
MCP Resources
- {'name': 'Console Logs', 'description': 'Access browser console output in text format'}
- {'name': 'Screenshots', 'description': 'Access PNG images of captured screenshots'}
Usage with Different Platforms
install_via_smithery
bash
npx -y @smithery/cli install @automatalabs/mcp-server-playwright --client claude
install_using_npx
bash
npx @automatalabs/mcp-server-playwright install
install_using_mcp_get
bash
npx @michaellatman/mcp-get@latest install @automatalabs/mcp-server-playwright
configuration
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@automatalabs/mcp-server-playwright"]
}
}
}
Related MCP Servers
View all browser_automation servers →Fetch
by modelcontextprotocol
Fetch MCP Server is designed to help language models retrieve web content by converting HTML to markdown for easier consumption. It includes features like content truncation, chunk reading, and customizable user-agent settings, making it highly adaptable for various web scraping tasks.