開発者向けAIターミナル「Warp」
Playwright MCP サーバー 🎭
Playwrightを用いたブラウザ自動化機能を提供するモデルコンテキストプロトコル(LLM)サーバー。このサーバーにより、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
ディレクトリに生成されます。
評価の実行
evalsパッケージはmcpクライアントをロードし、index.tsファイルを実行するため、テスト間で再構築する必要はありません。npxコマンドの先頭に環境変数をロードすることもできます。完全なドキュメントはこちらでご覧いただけます。
スターの歴史
You must be authenticated.
Tools
Playwright を用いたブラウザ自動化機能を提供するモデルコンテキストプロトコルサーバー。このサーバーにより、LLM はウェブページを操作したり、スクリーンショットを撮ったり、実際のブラウザ環境で JavaScript を実行したりできるようになります。
Related MCP Servers
- AsecurityFlicenseAqualityA server that enables browser automation using Playwright, allowing interaction with web pages, capturing screenshots, and executing JavaScript in a browser environment through LLMs.Last updated -129,4571TypeScript
- -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
- -securityFlicense-qualityA Model Context Protocol server that provides browser automation capabilities using BrowserCat's cloud browser service. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment without needing to install browsers locally.Last updated -39
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to interact with web pages, take screenshots, generate test code, scrape web pages, and execute JavaScript in a real browser environment.Last updated -29101TypeScriptMIT License
Appeared in Searches
- MCP EChart Information or Tool
- Clearbit tools for company data enrichment, prospecting, and website visitors analysis
- A tool for evaluating website quality and measuring key metrics (performance, accessibility, SEO, etc.)
- Design Resources and Prototyping Best Practices
- Understanding and Using the Browser Console