Skip to main content
Glama

MCPブラウザ自動化

これは、Playwright によるブラウジングの自動化を目的とした、モデルコンテキストプロトコルベースのサーバー実装を練習するためのデモプロジェクトです。Claude デスクトップクライアントと連携してユーザープロンプトを受け付け、サーバーを介してブラウザを制御します。

前提条件

Related MCP server: MCP Playwright CDP

建物

  1. リポジトリをクローンします: git clone https://github.com/hrmeetsingh/mcp-browser-automation.git

  2. 依存関係をインストール: npm install

  3. 出力実行ファイルがdistフォルダに存在することを確認します

統合

  1. ~/Application\ Support/Claude/claude_desktop_config.jsonに設定ファイルを作成します(これは macOS 用です)

  2. 次の内容をファイルにコピーします。

{ "mcpServers": { "mcp-browser-automation": { "command": "node", "args": ["/path/to/mcp-browser-automation/dist/index.js"] } } }
  1. Claudeデスクトップを起動

使用法

  1. クロードデスクトップを開く

  2. 新しい会話を開始してブラウザを開き、URL に移動します

  • MCPサーバーオプションを追加しましたMCPサーバーオプションを追加しました

  • URL に移動して Playwright でアクションを実行するURLに移動してテキストを入力する

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hrmeetsingh/mcp-browser-automation'

If you have feedback or need assistance with the MCP directory API, please join our Discord server