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.
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.
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 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.
The server is configured within the Claude config file, specifying the command and arguments to launch the MCP server.
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>
).
The project is licensed under the MIT License.
Automata-Labs-team/MCP-Server-Playwright
December 2, 2024
March 26, 2025
JavaScript