Playwright MCP サーバー 🎭
Playwrightを用いたブラウザ自動化機能を提供するモデルコンテキストプロトコルサーバー。このサーバーにより、LLMはWebページとのインタラクション、スクリーンショットの取得、テストコードの生成、ページのWebスクレイピング、そして実際のブラウザ環境でのJavaScript実行が可能になります。
スクリーンショット
ドキュメント| APIリファレンス
インストール
npm、mcp-get、Smithery のいずれかを使用してパッケージをインストールできます。
npm を使用する場合:
mcp-get の使用:
鍛冶屋を使う
Smithery経由で Claude Desktop 用の Playwright MCP を自動的にインストールするには:
VS Codeでのインストール
次のいずれかのボタンを使用して、VS Code に Playwright MCP サーバーをインストールします。
あるいは、VS Code CLI を使用して Playwright MCP サーバーをインストールすることもできます。
インストール後、ExecuteAutomation Playwright MCP サーバーを VS Code の GitHub Copilot エージェントで使用できるようになります。
Playwright Serverを使用するための設定
Playwright サーバーを使用するための Claude Desktop の構成は次のとおりです。
テスト
このプロジェクトではテストにJestを使用しています。テストはsrc/__tests__
ディレクトリにあります。
テストの実行
次のいずれかのコマンドを使用してテストを実行できます。
テスト カバレッジ レポートは、 coverage
ディレクトリに生成されます。
スターの歴史
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
LLM が Web ページと対話し、スクリーンショットを撮り、テスト コードを生成し、Web ページをスクレイピングし、実際のブラウザー環境で JavaScript を実行できるようにするモデル コンテキスト プロトコル サーバー。
Related Resources
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that allows LLMs to interact with web content through standardized tools, currently supporting web scraping functionality.Last updated -1MIT License
Playwright MCP Serverofficial
AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.Last updated -24461,34620,004Apache 2.0- AsecurityFlicenseAqualityA Model Context Protocol server that enables LLMs to fetch and process web content in multiple formats (HTML, JSON, Markdown, text) with automatic format detection.Last updated -54
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots, providing browser automation capabilities without requiring screenshots or visually-tuned models.Last updated -2Apache 2.0