mcp-playwright-webx11
by xtr-dev
Overview
Automated web browser control and interaction through a Model Context Protocol (MCP) server, accessible via a web browser (noVNC) or programmatically via SSE/stdio.
Installation
docker compose up -d playwright-displayEnvironment Variables
- SCREEN_WIDTH
- SCREEN_HEIGHT
- SCREEN_DEPTH
- MCP_PORT
- MCP_BROWSER
- PLAYWRIGHT_SSE_URL
Security Notes
The Playwright Chromium browser runs with `--no-sandbox` inside the Docker container. This is a significant security risk as it disables a crucial security layer, making the container vulnerable to root privilege escalation if an exploit escapes the browser sandbox. The `--allowed-hosts "*"` for the MCP server also broadens the potential attack surface, although it's typically contained within the Docker network. It is not recommended to expose this server directly to untrusted networks.
Similar Servers
playwright-mcp
Provides a Model Context Protocol (MCP) server for LLMs to automate browser interactions using Playwright's accessibility tree, avoiding pixel-based vision models.
fetcher-mcp
This MCP server is designed for fetching web page content using a Playwright headless browser, enabling intelligent content extraction, JavaScript execution, and flexible output formats.
verdex-mcp
AI-first browser automation for Playwright test authoring, enabling AI coding assistants to generate robust, container-scoped, and content-filtered Playwright selectors for end-to-end tests.
playwright-mcp-server
Provides a robust, token-aware Playwright browser automation server for Large Language Models (LLMs) and coding agents to interact with web content, supporting advanced features like anti-detection and multi-page management.