Automata-Labs-team_MCP-Server-Playwright

Automata-Labs-team_MCP-Server-Playwright

3.4

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

MCP Server Playwright is a robust Model Context Protocol server designed to enable Language Learning Models (LLMs) to interact with web pages in a real browser environment. It leverages Playwright to provide full browser automation capabilities, allowing LLMs to navigate web pages, take screenshots, and execute JavaScript. This server is particularly useful for tasks that require interaction with web content, such as form filling, clicking, and monitoring console logs. It is a powerful tool for developers looking to integrate browser automation into their applications, providing a seamless interface for web interactions.

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

  • playwright_navigate: Navigate to any URL in the browser
  • playwright_screenshot: Capture screenshots of the entire page or specific elements
  • playwright_click: Click elements on the page using CSS selector
  • playwright_hover: Hover over elements on the page using CSS selector
  • playwright_fill: Fill out input fields

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

Smithery

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

npx

bash
npx @automatalabs/mcp-server-playwright install

mcp-get

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