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
ディレクトリに生成されます。
スターの歴史
You must be authenticated.
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
- AsecurityAlicenseAqualityA Model Context Protocol server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.Last updated -139,4573,642TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.Last updated -3PythonApache 2.0
- -securityAlicense-qualityA Model Context Protocol server that allows LLMs to interact with web content through standardized tools, currently supporting web scraping functionality.Last updated -PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to automate web browsers using Puppeteer, allowing navigation, screenshots, form filling, and JavaScript execution in a real browser environment.Last updated -JavaScriptMIT License