playwright/mcpをsseで外部から触るためのやつ
playwright/mcpをsseで外部から触るためのやつ. Exposed over MCP by the playwright mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
PlaywrightをMCP(Model Context Protocol)サーバーとして提供するためのサービスです。このサーバーを使用することで、MCPクライアントからPlaywrightの機能を利用することができます。
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Everything the assistant can do here goes through one of these:
mcp — networkという名前のDockerネットワークが作成されていることLinux — **playwright-mcp-start — デフォルト設定(ポート3002、再起動なし)でサーバーを起動playwright-mcp-stop — サーバーを停止playwright-mcp-logs — サーバーのログを表示PLAYWRIGHT_MCP_HOME — プロジェクトのインストールディレクトリ。設定されていない場合は、スクリプトの場所から自動的に検出されます。You will need one environment variable: PLAYWRIGHT_MCP_HOME. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Plenty of browser automation servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Playwright's toolset — mcp, Linux, playwright-mcp-start and 3 more — is a fair guide to whether it matches your workflow. It is maintained by torohash; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| mcp | networkという名前のDockerネットワークが作成されていること |
| Linux | ** |
| playwright-mcp-start | デフォルト設定(ポート3002、再起動なし)でサーバーを起動 |
| playwright-mcp-stop | サーバーを停止 |
| playwright-mcp-logs | サーバーのログを表示 |
| PLAYWRIGHT_MCP_HOME | プロジェクトのインストールディレクトリ。設定されていない場合は、スクリプトの場所から自動的に検出されます。 |
{
"mcpServers": {
"playwright-sse-mcp-server-local": {
"url": "http://localhost:${PORT}/sse"
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| PLAYWRIGHT_MCP_HOME | Configuration value read at startup. | Optional |
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
Industrial-strength web extraction — render, scrape, crawl and search entire sites into clean markdown.
The original Chromium automation reference server — simple, screenshot-driven browser control.
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Puppeteer-powered browser control that drives pages from the accessibility tree instead of pixels.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.