
blackwhite084/playwright-plus-python-mcp
Browser automationこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
blackwhite084/playwright-plus-python-mcp は、https://github.com/blackwhite084/playwright-plus-python-mcp. からインポートされたMCPサーバー候補です。
概要
blackwhite084/playwright-plus-python-mcp は、https://github.com/blackwhite084/playwright-plus-python-mcp. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
\劇作家ツールを備えたMCPサーバー\
構成要素
リソース
サーバーは以下のシンプルなノート保存システムを実装しています:
- 個々のノートにアクセスするためのカスタム note:// URI方式
- 各ノートリソースには名前、説明、テキスト/プレーンミメタイプが割り当てられています
プロンプト
サーバーは単一のプロンプトを提供します:
- 要約ノート:保存されたすべてのノートの要約を作成します
- 詳細レベル(簡潔/詳細)制御のためのオプションの「スタイル」引数
- 現在のすべてのノートをスタイルの好みで組み合わせてプロンプトを生成する
道具
サーバーは以下のツールを実装しています:
playwright_navigate:指定されたURLへナビゲートします。この操作はアクティブなセッションがなければ自動的に新しいセッションを作成します。urlの引数(文字列)が必要です。playwright_screenshot:現在のページや特定の要素のスクリーンショットを撮影します。- スクリーンショットファイル名に対して
name引数(文字列)が必要です。 - オプションの
selector引数(文字列)で、スクリーンショットする要素のCSSセレクタを指定します。セレクタがない場合は、全ページのスクリーンショットが撮影されます。 playwright_click:CSSセレクターを使ってページの要素をクリックします。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
playwright-server MCP server
\A MCP server with playwright tools\
Components
Resources
The server implements a simple note storage system with:
- Custom note:// URI scheme for accessing individual notes
- Each note resource has a name, description and text/plain mimetype
Prompts
The server provides a single prompt:
- summarize-notes: Creates summaries of all stored notes
- Optional “style” argument to control detail level (brief/detailed)
- Generates prompt combining all current notes with style preference
Tools
The server implements the following tools:
playwright_navigate: Navigates to a specified URL. This operation will automatically create a new session if there is no active session.- Requires a
urlargument (string).
- Requires a
playwright_screenshot: Takes a screenshot of the current page or a specific element.- Requires a
nameargument (string) for the screenshot file name. - Optional
selectorargument (string) to specify a CSS selector for the element to screenshot. If no selector is provided, a full-page screenshot is taken.
- Requires a
playwright_click: Clicks an element on the page using a CSS selector.- Requires a
selectorargument (string) to specify the CSS selector for the element to click.
- Requires a
playwright_fill: Fills out an input field.- Requires a
selectorargument (string) to specify the CSS selector for the input field. - Requires a
valueargument (string) to specify the value to fill.
- Requires a
playwright_evaluate: Executes JavaScript code in the browser console.- Requires a
scriptargument (string) to specify the JavaScript code to execute.
- Requires a
playwright_click_text: Clicks an element on the page by its text content.- Requires a
textargument (string) to specify the text content of the element to click.
- Requires a
playwright_get_text_content: Get the text content of all visiable elements.playwright_get_html_content: Get the HTML content of the page.- Requires a
selectorargument (string) to specify the CSS selector for the element.
- Requires a
Configuration
[TODO: Add configuration details specific to your implementation]
Quickstart
Install
Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
"mcpServers": {
"playwright-server": {
"command": "uvx",
"args": [
インストール
uvx playwright-server