$git clone https://github.com/CursorTouch/Windows-MCP</div>
| 1 | <div align="center"> |
| 2 | <h1>🪟 Windows-MCP</h1> |
| 3 | |
| 4 | <a href="https://github.com/CursorTouch/Windows-MCP/blob/main/LICENSE"> |
| 5 | <img src="https://img.shields.io/badge/license-MIT-green" alt="License"> |
| 6 | </a> |
| 7 | <img src="https://img.shields.io/badge/python-3.13%2B-blue" alt="Python"> |
| 8 | <img src="https://img.shields.io/badge/platform-Windows%207–11-blue" alt="Platform: Windows 7 to 11"> |
| 9 | <img src="https://img.shields.io/github/last-commit/CursorTouch/Windows-MCP" alt="Last Commit"> |
| 10 | <br> |
| 11 | <a href="https://x.com/CursorTouch"> |
| 12 | <img src="https://img.shields.io/badge/follow-%40CursorTouch-1DA1F2?logo=twitter&style=flat" alt="Follow on Twitter"> |
| 13 | </a> |
| 14 | <a href="https://discord.com/invite/Aue9Yj2VzS"> |
| 15 | <img src="https://img.shields.io/badge/Join%20on-Discord-5865F2?logo=discord&logoColor=white&style=flat" alt="Join us on Discord"> |
| 16 | </a> |
| 17 | |
| 18 | <a href="https://trendshift.io/repositories/20935?utm_source=trendshift-badge&utm_medium=badge&utm_campaign=badge-trendshift-20935" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/trendshift/repositories/20935/daily?language=Python" alt="CursorTouch%2FWindows-MCP | Trendshift" width="250" height="55"/></a> |
| 19 | |
| 20 | </div> |
| 21 | |
| 22 | **Windows-MCP** is a lightweight, open-source project that enables seamless integration between AI agents and the Windows operating system. Acting as an MCP server bridges the gap between LLMs and the Windows operating system, allowing agents to perform tasks such as **file navigation, application control, UI interaction, QA testing,** and more. |
| 23 | |
| 24 | mcp-name: io.github.CursorTouch/Windows-MCP |
| 25 | |
| 26 | ## Updates |
| 27 | - Windows-MCP reached `2M+ Users` in [Claude Desktop Extensiosn](https://claude.ai/directory). |
| 28 | - Try out [🪟Windows-Use](https://pypi.org/project/windows-use/), an agent built using Windows-MCP. |
| 29 | - Windows-MCP is now available on [PyPI](https://pypi.org/project/windows-mcp/) (thus supports `uvx windows-mcp`) |
| 30 | - Windows-MCP is added to [MCP Registry](https://github.com/modelcontextprotocol/registry) |
| 31 | |
| 32 | ### Supported Operating Systems |
| 33 | |
| 34 | - Windows 7 |
| 35 | - Windows 8, 8.1 |
| 36 | - Windows 10 |
| 37 | - Windows 11 |
| 38 | |
| 39 | ## 🎥 Demos |
| 40 | |
| 41 | <https://github.com/user-attachments/assets/d0e7ed1d-6189-4de6-838a-5ef8e1cad54e> |
| 42 | |
| 43 | <https://github.com/user-attachments/assets/d2b372dc-8d00-4d71-9677-4c64f5987485> |
| 44 | |
| 45 | ## ✨ Key Features |
| 46 | |
| 47 | - **Seamless Windows Integration** |
| 48 | Interacts natively with Windows UI elements, opens apps, controls windows, simulates user input, and more. |
| 49 | |
| 50 | - **Use Any LLM (Vision Optional)** |
| 51 | Unlike many automation tools, Windows-MCP doesn't rely on any traditional computer vision techniques or specific fine-tuned models; it works with any LLMs, reducing complexity and setup time. |
| 52 | |
| 53 | - **Rich Toolset for UI Automation** |
| 54 | Includes tools for basic keyboard, mouse operation and capturing window/UI state. |
| 55 | |
| 56 | - **Lightweight & Open-Source** |
| 57 | Minimal dependencies and easy setup with full source code available under MIT license. |
| 58 | |
| 59 | - **Customizable & Extendable** |
| 60 | Easily adapt or extend tools to suit your unique automation or AI integration needs. |
| 61 | |
| 62 | - **Real-Time Interaction** |
| 63 | Typical latency between actions (e.g., from one mouse click to the next) ranges from **0.2 to 0.5 secs**, and may slightly vary based on the number of active applications and system load, also the inferencing speed of the llm. |
| 64 | |
| 65 | - **DOM Mode for Browser Automation** |
| 66 | Special `use_dom=True` mode for State-Tool that focuses exclusively on web page content, filtering out browser UI elements for cleaner, more efficient web automation. Supports Chrome, Edge, and Firefox (Firefox uses an IAccessible2 fallback since it doesn't expose `RootWebArea` via UIA). |
| 67 | |
| 68 | ## 🛠️Installation |
| 69 | |
| 70 | **Note:** When you install this MCP server for the first time it may take a minute or two because of installing the dependencies in `pyproject.toml`. In the first run the server may timeout ignore it and restart it. |
| 71 | |
| 72 | ### Prerequisites |
| 73 | |
| 74 | - Python 3.13+ |
| 75 | - UV (Package Manager) from Astra, install with `pip install uv` or `curl -L |