# Mcp-Server-Playwright

Mcp-Server-Playwright is a self-hosted ai app. A Model Context Protocol (MCP) server that lets LLMs automate web browsing through Playwright using structured accessibility snapshots rather than screenshots. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5943/mcp-server-playwright

## Description

A Model Context Protocol (MCP) server that lets LLMs automate web browsing through Playwright using structured accessibility snapshots rather than screenshots.

## Platform availability

Available on 0 of 10 platforms.

## Health score

84/100 (Excellent), based on 4 of 5 factors.
- Maintained: 100 (last commit 3 days ago)
- Popular: 92 (39,902 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 100 (no serious findings, CI, tests)

## Links

- GitHub: https://github.com/microsoft/playwright-mcp
- Docker Hub: https://hub.docker.com/r/acuvity/mcp-server-playwright

## Common questions

### How do I configure the Playwright MCP server in an MCP client?

Add an mcpServers entry with command npx and args @playwright/mcp@latest. This standard config works in most MCP clients.

### What browser connection and deployment modes does the Playwright MCP server support?

It supports standalone mode, extension mode, and Docker deployment. Standalone mode launches and controls browser instances, while extension mode connects to existing browser tabs.

### What common areas should I check when Playwright MCP fails?

Check Node, browser installs, configuration, ports, and environment issues.

### Does the server need screenshots or a vision model?

No. It uses Playwright's accessibility tree rather than pixel-based input and operates on structured data.

---
Source: Our Local Host (https://ourlocalhost.com/app/5943/mcp-server-playwright), the self-hosted and open-source app directory.
