Skip to main content
Glama
MCP Windows Desktop Automation

MCP Windows Desktop Automation

MCP Windowsデスクトップオートメーション

AutoIt を使用した Windows デスクトップ自動化用のモデル コンテキスト プロトコル (MCP) サーバー。

概要

このプロジェクトは、node-autoit-koffiパッケージをラップする TypeScript MCP サーバーを提供し、LLM アプリケーションが MCP プロトコルを通じて Windows デスクトップ タスクを自動化できるようにします。

サーバーは以下を公開します:

  • ツール: すべてのAutoIt機能はMCPツールとして機能します

  • リソース: ファイルアクセスとスクリーンショット機能

  • プロンプト: 一般的な自動化タスクのテンプレート

Related MCP server: Bridge MCP

特徴

  • すべてのAutoIt機能をMCPツールとして完全にラップ

  • stdioとWebSocketトランスポートの両方をサポート

  • ファイルとディレクトリを読み取るためのファイルアクセスリソース

  • 画面または特定のウィンドウをキャプチャするためのスクリーンショットリソース

  • 一般的な自動化タスクのプロンプトテンプレート

  • 厳格なTypeScript型付け

インストール

# Clone the repository
git clone https://github.com/yourusername/mcp-windows-desktop-automation.git
cd mcp-windows-desktop-automation

# Install dependencies
npm install

# Build the project
npm run build

使用法

サーバーの起動

# Start with stdio transport (default)
npm start

# Start with WebSocket transport
npm start -- --transport=websocket --port=3000

# Enable verbose logging
npm start -- --verbose

コマンドラインオプション

  • --transport=stdio|websocket : トランスポートプロトコルを指定します(デフォルト: stdio)

  • --port=<number> : WebSocketトランスポートのポート番号を指定します(デフォルト: 3000)

  • --verbose : 詳細ログを有効にする

ツール

サーバーは次のツールを提供します:

  • マウス操作:移動、クリック、ドラッグなど

  • キーボード操作:キーストローク、クリップボード操作などを送信します。

  • ウィンドウ管理: ウィンドウの検索、アクティブ化、閉じる、サイズ変更など。

  • コントロール操作: UI コントロール、ボタン、テキスト フィールドなどを操作します。

  • プロセス管理: プロセスの開始、停止、監視

  • システム操作:シャットダウン、スリープなど

リソース

サーバーは次のリソースを提供します:

  • ファイルアクセス: ファイルの読み取りとディレクトリの一覧表示

  • スクリーンショット: 画面または特定のウィンドウをキャプチャします

プロンプト

サーバーは、次のプロンプト テンプレートを提供します。

  • ウィンドウの操作: ウィンドウを見つけて操作する

  • フォーム入力: フォーム入力タスクを自動化

  • 自動化タスク: 繰り返しタスクのスクリプトを作成する

  • 監視:特定の条件を待つ

発達

# Run in development mode
npm run dev

# Lint the code
npm run lint

# Run tests
npm run test

ライセンス

マサチューセッツ工科大学

Available Tools

51 tools
autoItSetOptionC
Destructive

Windows AutoIt autoItSetOption. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: value (required), option (required).

clipGetC
Read-onlyIdempotent

Windows AutoIt clipGet. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: bufSize.

clipPutC
Destructive

Windows AutoIt clipPut. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: text (required).

controlClickC
Destructive

Windows AutoIt controlClick. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), control (required), x, y, +3 more.

controlClickByHandleC
Destructive

Windows AutoIt controlClickByHandle. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: windowHandle (required), controlHandle (required), x, y, +2 more.

controlCommandC
Destructive

Windows AutoIt controlCommand. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), command (required), control (required), text, +2 more.

controlFocusC
Destructive

Windows AutoIt controlFocus. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), control (required), text.

controlGetHandleC
Read-onlyIdempotent

Windows AutoIt controlGetHandle. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: control (required), windowHandle (required).

controlGetPosC
Read-onlyIdempotent

Windows AutoIt controlGetPos. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), control (required), text.

controlGetTextC
Read-onlyIdempotent

Windows AutoIt controlGetText. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), control (required), text, bufSize.

controlHideC
Destructive

Windows AutoIt controlHide. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), control (required), text.

controlMoveC
Destructive

Windows AutoIt controlMove. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: x (required), y (required), title (required), control (required), +3 more.

controlSendC
Destructive

Windows AutoIt controlSend. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), control (required), sendText (required), mode, +1 more.

controlSetTextB
Destructive

Windows AutoIt controlSetText. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), control (required), controlText (required), text.

controlShowC
Destructive

Windows AutoIt controlShow. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), control (required), text.

mouseClickC
Destructive

Windows AutoIt mouseClick. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: x, y, speed, button, +1 more.

mouseClickDragC
Destructive

Windows AutoIt mouseClickDrag. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: x1 (required), x2 (required), y1 (required), y2 (required), +2 more.

mouseDownC
Destructive

Windows AutoIt mouseDown. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: button.

mouseGetCursorC
Read-onlyIdempotent

Windows AutoIt mouseGetCursor. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: no named parameters.

