kasm-playwright-mcp

chrisae9/kasm-playwright-mcp

3.2

If you are the rightful owner of kasm-playwright-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Playwright MCP Server with KasmVNC allows users to run a headed Playwright browser on a headless remote server, providing a browser within a browser experience.

Playwright MCP Server with KasmVNC

Run headed Playwright browser MCP on a headless remote server. No need to install Playwright on your local machine.

Browser within a browser, enabled by KasmVNC. Perfect for environments where you cannot run Playwright MCP locally on the client. I've been using this to run opencode through WebSSH on my iPhone. This allows me to launch a Playwright browser and access it through my browser on iOS, bypassing the inability to run Playwright locally.

preview

Warning: This server is not security hardened. Do not expose it to the public internet. Only interact with the MCP server through localhost, port-forwarding, or a secure VPN (such as Tailscale).

Features

  • Headed Playwright browser automation through mcp server on port 8931
  • Accessible browser UI via KasmVNC on port 3000
  • Works with local/remote code editors (e.g., OpenCode, VSCode)

Usage

1. Start the MCP Server (Docker)

Start the server, mapping both the MCP server and the KasmVNC UI ports:

docker run --shm-size=2g -p 8931:8931 -p 3000:3000 ghcr.io/chrisae9/kasm-playwright-mcp:latest

This will run the Playwright MCP server in headed mode, listening on port 8931, and expose the KasmVNC UI on port 3000.

2. Access the Browser

  • Port forward localhost:3000 for external access to the KasmVNC UI.

3. Connect to Client

  • Port forward localhost:8391 for external access to the MCP server.

Note: Here I am using tailscale to connect to my server using MagicDNS

vscode