local-only server
The server can only run on the client’s local machine because it depends on local resources.
MCPブラウザ自動化
これは、Playwright によるブラウジングの自動化を目的とした、モデルコンテキストプロトコルベースのサーバー実装を練習するためのデモプロジェクトです。Claude デスクトップクライアントと連携してユーザープロンプトを受け付け、サーバーを介してブラウザを制御します。
前提条件
建物
- リポジトリをクローンします:
git clone https://github.com/hrmeetsingh/mcp-browser-automation.git
- 依存関係をインストール:
npm install
- 出力実行ファイルが
dist
フォルダに存在することを確認します
統合
~/Application\ Support/Claude/claude_desktop_config.json
に設定ファイルを作成します(これは macOS 用です)- 次の内容をファイルにコピーします。
Copy
- Claudeデスクトップを起動
使用法
- クロードデスクトップを開く
- 新しい会話を開始してブラウザを開き、URL に移動します
例
- MCPサーバーオプションを追加しました
- URL に移動して Playwright でアクションを実行する
You must be authenticated.
Tools
Claude Desktop を介して対話し、ユーザー定義のプロンプトと操作を実行することで、Playwright を使用してブラウザー タスクの自動化を有効にします。
Related Resources
Appeared in Searches
- Methods for Parsing Emails
- Tools and techniques for scraping website data, creating event calendars, and building YouTube playlists
- A server for finding gaming-related content
- Understanding File System Operations: Read, Write, and Edit Directories
- How to generate theme colors and download fonts in Figma