Skip to main content
Glama
hiphopanda

windows-computer-use-mcp

by hiphopanda

Windows Computer Use MCP Server

English | 中文

MCP(Model Context Protocol)プロトコルに基づくWindowsデスクトップ自動化サーバー。マウス、キーボード、スクリーンショット、クリップボードを制御し、アプリケーションと連携します。すべてMCPプロトコルを通じて行えます。

注意: このサーバーはWindowsでのみ動作します。

機能

  • スクリーンショット — 全画面または指定領域をbase64 PNGとしてキャプチャ

  • マウス操作 — 移動、クリック、ダブルクリック、右クリック、ドラッグ、スクロール

  • キーボード入力 — テキスト入力、キーコンビネーション、キーの長押し

  • カーソル位置 — 現在のカーソル座標を取得

  • クリップボード — クリップボードのテキストを読み書き

  • アプリケーション管理 — 実行中のアプリの一覧、最前面アプリの取得、アプリの起動

  • ディスプレイ情報 — 接続されているディスプレイと解像度の一覧

Related MCP server: desktop-touch-mcp

ツール

ツール

説明

screenshot

現在の画面のスクリーンショットを撮影

zoom

指定領域のスクリーンショットを撮影

mouse_move

マウスカーソルを座標に移動

left_click

指定座標または現在位置で左クリック

right_click

指定座標で右クリック

double_click

指定座標でダブルクリック

left_click_drag

クリックしたまま別の地点までドラッグ

scroll

マウスホイールをスクロール

type

テキスト文字列を入力

key

キーコンビネーションを押す(例:ctrl+c、alt+f4)

hold_key

キーを一定時間長押し

cursor_position

現在のカーソル位置を取得

list_running_applications

表示中のウィンドウを持つ実行中アプリをすべて一覧表示

get_frontmost_application

現在フォーカスされているアプリを取得

open_application

名前またはパスでアプリを起動

list_displays

接続されているディスプレイを一覧表示

read_clipboard

クリップボードのテキストを読み取り

write_clipboard

クリップボードにテキストを書き込み

インストール

前提条件

  • Bun >= 1.3.11

  • Windows 10/11

npmでのインストール

npm install -g windows-computer-use-mcp

npxでの実行(インストール不要)

npx windows-computer-use-mcp

ソースからビルド

git clone https://github.com/hiphopanda/windows-computer-use-mcp.git
cd windows-computer-use-mcp
bun install
bun run build

設定

MCPクライアント設定に追加します(例:Claude Desktop):

{
  "mcpServers": {
    "computer-use": {
      "type": "stdio",
      "command": "npx",
      "args": ["windows-computer-use-mcp"]
    }
  }
}

またはグローバルインストールした場合:

{
  "mcpServers": {
    "computer-use": {
      "type": "stdio",
      "command": "windows-computer-use-mcp"
    }
  }
}

開発

bun install          # Install dependencies
bun run dev          # Run in development mode
bun run build        # Build to dist/
bun run start        # Run built version

アーキテクチャ

  • ランタイム: Bun + TypeScript

  • トランスポート: stdio(MCPプロトコル)

  • プラットフォーム層: すべてのデスクトップ操作はBun.spawnで実行されるPowerShellスクリプト経由で行われます

  • 低レベル入力: ランタイムで読み込まれるWin32 P/Invoke(user32.dll)を使用 — プリコンパイル済みのネイティブモジュールは不要

ライセンス

MIT


中文

MCP(Model Context Protocol)プロトコルに基づくWindowsデスクトップ自動化サーバー。MCPプロトコルを介してマウス、キーボード、スクリーンショット、クリップボードを制御し、アプリケーションを管理します。

注意:このサーバーはWindowsシステムのみをサポートしています。

機能特性

  • スクリーンショット — 全画面または指定領域のスクリーンショットを撮影し、base64 PNGを返します

  • マウス操作 — 移動、クリック、ダブルクリック、右クリック、ドラッグ、ホイールスクロール

  • キーボード入力 — テキスト入力、キーコンビネーション、キーの長押し

  • カーソル位置 — 現在のカーソル座標を取得

  • クリップボード — クリップボードのテキストを読み書き

  • アプリケーション管理 — 実行中のアプリの一覧、最前面アプリの取得、アプリの起動

  • ディスプレイ情報 — 接続されているディスプレイと解像度の一覧

ツール一覧

ツール

説明

screenshot

現在の画面をキャプチャ

zoom

指定領域をキャプチャ

mouse_move

マウスを指定座標に移動

left_click

左クリック

right_click

右クリック

double_click

ダブルクリック

left_click_drag

左ドラッグ

scroll

マウスホイールをスクロール

type

テキストを入力

key

キーコンビネーション(例:ctrl+c、alt+f4)

hold_key

キーを長押し

cursor_position

現在のカーソル位置を取得

list_running_applications

実行中のすべてのアプリを一覧表示

get_frontmost_application

現在の最前面アプリを取得

open_application

名前またはパスでアプリを起動

list_displays

接続されているディスプレイを一覧表示

read_clipboard

クリップボードのテキストを読み取り

write_clipboard

クリップボードにテキストを書き込み

インストール

環境要件

  • Bun >= 1.3.11

  • Windows 10/11

npmでのインストール

npm install -g windows-computer-use-mcp

npxでの実行(インストール不要)

npx windows-computer-use-mcp

ソースからビルド

git clone https://github.com/hiphopanda/windows-computer-use-mcp.git
cd windows-computer-use-mcp
bun install
bun run build

設定

MCPクライアント設定に追加します(例:Claude Desktop):

{
  "mcpServers": {
    "computer-use": {
      "type": "stdio",
      "command": "npx",
      "args": ["windows-computer-use-mcp"]
    }
  }
}

またはグローバルインストール後:

{
  "mcpServers": {
    "computer-use": {
      "type": "stdio",
      "command": "windows-computer-use-mcp"
    }
  }
}

開発

bun install          # 安装依赖
bun run dev          # 开发模式运行
bun run build        # 构建到 dist/
bun run start        # 运行构建产物

アーキテクチャ

  • ランタイム: Bun + TypeScript

  • トランスポート層: stdio(MCPプロトコル)

  • プラットフォーム層: すべてのデスクトップ操作はBun.spawnでPowerShellスクリプトを実行します

  • 低レベル入力: Win32 P/Invoke(user32.dll)をランタイムで読み込み — プリコンパイル済みのネイティブモジュールは不要

ライセンス

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server that provides computer control capabilities including mouse movements, keyboard actions, screenshot capture with OCR, and window management through a unified API.
    788 PyPI
    172
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI clients to automate Windows desktop applications through window manipulation, image recognition, OCR, keyboard/mouse simulation, and memory operations via the MCP protocol.
    MIT