windows-computer-use-mcp

mcp
Guvenlik Denetimi
Gecti
Health Gecti
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 18 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Windows computer use MCP server -- click, screenshot, OCR, GUI automation for AI agents

README.md

windows-computer-use-mcp

Stars License Python FastMCP Just Ruff

Windows Computer Use for AI Agents — click, screenshot, type, drag, OCR, and verify native Windows UI via MCP. The missing hands for your agentic workflows.

Exhibit A: 100 Tauri/NSIS installers, one unattended run, $2 in LLM costs.
Install → screenshot → verify → report — zero human intervention. That's the gap this fills.

Built on pywinauto. Exposed as a clean FastMCP server.

Pair with virtualization-mcp for Windows Sandbox / VM isolation. Read docs/SAFETY.md before production use.

📖 INSTALL.md — desktop installer, uv setup, MCP client config


What It Can Do

  • Window Management — find, activate, maximize, minimize, position, close
  • Mouse Control — click, double-click, right-click, drag, scroll, hover, precise coordinates
  • Keyboard Input — type text, send key combinations, shortcuts
  • UI Element Interaction — click controls, read/set text, verify states, wait for elements
  • Visual Intelligence — screenshots, OCR text extraction, image recognition
  • Closed-Loop Tasks — multi-step automation with retry, refocus recovery, evidence trails
  • Face Recognition — optional plugin for webcam-based verification workflows

Quick Start

git clone https://github.com/sandraschi/windows-computer-use-mcp.git
cd windows-computer-use-mcp
just bootstrap
just serve

MCP (stdio) — add to Cursor / Claude Desktop:

{
  "mcpServers": {
    "windows-computer-use": {
      "command": "uv",
      "args": ["--directory", "<PATH-TO-CLONE>", "run", "windows-computer-use-mcp"]
    }
  }
}

Optional web operator UI: .\start.ps1http://127.0.0.1:10788 (proxies API on 10789).

Demos: just demo — mouse dance, Notepad grid, typewriter (see examples/README.md).


Works With

  • Claude Desktop (MCP native)
  • DeepSeek via OpenCode/API
  • Any FastMCP-compatible agent

Python Stack

Layer Packages
UI Automation pywinauto, pywin32, pygetwindow
Input pyautogui, pynput, pyperclip
Vision / OCR opencv-python-headless, pytesseract
Face (opt-in) face_recognition, dlib
Framework FastMCP, FastAPI, uvicorn, Pillow, numpy, httpx, psutil

See docs/py-stack.md for what each package does and how it plugs into the tool surface.


Optional invasive features (off by default)

Default install: window/element/mouse/keyboard/visual automation only. No ambient monitoring.

Feature Shipped in code? Default? Enable
automation_face Yes — local webcam capture/match Off — tool not registered WINDOWS_COMPUTER_USE_MCP_ENABLE_FACE=1 + uv sync --extra face (SAFETY.md §5)
global_keylogger Yes — session keyboard hook Off — tool not registered WINDOWS_COMPUTER_USE_MCP_ENABLE_KEYLOGGER=1 (SAFETY.md §6)

Keylogger is not stealth spyware. It is an explicit MCP tool: disabled unless you set the env flag, requires HITL approval to start, stores events in a bounded in-memory buffer (not hidden files), and the server stops the hook on shutdown. Use only on machines you own for debugging shortcut/focus issues — not for credential harvesting.

Face recognition is not a background plan-only sketch — the tool is implemented but opt-in like the keylogger. The operator UI Biometrics page is a control panel when you enable it; it does not run face matching unless you opt in and call the tool.


Documentation

Doc Content
INSTALL.md Desktop app, uv, MCP client config
docs/README.md Full documentation hub
docs/py-stack.md Python dependency deep dive
docs/SAFETY.md HITL, kill switch, opt-in features
docs/TOOLS.md Portmanteau tool reference
tests/README.md Test suite guide and e2e setup
examples/README.md Runnable demos
mcpb/README.md MCPB bundle packaging
skills/desktop-automation-protocol/SKILL.md Cursor agent skill
CHANGELOG.md Release history

An MCP prompt is also registered: desktop_automation_operator_protocol (see src/windows_computer_use_mcp/prompts.py).


Ports

Port Service
10788 Frontend — Vite operator UI (web_sota)
10789 Backend — FastAPI /api/v1/* + FastMCP HTTP /mcp

Stdio MCP has no port (host-launched process).


Tech Stack

  • MCP: Python 3.12+, FastMCP 3.2+, portmanteau tools (windows, elements, mouse, keyboard, visual, assert, dialog, shortcut, task, system)
  • Input: win32_mouse (DPI-aware), optional Win32 keyboard (CUA_MCP_KEYBOARD=win32)
  • Web: Vite + React operator dashboard, local LLM proxy (Ollama / LM Studio)
  • Desktop: Tauri 2 operator app (optional installer)
  • Quality: Ruff, Biome, pytest (environment-aware), just recipes

Related

Tool What it does When to use
windows-computer-use-mcp (here) Computer use agent — structured native UI automation via UIA element tree, screenshots, OCR You need to inspect controls, click buttons, read text from apps with accessibility trees.
autohotkey-mcp AHK scriptlet depot — list, run, stop, generate .ahk scripts You need raw keyboard/mouse recording via AHK's built-in recorder.
virtualization-mcp Sandbox / VM isolation You need to isolate automation in a disposable VM.
windows-operations-mcp Deep Windows control plane (registry, services, accounts) System-level ops, not GUI.

Fleet standards: mcp-central-docs.

Browser vs desktop: This server drives Win32 / UI Automation. For HTML/DOM and websites, use a Playwright browser MCP alongside this one.


License

MIT — Copyright (c) 2026 Sandra Schipal.

Yorumlar (0)

Sonuc bulunamadi