playwright-sse-mcp-server
@torohash
About playwright-sse-mcp-server
playwright/mcpをsseで外部から触るためのやつ
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"playwright-sse-mcp-server": {
"command": "docker",
"args": [
"network",
"create",
"mcp-network"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is playwright-sse-mcp-server?
playwright-sse-mcp-server provides Playwright as an MCP (Model Context Protocol) server, enabling MCP clients to use Playwright’s browser automation features. It runs inside a Docker container and is intended for developers who need browser control from MCP-compatible tools.
How to use playwright-sse-mcp-server?
Clone the repository and run docker compose up --build in the project root. The server starts on port 3002 by default; set the PORT environment variable for a custom port. Connect from other containers on the same Docker network via playwright-sse-mcp-server:<PORT>/sse, or from the host via localhost:<PORT>/sse. For Roo Code, configure the MCP settings with the SSE URL. Helper shell scripts (playwright-mcp-start, playwright-mcp-stop, playwright-mcp-logs) are provided for convenient control.
Key features of playwright-sse-mcp-server
- Playwright browser automation exposed via MCP SSE transport
- Docker‑based deployment with configurable port (default 3002)
- Connects from same Docker network, host, or development containers
- Shell scripts for start/stop/logs with persistent mode and restart policies
- Requires a pre‑existing Docker network named
mcp-network
Use cases of playwright-sse-mcp-server
- Use an MCP client like Roo Code to automate browser tasks
- Run headless Playwright inside a container for testing or scraping
- Integrate browser automation into MCP‑based workflows
FAQ from playwright-sse-mcp-server
What are the prerequisites for running the server?
Docker and docker‑compose must be installed. A Docker network named mcp-network must exist; if not, create it with docker network create mcp-network.
How do I connect from a development container not on mcp-network?
Use the host IP or special DNS name. On Docker Desktop (Mac/Windows) use host.docker.internal:<PORT>/sse. On Linux, use the host’s IP or the Docker bridge gateway (e.g., 172.17.0.1). The port must match the one published in compose.yml.
Does Cline support this server?
As of 2025/03/27, Cline does not support SSE, so it cannot be used with this server.
Can I change the default port?
Yes, set the environment variable PORT before starting the server. For example: PORT=4000 docker compose up --build.
What mode does Playwright run in?
The server runs Playwright in headless mode.
More Browser Automation MCP servers
Fetch MCP
jae-jaeMCP server for fetch web page content using Playwright headless browser.
Apify Model Context Protocol (MCP) Server
apifyThe Apify MCP server enables your AI agents to extract data from social media, search engines, maps, e-commerce sites, or any other website using thousands of ready-made scrapers, crawlers, and automation tools available on the Apify Store.
Yoyo
firecrawl🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
Fastcrw
usFast, lightweight Firecrawl/Tavily alternative in Rust. Web scraper, crawler & search API with MCP server for AI agents. Drop-in Firecrawl-compatible API (/scrape, /crawl, /search). 2.3x faster than Tavily, 1.5x faster than Firecrawl in 1K-URL benchmarks. 6 MB RAM, single binary.
Fetcher MCP
jae-jaeMCP server for fetch web page content using Playwright headless browser.
Comments