コンソールとネットワークログ Playwright MCP サーバー
このMCP(モデルコンテキストプロトコル)サーバーは、Playwrightを使用してブラウザを開き、コンソールログを監視し、ネットワークリクエストを追跡します。これらの機能は、MCPクライアントが使用できるツールとして公開されます。
特徴
- 指定されたURLでブラウザを開く
- コンソールログの監視と取得
- ネットワークリクエストの追跡と取得
- 完了したらブラウザを閉じます
要件
- Python 3.8以上
- 劇作家
- モデルコンテキストプロトコル (MCP) Python SDK
クロードでの設置
ファイルを編集します: ~/Library/Application\ Support/Claude/claude_desktop_config.json
これを追加します:
( /ABSOLUTE/PATH/TO/playwrightdebugger/
リポジトリをクローンしたディレクトリへの絶対パスに置き換えます)
コマンド
localhost:3000/dashboard を開き、コンソールログとネットワークリクエストを確認します。
ブラウザを閉じる
仕組み
サーバーはPlaywrightのイベントリスナーを使用して、コンソールメッセージとネットワークアクティビティをキャプチャします。クライアントがこの情報を要求すると、サーバーはLLMで使用できる構造化された形式で情報を返します。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
ブラウザを開いてコンソール ログとネットワーク要求を監視および取得し、Web ページの動作に関する構造化データを LLM に提供します。
Related MCP Servers
- AsecurityAlicenseAqualityThis server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.Last updated -154,163JavaScriptMIT License
- AsecurityFlicenseAqualityEnables browser automation for LLMs on Linux display servers, supporting web interaction, screenshots, and JavaScript execution in a real browser.Last updated -754JavaScript
- AsecurityFlicenseAqualityA server that helps discover and analyze websites implementing the llms.txt standard, allowing users to check if websites have llms.txt files and list known compliant websites.Last updated -2244JavaScript
- -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