mouseGetPosC
Read-onlyIdempotent

Windows AutoIt mouseGetPos. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: no named parameters.

mouseMoveA
Destructive

Windows AutoIt mouseMove. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: x (required), y (required), speed.

mouseUpC
Destructive

Windows AutoIt mouseUp. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: button.

mouseWheelC
Destructive

Windows AutoIt mouseWheel. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: clicks (required), direction (required).

optC
Destructive

Windows AutoIt opt. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: value (required), option (required).

processCloseC
Destructive

Windows AutoIt processClose. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: process (required).

processExistsC
Read-onlyIdempotent

Windows AutoIt processExists. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: process (required).

processSetPriorityC
Destructive

Windows AutoIt processSetPriority. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: process (required), priority (required).

processWaitC
Read-onlyIdempotent

Windows AutoIt processWait. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: process (required), timeout.

processWaitCloseC
Read-onlyIdempotent

Windows AutoIt processWaitClose. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: process (required), timeout.

runB
Destructive

Windows AutoIt run. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: program (required), showFlag, workingDir.

runAsC
Destructive

Windows AutoIt runAs. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: user (required), domain (required), program (required), password (required), +3 more.

runAsWaitC
Destructive

Windows AutoIt runAsWait. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: user (required), domain (required), program (required), password (required), +3 more.

runWaitC
Destructive

Windows AutoIt runWait. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: program (required), showFlag, workingDir.

sendB
Destructive

Windows AutoIt send. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: text (required), mode.

shutdownB
Destructive

Windows AutoIt shutdown. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: flags (required).

takeScreenshotC
Read-onlyIdempotent

Windows AutoIt takeScreenshot. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: x, y, width, height, +2 more.

toolTipB
Destructive

Windows AutoIt toolTip. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: text (required), x, y.

winActivateC
Destructive

Windows AutoIt winActivate. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), text.

winActivateByHandleC
Destructive

Windows AutoIt winActivateByHandle. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: handle (required).

winActiveC
Read-onlyIdempotent

Windows AutoIt winActive. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: text (required), title (required).

winCloseC
Destructive

Windows AutoIt winClose. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), text.

winExistsC
Read-onlyIdempotent

Windows AutoIt winExists. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), text.

winGetHandleC
Read-onlyIdempotent

Windows AutoIt winGetHandle. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), text.

winGetPosC
Read-onlyIdempotent

Windows AutoIt winGetPos. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), text.

winGetTextC
Read-onlyIdempotent

Windows AutoIt winGetText. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), text, bufSize.

winGetTitleC
Read-onlyIdempotent

Windows AutoIt winGetTitle. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), text, bufSize.

winMoveC
Destructive

Windows AutoIt winMove. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: x (required), y (required), title (required), text, +2 more.

winSetStateC
Destructive

Windows AutoIt winSetState. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: flags (required), title (required), text.

winWaitC
Read-onlyIdempotent

Windows AutoIt winWait. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), text, timeout.

winWaitActiveC
Read-onlyIdempotent

Windows AutoIt winWaitActive. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), text, timeout.

winWaitCloseC
Read-onlyIdempotent

Windows AutoIt winWaitClose. Requires a trusted owner and an interactive Windows x64 desktop.

Inputs: title (required), text, timeout.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 51 tools

    Disambiguation3/5

    Most tools map to distinct AutoIt functions, but autoItSetOption and opt appear to overlap, and boilerplate descriptions offer no differentiation between similar operations like run/runWait/runAs/runAsWait or processWait/processWaitClose. An agent must rely on AutoIt domain knowledge to select correctly.

    Naming Consistency4/5

    All tools use lowerCamelCase, and most follow a noun+verb pattern (e.g., mouseGetPos, winActivate, controlClick). Minor deviations exist such as takeScreenshot (verb+noun) and bare verbs (send, run, shutdown), but casing is consistent throughout.

    Tool Count1/5

    With 51 tools, the surface is far beyond the typical 3-15 well-scoped range and approaches the rubric's extreme mismatch threshold. Many wrappers are granular (mouseDown/mouseUp, winWait variants, processWait variants), forcing agents to sort through a large set for basic automation.

    Completeness3/5

    Core areas like mouse, keyboard, window, control, process, run, clipboard, and screenshot are covered, enabling many direct automation workflows. However, discovery/enumeration tools (e.g., listing windows, processes, or controls) and pixel/image search are absent, leaving notable dead ends when target identifiers are unknown.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A lean local Windows automation server providing tools for mouse and keyboard control, screenshot capture, and process management. It enables programmatic interaction with the Windows desktop environment through the Model Context Protocol.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that gives any AI full control over a Windows PC, enabling application control, mouse/keyboard automation, screen capture, browser automation, and more.
      92 PyPI
      6
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Windows GUI automation MCP server for Claude Code, enabling deterministic desktop app control via 32 tools including window management, input, pixel search, and file verification, leveraging the AutoIt backend.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that gives AI assistants full control over native Windows applications — launch, inspect, click, type, screenshot, and test any WinUI3, WPF, WinForms, UWP, or Win32 app.
      103 npm
      45
      MIT