Skip to main content
Glama

browser-use MCP Server

by co-browser

ブラウザ使用MCPサーバー

AI エージェントがbrowser-useを使用して Web ブラウザーを制御できるようにする MCP サーバー。

🔗 複数のMCPサーバーを管理していますか?エージェントブラウザで開発ワークフローを簡素化しましょう

前提条件

  • uv - 高速な Python パッケージ マネージャー
  • Playwright - ブラウザ自動化
  • mcp-proxy - stdio モードに必要
# Install prerequisites curl -LsSf https://astral.sh/uv/install.sh | sh uv tool install mcp-proxy uv tool update-shell

環境

.envファイルを作成します。

OPENAI_API_KEY=your-api-key CHROME_PATH=optional/path/to/chrome PATIENT=false # Set to true if API calls should wait for task completion

インストール

# Install dependencies uv sync uv pip install playwright uv run playwright install --with-deps --no-shell chromium

使用法

SSEモード

# Run directly from source uv run server --port 8000

stdioモード

# 1. Build and install globally uv build uv tool uninstall browser-use-mcp-server 2>/dev/null || true uv tool install dist/browser_use_mcp_server-*.whl # 2. Run with stdio transport browser-use-mcp-server run server --port 8000 --stdio --proxy-port 9000

クライアント構成

SSEモードクライアント構成

{ "mcpServers": { "browser-use-mcp-server": { "url": "http://localhost:8000/sse" } } }

stdioモードクライアント構成

{ "mcpServers": { "browser-server": { "command": "browser-use-mcp-server", "args": [ "run", "server", "--port", "8000", "--stdio", "--proxy-port", "9000" ], "env": { "OPENAI_API_KEY": "your-api-key" } } } }

設定場所

クライアント構成パス
カーソル./.cursor/mcp.json
ウィンドサーフィン~/.codeium/windsurf/mcp_config.json
クロード(マック)~/Library/Application Support/Claude/claude_desktop_config.json
クロード(Windows)%APPDATA%\Claude\claude_desktop_config.json

特徴

  • [x]ブラウザ自動化:AIエージェントによるブラウザ制御
  • [x]デュアルトランスポート: SSEとstdioプロトコルの両方をサポート
  • [x] VNCストリーミング:ブラウザの自動化をリアルタイムで見る
  • [x]非同期タスク:ブラウザ操作を非同期に実行する

地域開発

パッケージをローカルで開発およびテストするには:

  1. 配布可能なホイールを構築する:
    # From the project root directory uv build
  2. グローバル ツールとしてインストールします。
    uv tool uninstall browser-use-mcp-server 2>/dev/null || true uv tool install dist/browser_use_mcp_server-*.whl
  3. 任意のディレクトリから実行します:
    # Set your OpenAI API key for the current session export OPENAI_API_KEY=your-api-key-here # Or provide it inline for a one-time run OPENAI_API_KEY=your-api-key-here browser-use-mcp-server run server --port 8000 --stdio --proxy-port 9000
  4. 変更を加えた後、再構築して再インストールします。
    uv build uv tool uninstall browser-use-mcp-server uv tool install dist/browser_use_mcp_server-*.whl

ドッカー

Docker を使用すると、サーバーを実行するための一貫性のある分離された環境が提供されます。

# Build the Docker image docker build -t browser-use-mcp-server . # Run the container with the default VNC password ("browser-use") # --rm ensures the container is automatically removed when it stops # -p 8000:8000 maps the server port # -p 5900:5900 maps the VNC port docker run --rm -p8000:8000 -p5900:5900 browser-use-mcp-server # Run with a custom VNC password read from a file # Create a file (e.g., vnc_password.txt) containing only your desired password echo "your-secure-password" > vnc_password.txt # Mount the password file as a secret inside the container docker run --rm -p8000:8000 -p5900:5900 \ -v $(pwd)/vnc_password.txt:/run/secrets/vnc_password:ro \ browser-use-mcp-server

注: ボリュームマウント ( -v ) の:roフラグにより、コンテナ内のパスワード ファイルが読み取り専用になり、セキュリティが強化されます。

VNCビューア

# Browser-based viewer git clone https://github.com/novnc/noVNC cd noVNC ./utils/novnc_proxy --vnc localhost:5900

デフォルトのパスワード: browser-use (カスタム パスワード メソッドを使用して上書きされない限り)

AIに聞いてみてください:

open https://news.ycombinator.com and return the top ranked article

サポート

問題やお問い合わせについては、 cobrowser.xyz までお問い合わせください

スターの歴史

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

AI アシスタントが自然言語コマンドを通じて Web ブラウザを制御し、Web サイトをナビゲートして SSE トランスポート経由で情報を抽出できるようにする MCP サーバー。

  1. 前提条件
    1. 環境
      1. インストール
        1. 使用法
          1. SSEモード
          2. stdioモード
        2. クライアント構成
          1. SSEモードクライアント構成
          2. stdioモードクライアント構成
          3. 設定場所
        3. 特徴
          1. 地域開発
            1. ドッカー
              1. VNCビューア
              1. サポート
                1. スターの歴史

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    An MCP server that helps AI assistants access text content from websites that implement bot detection, bridging the gap between what you can see in your browser and what the AI can access.
                    Last updated -
                    1
                    Python
                    Apache 2.0
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server that enables AI assistants to access and interact with Google Classroom data, allowing users to view courses, course details, and assignments through natural language commands.
                    Last updated -
                    508
                    1
                    JavaScript
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.
                    Last updated -
                    1
                    Python
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A MCP server that allows AI assistants to interact with the browser, including getting page content as markdown, modifying page styles, and searching browser history.
                    Last updated -
                    5
                    TypeScript

                  View all related MCP servers

                  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/co-browser/browser-use-mcp-server'

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