Skip to main content
Glama
browser-use-native-windows

browser-use-native-windows

by mlnima

browser-use-native-windows

Windows専用のMCPサーバー。ネイティブスクリーンショット、Windowsアクセシビリティ、node-interceptionによるマウス/キーボード入力を使用して、実際のChromiumブラウザを制御します。

CDP、Chrome DevTools、Playwright、Puppeteer、ブラウザ拡張機能、DOMセレクター、DOMスナップショット、ページJavaScript評価は使用しません。

すべての観測で、ブラウザウィンドウ、モニター、物理解像度、モニターのスケーリング、ウィンドウ位置を再検出します。ネイティブマウス入力の前にウィンドウとモニターのジオメトリが再度検証され、リサイズやスケーリングの変更により観測が無効化されるため、クライアントはアクションを実行する前に新しいスクリーンショットを観測する必要があります。

要件

  • Windows

  • Node.js 20+

  • Chromiumベースのブラウザ: Edge、Chrome、Brave、Chromium、Vivaldi、Opera、Yandex

  • node-interceptionドライバー

管理者ターミナルからネイティブ入力パッケージとドライバーをインストールします:

npm install -g node-interception
node-interception /install

ドライバーインストール後にWindowsを再起動してください。

Related MCP server: windows-computer-use-mcp

インストール

ソースから:

npm install
npm run build

このパッケージルートからのオプションのグローバルインストール:

npm install -g .

設定

MCPは最初にシステム環境変数を読み取ります。このREADMEの隣に.envファイルが存在する場合、フォールバックとして読み込まれます。.envがない場合、MCPは通常通り起動します。

固定のHTTPまたはブラウザ設定が必要な場合は、.env.exampleから.envを作成します:

BROWSER_USE_NATIVE_WINDOWS_SSE_HOST= "0.0.0.0"
BROWSER_USE_NATIVE_WINDOWS_SSE_PORT= "7331"
BROWSER_USE_NATIVE_WINDOWS_SSE_AUTH= "change.me"
BROWSER_USE_NATIVE_WINDOWS_BROWSER_EXECUTABLE_PATH= "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
BROWSER_USE_NATIVE_WINDOWS_BROWSER_USER_DATA_DIR= "C:\Users\YOUR_USER\AppData\Local\Microsoft\Edge\User Data"

マシンの外部にHTTPを公開する前に、BROWSER_USE_NATIVE_WINDOWS_SSE_AUTHを変更してください。

実行

Stdioトランスポート:

npm run start:stdio

/mcpでのストリーミング可能HTTP:

npm run start:mcp

/sseでのレガシーHTTP+SSE、/messagesでのPOSTメッセージ:

npm run start:sse

両方のネットワークトランスポート:

npm run start:all

グローバルインストール:

browser-use-native-windows
browser-use-native-windows --transport mcp
browser-use-native-windows --transport sse
browser-use-native-windows --transport all

デフォルトのネットワークホストは0.0.0.0であるため、/mcpと/sseはlocalhostおよびこのコンピューターのLANアドレスを介した接続を受け入れます。すべてのネットワークエンドポイントでBearer認証が必要です。

MCPクライアント

Stdio:

{
  "mcpServers": {
    "browser-use-native-windows": {
      "transport": "stdio",
      "command": "node",
      "args": ["<package-root>\\dist\\index.js"],
      "cwd": "<package-root>"
    }
  }
}

Codexストリーミング可能HTTP:

[mcp_servers.browser_use_native_windows]
url = "http://<host>:7331/mcp"
http_headers = { "Authorization" = "Bearer change.me" }

SSE互換性:

{
  "mcpServers": {
    "browser-use-native-windows": {
      "transport": "sse",
      "url": "http://<host>:7331/sse",
      "headers": {
        "Authorization": "Bearer change.me"
      }
    }
  }
}

ツール

  • browser_observe: ブラウザを起動または採用し、ネイティブ観測を返します。

  • browser_act: 新しい観測トークンに対して、1つのマウスまたはキーボードアクションを実行します。

  • browser_status: トランスポート、ドライバー、ブラウザ、ウィンドウ、フォーカス、モニター、DPI、観測状態を返します。

  • browser_stop: 保持されている入力状態を解放し、オプションで追跡中のブラウザを閉じます。

強制停止

デフォルトのグローバルホットキー:

Control+F12

ウォッチドッグは保持されているキーとマウスボタンを解放し、MCPプロセスを停止します。

Available Tools

4 tools
browser_actAct In BrowserB

Run one native mouse or keyboard action against a matching fresh browser_observe token.

Inputs: observationToken (required), action (required).

browser_observeObserve BrowserC

Launch or adopt a Windows browser, optionally handle a target URL through native UI, and return a browser-window or browser-owned file-dialog observation.

Inputs: targetUrl, inlineImage.

browser_statusBrowser StatusB

Return MCP transport, native input driver, browser process, HWND, monitor, DPI, focus, and observation state.

Inputs: no named parameters.

browser_stopStop Browser ControlA

Release held native input state and optionally close the tracked browser only when the user task asks for it.

Inputs: closeBrowser.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct role: browser_observe for launching/adopting and getting observation, browser_act for performing actions, browser_status for checking state, and browser_stop for cleanup. No overlap in purpose.

    Naming Consistency5/5

    All tool names follow a consistent 'browser_' prefix followed by a single verb (observe, act, status, stop), all lowercase, with no mixing of conventions.

    Tool Count5/5

    Four tools is exactly right for this domain: observe, act, status, and stop cover the essential lifecycle without unnecessary extras. Not too few, not too many.

    Completeness5/5

    The tool set covers the full lifecycle of native browser interaction: initialization (browser_observe), action (browser_act), monitoring (browser_status), and termination (browser_stop). No obvious gaps.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A standalone MCP server for Windows desktop control, enabling screenshots, mouse and keyboard input, app launch, window/display management, and clipboard access via natural language.
      5
      MIT
    • F
      license
      B
      quality
      C
      maintenance
      A local, dependency-free MCP server that gives AI agents controlled access to the active Windows desktop, enabling automated interaction with applications through screenshots, clicks, typing, and window management.
      8
      1
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      This MCP server enables an AI agent to control a Windows PC through human-like interactions such as screen capture, OCR, mouse, keyboard, and navigation, without using shortcut APIs.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server that enables AI agents to control Windows by clicking, typing, and navigating with a visible cursor overlay, using a layered approach (native UIA, browser CDP, pixel fallback) for reliable interaction.
      1
      -