MCP-Server-Playwright

This repository provides a Model Context Protocol (MCP) server leveraging Playwright for browser automation. It enables LLMs to interact with web pages, capture screenshots, and execute JavaScript within a real browser environment.

225
9

MCP Server Playwright

A Model Context Protocol (MCP) server providing browser automation via Playwright, enabling Large Language Models (LLMs) to interact with web pages. It allows LLMs to take screenshots and execute JavaScript within a real browser environment.

Features

Key features include full browser automation, screenshot capture (entire pages or specific elements), comprehensive web interaction (navigation, clicks, form filling), console log monitoring, and JavaScript execution in the browser context.

Installation

Installation can be done via Smithery or using npx or mcp-get. The installation process automatically configures the Claude config file with the necessary server settings.

Configuration

The server is configured within the Claude config file, specifying the command and arguments to launch the MCP server.

Components

The server provides various tools like browser_navigate, browser_screenshot, browser_click, browser_fill, and browser_evaluate for browser interaction. It also offers resources like console logs (accessible via console://logs) and screenshots (accessible via screenshot://<n>).

License

The project is licensed under the MIT License.

Repository

AU
Automata-Labs-team

Automata-Labs-team/MCP-Server-Playwright

Created

December 2, 2024

Updated

March 26, 2025

Language

JavaScript

Category

Developer Tools