Skip to main content
Glama
hiphopanda

windows-computer-use-mcp

by hiphopanda

Windows Computer Use MCP Server

English | 中文

Ein MCP-Server (Model Context Protocol), der Desktop-Automatisierungswerkzeuge für Windows bereitstellt. Steuern Sie Maus, Tastatur, machen Sie Screenshots, verwalten Sie die Zwischenablage und interagieren Sie mit Anwendungen – alles über das MCP-Protokoll.

Hinweis: Dieser Server läuft nur unter Windows.

Funktionen

  • Screenshots — Vollbild oder bestimmte Bereiche als base64-PNG erfassen

  • Maussteuerung — Bewegen, Klicken, Doppelklicken, Rechtsklicken, Ziehen, Scrollen

  • Tastatureingabe — Text eingeben, Tastenkombinationen drücken, Tasten gedrückt halten

  • Cursorposition — Aktuelle Cursorkoordinaten abrufen

  • Zwischenablage — Text aus der Zwischenablage lesen und schreiben

  • Anwendungsverwaltung — Laufende Apps auflisten, vorderste App abrufen, Apps öffnen

  • Anzeigeinformationen — Verbundene Anzeigen mit Abmessungen auflisten

Related MCP server: desktop-touch-mcp

Werkzeuge

Tool

Beschreibung

screenshot

Einen Screenshot des aktuellen Bildschirms aufnehmen

zoom

Einen Screenshot eines bestimmten Bereichs aufnehmen

mouse_move

Den Mauszeiger zu Koordinaten bewegen

left_click

Linksklick an Koordinaten oder aktueller Position

right_click

Rechtsklick an Koordinaten

double_click

Doppelklick an Koordinaten

left_click_drag

Klicken und von einem Punkt zu einem anderen ziehen

scroll

Das Mausrad scrollen

type

Eine Textzeichenfolge eingeben

key

Eine Tastenkombination drücken (z. B. ctrl+c, alt+f4)

hold_key

Eine Taste für eine Dauer gedrückt halten

cursor_position

Aktuelle Cursorposition abrufen

list_running_applications

Alle laufenden Apps mit sichtbaren Fenstern auflisten

get_frontmost_application

Die aktuell fokussierte App abrufen

open_application

Eine App nach Name oder Pfad öffnen

list_displays

Verbundene Anzeigen auflisten

read_clipboard

Zwischenablage-Text lesen

write_clipboard

Text in die Zwischenablage schreiben

Installation

Voraussetzungen

  • Bun >= 1.3.11

  • Windows 10/11

Installation über npm

npm install -g windows-computer-use-mcp

Installation über npx (keine Installation erforderlich)

npx windows-computer-use-mcp

Aus dem Quellcode erstellen

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

Konfiguration

Fügen Sie Folgendes zu Ihren MCP-Client-Einstellungen hinzu (z. B. Claude Desktop):

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

Oder wenn global installiert:

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

Entwicklung

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

Architektur

  • Laufzeit: Bun + TypeScript

  • Transport: stdio (MCP-Protokoll)

  • Plattformebene: Alle Desktop-Operationen laufen über PowerShell-Skripte, die über Bun.spawn ausgeführt werden

  • Niedrigstufige Eingabe: Verwendet Win32 P/Invoke (user32.dll), das zur Laufzeit geladen wird — keine vorkompilierten nativen Module erforderlich

Lizenz

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+calt+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

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server that provides computer control capabilities including mouse movements, keyboard actions, screenshot capture with OCR, and window management through a unified API.
    158
    MIT
  • A
    license
    Not graded
    quality
    B
    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

View all related MCP servers

Related MCP Connectors

  • Eyes and hands on real Windows PCs — observe, click, type via Glasswarp API.

  • Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.

  • Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.

View all MCP Connectors

Latest Blog Posts

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/hiphopanda/windows-computer-use-mcp'

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