Playwright MCP Server

playwright/mcpをsseで外部から触るためのやつ

Local serverstdio

What is the Playwright MCP Server?

playwright/mcpをsseで外部から触るためのやつ

What it actually does

PlaywrightをMCP(Model Context Protocol)サーバーとして提供するためのサービスです。このサーバーを使用することで、MCPクライアントからPlaywrightの機能を利用することができます。

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
mcpnetworkという名前のDockerネットワークが作成されていること
playwright-mcp-startデフォルト設定(ポート3002、再起動なし)でサーバーを起動
playwright-mcp-stopサーバーを停止
playwright-mcp-logsサーバーのログを表示

How to install the Playwright MCP Server

{
  "mcpServers": {
    "playwright-sse-mcp-server-local": {
      "url": "http://localhost:${PORT}/sse"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
PLAYWRIGHT_MCP_HOMEConfiguration value read at startup.Optional

Example prompts to try

  • “Use Playwright to mcp.”
  • “Use Playwright to Linux.”
  • “Use Playwright to playwright-mcp-start.”

Frequently asked questions

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`.