# Windows-MCP

An MCP server that hands your AI agent the Windows desktop: launch apps, click, type, and read window state.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 10221
- Author: CursorTouch
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/CursorTouch/Windows-MCP
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/windows-mcp

## What it does

Windows-MCP connects an LLM to the Windows operating system. The agent opens programs, presses buttons, types text, and captures the state of a window or a web page. It works with any model — no separate vision model required.

The package ships tools for keyboard, mouse, and UI capture. State-Tool has a `use_dom=True` mode that keeps only page content and drops browser chrome; it supports Chrome, Edge, and Firefox. Latency between actions usually runs 0.2–0.5 seconds and depends on system load and model speed.

You need Python 3.14+ and the UV package manager. The server targets Windows 10 and 11; the current installation will not work on older Windows releases. The first run can take a minute or two while dependencies install, and the server may time out — restart it if that happens.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add windows-mcp -- uvx windows-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from windows-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add windows-mcp -- uvx windows-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from windows-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "windows-mcp": {
            "command": "uvx",
            "args": [
                "windows-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from windows-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "windows-mcp": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "windows-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from windows-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add windows-mcp uvx windows-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from windows-mcp <command>

## When to use it
- open an app and walk through its steps
- check a program's UI after a build
- fill in a web form through the agent
- capture window state and hand it to the model
- run a browser QA scenario without manual clicks

## Example prompts
- Open Calculator and multiply 128 by 47
- Find the schedule page in Chrome and list the first three rows
- Take a screenshot of the active window and describe what looks wrong

## Similar
- [windows-desktop-e2e](https://affpapa.org/en/nevibecode/skills/windows-desktop-e2e.md) — skill · 4600 installs
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
