mcp-playwright
3,631
The Playwright MCP Server is designed for browser automation using the Playwright framework. It allows language models to perform tasks like web page interaction, web scraping, and test code generation in real browser environments.
Playwright MCP Server ðŸŽ
A Model Context Protocol server that enables browser automation using Playwright. Key features include interaction with web pages, taking screenshots, generating test code, web scraping, and executing JavaScript in real browser environments.
Documentation & API
Installation
- Using npm: globally install the package.
- Using mcp-get: use
npx
to install. - Using Smithery: install Playwright MCP for Claude Desktop.
Testing
- The project uses Jest for testing, located in the
src/__tests__
directory. - Test commands are available to run with or without coverage.
Running evals
- The evals package can be used to run the MCP client without rebuilding.