MCPブラウザ自動化
これは、Playwright によるブラウジングの自動化を目的とした、モデルコンテキストプロトコルベースのサーバー実装を練習するためのデモプロジェクトです。Claude デスクトップクライアントと連携してユーザープロンプトを受け付け、サーバーを介してブラウザを制御します。
前提条件
Related MCP server: MCP Playwright CDP
建物
リポジトリをクローンします:
git clone https://github.com/hrmeetsingh/mcp-browser-automation.git依存関係をインストール:
npm install出力実行ファイルが
distフォルダに存在することを確認します
統合
~/Application\ Support/Claude/claude_desktop_config.jsonに設定ファイルを作成します(これは macOS 用です)次の内容をファイルにコピーします。
{
"mcpServers": {
"mcp-browser-automation": {
"command": "node",
"args": ["/path/to/mcp-browser-automation/dist/index.js"]
}
}
}
Claudeデスクトップを起動
使用法
クロードデスクトップを開く
新しい会話を開始してブラウザを開き、URL に移動します
例
MCPサーバーオプションを追加しました

URL に移動して Playwright でアクションを実行する

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