MCPブラウザ自動化
これは、Playwright によるブラウジングの自動化を目的とした、モデルコンテキストプロトコルベースのサーバー実装を練習するためのデモプロジェクトです。Claude デスクトップクライアントと連携してユーザープロンプトを受け付け、サーバーを介してブラウザを制御します。
前提条件
建物
リポジトリをクローンします:
git clone https://github.com/hrmeetsingh/mcp-browser-automation.git
依存関係をインストール:
npm install
出力実行ファイルが
dist
フォルダに存在することを確認します
統合
~/Application\ Support/Claude/claude_desktop_config.json
に設定ファイルを作成します(これは macOS 用です)次の内容をファイルにコピーします。
Claudeデスクトップを起動
使用法
クロードデスクトップを開く
新しい会話を開始してブラウザを開き、URL に移動します
例
MCPサーバーオプションを追加しました
URL に移動して Playwright でアクションを実行する
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
Claude Desktop を介して対話し、ユーザー定義のプロンプトと操作を実行することで、Playwright を使用してブラウザー タスクの自動化を有効にします。
Related Resources
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 -128,2801
- AsecurityFlicenseAqualityEnables LLMs to perform browser automation through the Playwright framework with Chrome DevTools Protocol support, connecting to existing Chrome instances for advanced web interactions and JavaScript execution.Last updated -1235
- AsecurityAlicenseAqualityA browser automation server providing Playwright capabilities for controlling web browsers, capturing screenshots, extracting content, and performing complex interactions through an MCP interface.Last updated -6Apache 2.0
- -security-license-qualityA server that integrates Playwright with Cloudflare Workers to enable browser automation tasks through LLM models in AI platforms like Claude and Copilot.Last updated -461,346Apache 2.0
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