SM

saik0s/mcp-browser-use

Browser automation

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

972 stars 110 forks 品質 67 トレンド 22MIT

AIアシスタントがウェブブラウザを制御する力を持つMCPサーバー。

概要

AIアシスタントがウェブブラウザを制御する力を持つMCPサーバー。 これによりブラウザ利用はMCPサーバーとして機能し、Claude(または他のMCPクライアント)が実際のブラウザを自動化し、ページのナビゲーション、フォームの入力、ボタンのクリック、データ抽出などが可能になります。 ブラウザの自動化タスクは30〜120+秒かかります。標準的なMCPの標準トランスポートは、長時間実行中の操作でタイムアウトの問題があり、タスク中に接続が切断されます。これは、持続的なデーモンとして実行され、時間の長さに関係なくリクエストを確実に処理することで、 自動セットアップ用のClaude Codeプラグインとしてインストールする方法: プラグインは自動的に: - 初回実行時にPlaywrightブラウザをインストールする - Claudeコードが起動したときにHTTPデーモンを起動 - MCPサーバーをClaudeに登録する (ブラウザエージェントはアクションを決定するためにLLMが必要です): それだけです!Claudeは今やブラウザの自動化ツールを使えます。 他のMCPクライアントやスタンドアロン用途:

概要(AI 翻訳)

AIアシスタントがウェブブラウザを制御する力を持つMCPサーバー。


目次

  • これは何?
  • 設置
  • ウェブUI
  • ウェブダッシュボード
  • 構成
  • CLIリファレンス
  • MCPツール
  • ディープリサーチ
  • 観測可能性
  • スキルシステム
  • REST API参照
  • 建築
  • ライセンス

これは何だ?

これによりブラウザ利用はMCPサーバーとして機能し、Claude(または他のMCPクライアント)が実際のブラウザを自動化し、ページのナビゲーション、フォームの入力、ボタンのクリック、データ抽出などが可能になります。

なぜstdioではなくHTTPなのですか?

ブラウザの自動化タスクは30〜120+秒かかります。標準的なMCPのスタンディオトランスポートは、長時間実行中の操作でタイムアウト問題があり、タスク中に接続が切断されます。**HTTPトランスポートは、持続的なデーモンとして動作し、時間の長さに関係なくリクエストを確実に処理することでこれを解決します。


設置

Claude Code プラグイン(推奨)

自動セットアップ用のClaude Codeプラグインとしてインストールする方法:

プラグインは自動的に:

  • Playwrightブラウザを初回実行時にインストール
  • Claude Codeが起動したときにHTTPデーモンを起動します
  • MCPサーバーをClaudeに登録する

APIキーを設定してください(ブラウザエージェントはアクションを決定するためにLLMが必要です):

それだけです!Claudeは今やブラウザの自動化ツールを使えます。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

mcp-server-browser-use

MCP server that gives AI assistants the power to control a web browser.


Table of Contents


What is this?

This wraps browser-use as an MCP server, letting Claude (or any MCP client) automate a real browser—navigate pages, fill forms, click buttons, extract data, and more.

Why HTTP instead of stdio?

Browser automation tasks take 30-120+ seconds. The standard MCP stdio transport has timeout issues with long-running operations—connections drop mid-task. HTTP transport solves this by running as a persistent daemon that handles requests reliably regardless of duration.


Installation

Install as a Claude Code plugin for automatic setup:

# Install the plugin
/plugin install browser-use/mcp-browser-use

The plugin automatically:

  • Installs Playwright browsers on first run
  • Starts the HTTP daemon when Claude Code starts
  • Registers the MCP server with Claude

Set your API key (the browser agent needs an LLM to decide actions):

# Set API key (environment variable - recommended)
export GEMINI_API_KEY=your-key-here

# Or use config file
mcp-server-browser-use config set -k llm.api_key -v your-key-here

That’s it! Claude can now use browser automation tools.

Manual Installation

For other MCP clients or standalone use:

# Clone and install
git clone https://github.com/Saik0s/mcp-browser-use.git
cd mcp-server-browser-use
uv sync

# Install browser
uv run playwright install chromium

# Start the server
uv run mcp-server-browser-use server

Add to Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "browser-use": {
      "type": "streamable-http",
      "url": "http://localhost:8383/mcp"
    }
  }
}

For MCP clients that don’t support HTTP transport, use mcp-remote as a proxy:

{
  "mcpServers": {
    "browser-use": {
      "command": "npx",
      "args": ["mcp-remote", "http://localhost:8383/mcp"]
    }
  }
}

Web UI

Access the task viewer at http://localhost:8383 when the daemon is running.

Features:

  • Real-time task list with status and progress
  • Task details with execution logs
  • Server health status and uptime
  • Running tasks monitoring

The web UI provides visibility into browser automation tasks without requiring CLI commands.


Web Dashboard

GitHub で README 全文を見る

インストール

npx mcp-remote http://localhost:8383/mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "browser-use": { "type": "streamable-http", "url": "http://localhost:8383/mcp" } } }