mcp-playwright

mcp-playwright

4.6

mcp-playwright is hosted online, so all tools can be tested directly either in theTools tabor in theOnline Client.

If you are the rightful owner of mcp-playwright and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcpreview.com.

A Model Context Protocol server that provides browser automation capabilities using Playwright.

The Playwright MCP Server is a robust tool designed to facilitate browser automation through the Playwright framework. It allows Language Learning Models (LLMs) to interact with web pages, enabling functionalities such as taking screenshots, generating test code, web scraping, and executing JavaScript in a real browser environment. This server is particularly useful for developers and testers who need to automate web interactions and integrate these capabilities into their workflows. The server can be installed using npm, mcp-get, or Smithery, and is compatible with various platforms including VS Code and Claude Desktop.

Features

  • Browser Automation: Automates web interactions using Playwright.
  • Screenshot Capture: Takes screenshots of web pages for documentation or testing.
  • Test Code Generation: Generates test scripts for automated testing.
  • Web Scraping: Extracts data from web pages efficiently.
  • JavaScript Execution: Runs JavaScript in a real browser environment.

Usage with Different Platforms

npm

bash
npm install -g @executeautomation/playwright-mcp-server

mcp-get

bash
npx @michaellatman/mcp-get@latest install @executeautomation/playwright-mcp-server

Smithery

bash
npx @smithery/cli install @executeautomation/playwright-mcp-server --client claude

VS Code

bash
code --add-mcp '{"name":"playwright","command":"npx","args":["@executeautomation/playwright-mcp-server"]}'

VS Code Insiders

bash
code-insiders --add-mcp '{"name":"playwright","command":"npx","args":["@executeautomation/playwright-mcp-server"]}'