MCP-Server-Playwright

MCP-Server-Playwright

BrowserAutomationPlaywrightJavascriptAutomationWebInteractionScreenshotJavascriptExecutionPythonGoRubyR

About This Server

MCP server for browser automation using Playwright. Enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.

Server Information

šŸ“‹ Overview:

This webpage is the GitHub repository for "MCP-Server-Playwright," a project by the Automata-Labs-team. It presents a Model Context Protocol (MCP) server designed to provide browser automation capabilities using Playwright. The server enables Large Language Models (LLMs) to interact with web pages, capture screenshots, and execute JavaScript within a real browser environment. The page provides details on the project's features, installation, configuration, and available components.


ā­ Key Points:
* MCP-Server-Playwright is a browser automation tool using Playwright.
* It facilitates LLM interaction with web pages.
* Key functions include navigation, screenshot capture, web interaction, console log monitoring, and JavaScript execution.
* Installation is supported via Smithery, npx, or mcp-get.

* The project is licensed under the MIT License.


šŸ” Main Findings:
* The MCP server uses Playwright to automate browser actions.
* The tool provides a set of functions to control and extract data from web pages.
* It is installed as a Node.js package and integrates with the Claude configuration.
* The repository contains a README file with project details and setup instructions.

* It supports features that are helpful for the integration of web browsing with other applications.


šŸ“Š Details:
* Features: Full browser automation, screenshot capture, web interaction, console logging, JavaScript execution.
* Installation:
* Using Smithery: `npx -y @smithery/cli install @automatalabs/mcp-server-playwright --client claude`
* Using npx: `npx @automatalabs/mcp-server-playwright install`
* Using mcp-get: `npx @michaellatman/mcp-get@latest install @automatalabs/mcp-server-playwright`
* Configuration: The installation process automatically updates the Claude config file with the necessary MCP server settings.
* Components (Tools):
* `browser_navigate`: Navigates the browser to a specified URL.
* `browser_screenshot`: Captures a screenshot of the entire page or a specific element.
* `browser_click`: Clicks on elements using a CSS selector.
* `browserclicktext`: Clicks elements based on their text content.
* `browser_hover`: Hovers over elements using a CSS selector.
* `browserhovertext`: Hovers over elements based on their text content.
* `browser_fill`: Fills out input fields.
* `browser_select`: Selects an option in a SELECT element using a CSS selector.
* `browserselecttext`: Selects an option in a SELECT element based on text content.
* `browser_evaluate`: Executes JavaScript code in the browser console.
* Resources:
* Console Logs (`console://logs`): Text-based console output from the browser.

* Screenshots (`screenshot://`): PNG images of captured screenshots.


šŸŽÆ Conclusion:
The MCP-Server-Playwright project is a tool designed to automate web browser interactions, primarily for use with LLMs. The project provides a set of instructions and functions to facilitate the development of interactive applications and integration with existing chatbot applications.

Server Features

Browser Automation

Full browser automation capabilities

Screenshot Capture

Screenshot capture of entire pages or specific elements

Web Interaction

Comprehensive web interaction (navigation, clicking, form filling)

Console Log Monitoring

Console log monitoring

JavaScript Execution

JavaScript execution in browser context

Provider Information

AutomataLabsTeam logo

AutomataLabsTeam

cloud Provider

Visit Provider Website

Quick Actions

Visit Website

MCP Configuration

Available Tools

browser_navigatebrowser_screenshotbrowser_clickbrowser_click_textbrowser_hoverbrowser_hover_textbrowser_fillbrowser_selectbrowser_select_textbrowser_evaluate