# automatalabs/mcp-server-playwright [Health: Active]

**Category:** 📂 Browser Automation  
**Repository:** https://github.com/Automata-Labs-team/MCP-Server-Playwright  
**GitHub Stars:** 297  
**npm Downloads (last month):** 1275  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/automatalabs-mcp-server-playwright

## Description
An MCP server for browser automation using Playwright

## Tools
Capabilities this server exposes over MCP:

- **browser_navigate** — Navigate to a URL
- **browser_screenshot** — Take a screenshot of the current page or a specific element
- **browser_click** — Click an element on the page using CSS selector
- **browser_click_text** — Click an element on the page by its text content
- **browser_fill** — Fill out an input field
- **browser_select** — Select an element on the page with Select tag using CSS selector
- **browser_select_text** — Select an element on the page with Select tag by its text content
- **browser_hover** — Hover an element on the page using CSS selector
- **browser_hover_text** — Hover an element on the page by its text content
- **browser_evaluate** — Execute JavaScript in the browser console

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-server-playwright": {
    "command": "npx",
    "args": ["-y","@automatalabs/mcp-server-playwright"]
  }
}
```

## Documentation

## What automatalabs/mcp-server-playwright MCP server does

The automatalabs/mcp-server-playwright MCP server gives an MCP client access to browser automation through Playwright. It supports opening URLs, taking screenshots, clicking controls, hovering over page elements, entering form values, choosing options in HTML SELECT elements, and evaluating JavaScript in the browser.

Interaction tools accept either CSS selectors or visible text for several operations. This lets an agent target a known element such as `#submit-button`, or use text such as a button label when a selector is not available. Screenshots can cover the entire page or a selected element and are exposed through a screenshot resource after capture.

The server also provides browser console output through the `console://logs` resource. That can help an agent inspect messages produced while a page is running.

## How it works

The package runs as an MCP server over a local stdio configuration. An MCP client starts the package with `npx`, and the server exposes Playwright actions as named tools. Browser operations are performed in a real browser environment, while results such as captured images and console output are made available through MCP resources.

Available tools include `browser_navigate`, `browser_screenshot`, `browser_click`, `browser_click_text`, `browser_hover`, `browser_hover_text`, `browser_fill`, `browser_select`, `browser_select_text`, and `browser_evaluate`. Screenshot resources use the name supplied when the screenshot is created.

## Setup and configuration

The automatalabs/mcp-server-playwright MCP server requires Node.js with `npx` available on the system PATH. The documented client configuration starts the package with `npx -y @automatalabs/mcp-server-playwright`.

For Claude Desktop, the package installation flow can create or update the client configuration on Windows and macOS. The resulting MCP entry uses `npx` as the command and passes `-y` plus the npm package name as arguments. Cursor is also documented as a supported client. Its setup includes installing Playwright browsers with `npx playwright install` before adding the MCP server configuration.

The repository also documents installation through Smithery and mcp-get, but those are setup methods rather than the server process itself.

## Tools and capabilities

- Navigate to any URL with `browser_navigate`.
- Capture a full-page or element screenshot with `browser_screenshot`.
- Click or hover using CSS selectors or text content.
- Fill input fields and select HTML SELECT options.
- Run JavaScript through `browser_evaluate`.
- Read browser console messages from `console://logs`.
- Retrieve PNG screenshots through `screenshot://<n>` using the capture name.

## Limitations and notes

Those capabilities should not be assumed from this listing.

Selectors and text targets must identify the intended page elements. JavaScript passed to `browser_evaluate` runs in the browser context, so its behavior depends on the current page and its loaded state. The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/automatalabs-mcp-server-playwright/readme_

