Loading...
npm install -g @executeautomation/playwright-mcp-server{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@executeautomation/playwright-mcp-server"]
}
}
}playwright_gotoNavigates the browser to a specified URL.
Navigating to a URL is a read operation.
playwright_screenshotCaptures a screenshot of the current browser page.
Capturing a screenshot is a read operation.
playwright_contentRetrieves the HTML content of the current browser page.
Retrieving content is a read operation.
playwright_evaluateExecutes JavaScript code in the browser context.
Executing arbitrary JavaScript can have significant side effects.
playwright_clickClicks on a specified element on the page.
Clicking elements can trigger state changes on the page.
playwright_typeTypes text into a specified element on the page.
Typing text can modify form fields and trigger state changes.
playwright_resizeResizes the browser window to emulate different devices.
Resizing the window does not directly modify data.
The Playwright MCP server offers powerful browser automation capabilities, but it requires careful configuration and monitoring to mitigate potential risks. Using it in stdio mode with Claude Desktop is generally safer than exposing it as an HTTP server. Avoid granting excessive permissions to prevent misuse.