windows-mcp 0.5.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,388 @@
1
+ Metadata-Version: 2.4
2
+ Name: windows-mcp
3
+ Version: 0.5.2
4
+ Summary: Lightweight MCP Server for interacting with Windows Operating System.
5
+ Project-URL: homepage, https://github.com/CursorTouch
6
+ Author-email: Jeomon George <jeogeoalukka@gmail.com>
7
+ License: MIT License
8
+
9
+ Copyright (c) 2025 JEOMON GEORGE
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+ License-File: LICENSE.md
29
+ Keywords: ai,ai agent,desktop,mcp,windows
30
+ Requires-Python: >=3.13
31
+ Requires-Dist: click>=8.2.1
32
+ Requires-Dist: fastmcp>=2.8.1
33
+ Requires-Dist: fuzzywuzzy>=0.18.0
34
+ Requires-Dist: humancursor>=1.1.5
35
+ Requires-Dist: ipykernel>=6.30.0
36
+ Requires-Dist: live-inspect>=0.1.1
37
+ Requires-Dist: markdownify>=1.1.0
38
+ Requires-Dist: pdfplumber>=0.11.7
39
+ Requires-Dist: pillow>=11.2.1
40
+ Requires-Dist: psutil>=7.0.0
41
+ Requires-Dist: pyautogui>=0.9.54
42
+ Requires-Dist: pygetwindow>=0.0.9
43
+ Requires-Dist: python-levenshtein>=0.27.1
44
+ Requires-Dist: pywinauto>=0.6.9
45
+ Requires-Dist: requests>=2.32.3
46
+ Requires-Dist: tabulate>=0.9.0
47
+ Requires-Dist: twine>=6.2.0
48
+ Requires-Dist: uiautomation>=2.0.24
49
+ Description-Content-Type: text/markdown
50
+
51
+ [![MseeP.ai Security Assessment Badge](https://mseep.net/pr/cursortouch-windows-mcp-badge.png)](https://mseep.ai/app/cursortouch-windows-mcp)
52
+
53
+ <div align="center">
54
+ <h1>🪟 Windows-MCP</h1>
55
+
56
+ <a href="https://github.com/CursorTouch/Windows-MCP/blob/main/LICENSE">
57
+ <img src="https://img.shields.io/badge/license-MIT-green" alt="License">
58
+ </a>
59
+ <img src="https://img.shields.io/badge/python-3.13%2B-blue" alt="Python">
60
+ <img src="https://img.shields.io/badge/platform-Windows%207–11-blue" alt="Platform: Windows 7 to 11">
61
+ <img src="https://img.shields.io/github/last-commit/CursorTouch/Windows-MCP" alt="Last Commit">
62
+ <br>
63
+ <a href="https://x.com/CursorTouch">
64
+ <img src="https://img.shields.io/badge/follow-%40CursorTouch-1DA1F2?logo=twitter&style=flat" alt="Follow on Twitter">
65
+ </a>
66
+ <a href="https://discord.com/invite/Aue9Yj2VzS">
67
+ <img src="https://img.shields.io/badge/Join%20on-Discord-5865F2?logo=discord&logoColor=white&style=flat" alt="Join us on Discord">
68
+ </a>
69
+
70
+ </div>
71
+
72
+ <br>
73
+
74
+ **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.
75
+
76
+ mcp-name: io.github.CursorTouch/Windows-MCP
77
+
78
+ ## Updates
79
+
80
+ - Windows-MCP is added to [MCP Registry](https://github.com/modelcontextprotocol/registry)
81
+ - Try out 🪟[Windows-Use](https://github.com/CursorTouch/Windows-Use)!!, an agent built using Windows-MCP.
82
+ - Windows-MCP is now featured as Desktop Extension in `Claude Desktop`.
83
+
84
+ ### Supported Operating Systems
85
+
86
+ - Windows 7
87
+ - Windows 8, 8.1
88
+ - Windows 10
89
+ - Windows 11
90
+
91
+ ## 🎥 Demos
92
+
93
+ <https://github.com/user-attachments/assets/d0e7ed1d-6189-4de6-838a-5ef8e1cad54e>
94
+
95
+ <https://github.com/user-attachments/assets/d2b372dc-8d00-4d71-9677-4c64f5987485>
96
+
97
+ ## ✨ Key Features
98
+
99
+ - **Seamless Windows Integration**
100
+ Interacts natively with Windows UI elements, opens apps, controls windows, simulates user input, and more.
101
+
102
+ - **Use Any LLM (Vision Optional)**
103
+ 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.
104
+
105
+ - **Rich Toolset for UI Automation**
106
+ Includes tools for basic keyboard, mouse operation and capturing window/UI state.
107
+
108
+ - **Lightweight & Open-Source**
109
+ Minimal dependencies and easy setup with full source code available under MIT license.
110
+
111
+ - **Customizable & Extendable**
112
+ Easily adapt or extend tools to suit your unique automation or AI integration needs.
113
+
114
+ - **Real-Time Interaction**
115
+ Typical latency between actions (e.g., from one mouse click to the next) ranges from **0.7 to 2.5 secs**, and may slightly vary based on the number of active applications and system load, also the inferencing speed of the llm.
116
+
117
+ ## 🛠️Installation
118
+
119
+ ### Prerequisites
120
+
121
+ - Python 3.13+
122
+ - UV (Package Manager) from Astra, install with `pip install uv` or `curl -LsSf https://astral.sh/uv/install.sh | sh`
123
+ - `English` as the default language in Windows highly preferred or disable the `App-Tool` in the MCP Server for Windows with other languages.
124
+
125
+ <details>
126
+ <summary>Install in Claude Desktop</summary>
127
+
128
+ 1. Install [Claude Desktop](https://claude.ai/download) and
129
+
130
+ ```shell
131
+ npm install -g @anthropic-ai/mcpb
132
+ ```
133
+
134
+ 2. Clone the repository.
135
+
136
+ ```shell
137
+ git clone https://github.com/CursorTouch/Windows-MCP.git
138
+
139
+ cd Windows-MCP
140
+ ```
141
+
142
+ 3. Build Desktop Extension `MCPB`:
143
+
144
+ ```shell
145
+ npx @anthropic-ai/mcpb pack
146
+ ```
147
+
148
+ 4. Open Claude Desktop:
149
+
150
+ Go to `Settings->Extensions->Advance Settings->Install Extension` (locate the `.mcpb` file)-> Install
151
+
152
+ 5. Enjoy 🥳.
153
+
154
+ For additional Claude Desktop integration troubleshooting, see the [MCP documentation](https://modelcontextprotocol.io/quickstart/server#claude-for-desktop-integration-issues). The documentation includes helpful tips for checking logs and resolving common issues.
155
+ </details>
156
+
157
+ <details>
158
+ <summary>Install in Perplexity Desktop</summary>
159
+
160
+ 1. Install [Perplexity Desktop](https://apps.microsoft.com/detail/xp8jnqfbqh6pvf):
161
+
162
+ 2. Clone the repository.
163
+
164
+ ```shell
165
+ git clone https://github.com/CursorTouch/Windows-MCP.git
166
+
167
+ cd Windows-MCP
168
+ ```
169
+
170
+ 3. Open Perplexity Desktop:
171
+
172
+ Go to `Settings->Connectors->Add Connector->Advanced`
173
+
174
+ 4. Enter the name as `Windows-MCP`, then paste the following JSON in the text area.
175
+
176
+ ```json
177
+ {
178
+ "command": "uv",
179
+ "args": [
180
+ "--directory",
181
+ "<path to the windows-mcp directory>",
182
+ "run",
183
+ "main.py"
184
+ ]
185
+ }
186
+ ```
187
+
188
+ 5. Click `Save` and Enjoy 🥳.
189
+
190
+ For additional Claude Desktop integration troubleshooting, see the [Perplexity MCP Support](https://www.perplexity.ai/help-center/en/articles/11502712-local-and-remote-mcps-for-perplexity). The documentation includes helpful tips for checking logs and resolving common issues.
191
+ </details>
192
+
193
+ <details>
194
+ <summary> Install in Gemini CLI</summary>
195
+
196
+ 1. Install Gemini CLI:
197
+
198
+ ```shell
199
+ npm install -g @google/gemini-cli
200
+ ```
201
+
202
+ 2. Clone the repository.
203
+
204
+ ```shell
205
+ git clone https://github.com/CursorTouch/Windows-MCP.git
206
+
207
+ cd Windows-MCP
208
+ ```
209
+
210
+ 3. Navigate to `%USERPROFILE%/.gemini` in File Explorer and open `settings.json`.
211
+
212
+ 4. Add the `windows-mcp` config in the `settings.json` and save it.
213
+
214
+ ```json
215
+ {
216
+ "theme": "Default",
217
+ ...
218
+ //MCP Server Config
219
+ "mcpServers": {
220
+ "windows-mcp": {
221
+ "command": "uv",
222
+ "args": [
223
+ "--directory",
224
+ "<path to the windows-mcp directory>",
225
+ "run",
226
+ "main.py"
227
+ ]
228
+ }
229
+ }
230
+ }
231
+ ```
232
+
233
+ 5. Rerun Gemini CLI in terminal. Enjoy 🥳
234
+ </details>
235
+
236
+ <details>
237
+ <summary>Install in Qwen Code</summary>
238
+ 1. Install Qwen Code:
239
+
240
+ ```shell
241
+ npm install -g @qwen-code/qwen-code@latest
242
+ ```
243
+ 2. Clone the repository.
244
+
245
+ ```shell
246
+ git clone https://github.com/CursorTouch/Windows-MCP.git
247
+
248
+ cd Windows-MCP
249
+ ```
250
+
251
+ 3. Navigate to `%USERPROFILE%/.qwen/settings.json`.
252
+
253
+ 4. Add the `windows-mcp` config in the `settings.json` and save it.
254
+
255
+ ```json
256
+ {
257
+ //MCP Server Config
258
+ "mcpServers": {
259
+ "windows-mcp": {
260
+ "command": "uv",
261
+ "args": [
262
+ "--directory",
263
+ "<path to the windows-mcp directory>",
264
+ "run",
265
+ "main.py"
266
+ ]
267
+ }
268
+ }
269
+ }
270
+ ```
271
+
272
+ 5. Rerun Qwen Code in terminal. Enjoy 🥳
273
+ </details>
274
+
275
+ <details>
276
+ <summary>Install in Codex CLI</summary>
277
+ 1. Install Codex CLI:
278
+
279
+ ```shell
280
+ npm install -g @openai/codex
281
+ ```
282
+ 2. Clone the repository.
283
+
284
+ ```shell
285
+ git clone https://github.com/CursorTouch/Windows-MCP.git
286
+
287
+ cd Windows-MCP
288
+ ```
289
+ 3. Navigate to `%USERPROFILE%/.codex/config.toml`.
290
+
291
+ 4. Add the `windows-mcp` config in the `config.toml` and save it.
292
+
293
+ ```toml
294
+ [mcp_servers.windows-mcp]
295
+ command="uv"
296
+ args=[
297
+ "--directory",
298
+ "<path to the windows-mcp directory>",
299
+ "run",
300
+ "main.py"
301
+ ]
302
+ ```
303
+
304
+ 5. Rerun Codex CLI in terminal. Enjoy 🥳
305
+ </details>
306
+
307
+ ---
308
+
309
+ ## 🔨MCP Tools
310
+
311
+ MCP Client can access the following tools to interact with Windows:
312
+
313
+ - `Click-Tool`: Click on the screen at the given coordinates.
314
+ - `Type-Tool`: Type text on an element (optionally clears existing text).
315
+ - `Scroll-Tool`: Scroll vertically or horizontally on the window or specific regions.
316
+ - `Drag-Tool`: Drag from one point to another.
317
+ - `Move-Tool`: Move mouse pointer.
318
+ - `Shortcut-Tool`: Press keyboard shortcuts (`Ctrl+c`, `Alt+Tab`, etc).
319
+ - `Wait-Tool`: Pause for a defined duration.
320
+ - `State-Tool`: Combined snapshot of default language, browser, active apps and interactive, textual and scrollable elements along with screenshot of the desktop..
321
+ - `App-Tool`: To launch an application from the start menu, resize or move the window and switch between apps.
322
+ - `Shell-Tool`: To execute PowerShell commands.
323
+ - `Scrape-Tool`: To scrape the entire webpage for information.
324
+
325
+ ## 🤝 Connect with Us
326
+ Stay updated and join our community:
327
+
328
+ - 📢 Follow us on [X](https://x.com/CursorTouch) for the latest news and updates
329
+
330
+ - 💬 Join our [Discord Community](https://discord.com/invite/Aue9Yj2VzS)
331
+
332
+ ## Star History
333
+
334
+ [![Star History Chart](https://api.star-history.com/svg?repos=CursorTouch/Windows-MCP&type=Date)](https://www.star-history.com/#CursorTouch/Windows-MCP&Date)
335
+
336
+ ## ⚠️Caution
337
+
338
+ This MCP interacts directly with your Windows operating system to perform actions. Use with caution and avoid deploying it in environments where such risks cannot be tolerated.
339
+
340
+ ## 🔒 Security
341
+
342
+ **Important**: Windows-MCP operates with full system access and can perform irreversible operations. Please review our comprehensive security guidelines before deployment.
343
+
344
+ For detailed security information, including:
345
+ - Tool-specific risk assessments
346
+ - Deployment recommendations
347
+ - Vulnerability reporting procedures
348
+ - Compliance and auditing guidelines
349
+
350
+ Please read our [Security Policy](SECURITY.md).
351
+
352
+ ## 📝 Limitations
353
+
354
+ - Selecting specific sections of the text in a paragraph, as the MCP is relying on a11y tree. (⌛ Working on it.)
355
+ - `Type-Tool` is meant for typing text, not programming in IDE because of it types program as a whole in a file. (⌛ Working on it.)
356
+ - This MCP server can't be used to play video games 🎮.
357
+
358
+ ## 🪪 License
359
+
360
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
361
+
362
+ ## 🙏 Acknowledgements
363
+
364
+ Windows-MCP makes use of several excellent open-source projects that power its Windows automation features:
365
+
366
+ - [UIAutomation](https://github.com/yinkaisheng/Python-UIAutomation-for-Windows)
367
+
368
+ - [PyAutoGUI](https://github.com/asweigart/pyautogui)
369
+
370
+ Huge thanks to the maintainers and contributors of these libraries for their outstanding work and open-source spirit.
371
+
372
+ ## 🤝Contributing
373
+
374
+ Contributions are welcome! Please see [CONTRIBUTING](CONTRIBUTING) for setup instructions and development guidelines.
375
+
376
+ Made with ❤️ by [CursorTouch](https://github.com/CursorTouch)
377
+
378
+ ## Citation
379
+
380
+ ```bibtex
381
+ @software{
382
+ author = {CursorTouch},
383
+ title = {Windows-MCP: Lightweight open-source project for integrating LLM agents with Windows},
384
+ year = {2024},
385
+ publisher = {GitHub},
386
+ url={https://github.com/CursorTouch/Windows-MCP}
387
+ }
388
+ ```
@@ -0,0 +1,16 @@
1
+ main.py,sha256=Bg_iHXmNxIE1uUioBf0OMEolNkYisGCManA9tpLzv5w,9630
2
+ src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ src/desktop/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ src/desktop/config.py,sha256=7rAb64pmC275PpNRXVOyOf0Psu089AOosRC8T5kVGWA,384
5
+ src/desktop/service.py,sha256=yzB1SFS2h1fSxMHsYOwa0mJLTOSdIyDWAmfex-DX3dM,18295
6
+ src/desktop/views.py,sha256=vDPPUfD8vNkCS_4-vc-bA4tqG-klqDtznypAQJCN4TA,1515
7
+ src/tree/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ src/tree/config.py,sha256=k-Mjo_yIn0d1AzcEW_bxiaXyBFxBZZSyy7hCNQ3XVp0,1010
9
+ src/tree/service.py,sha256=5RIaabVBwmdKSsmaxTV8UW2f6VFwmyeJTvNWhoudTeM,21864
10
+ src/tree/utils.py,sha256=6hbxdIQPrAY-I3jcHsRqodHlxboTQj2GnLA71bf1lqY,911
11
+ src/tree/views.py,sha256=DVgB8x7Mg9NaZL5xZzhOAzgLuwFw6DWFTLK5hIxWsvk,3232
12
+ windows_mcp-0.5.2.dist-info/METADATA,sha256=Vp5YyAirr8qtj7SMekByPhW8Fx9PbpamHVFsD2X1xlY,12380
13
+ windows_mcp-0.5.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ windows_mcp-0.5.2.dist-info/entry_points.txt,sha256=NMSKckn68nbiSSmQ9eFiP8cmPrDSR_vzeYE-Zqmhn_o,42
15
+ windows_mcp-0.5.2.dist-info/licenses/LICENSE.md,sha256=U1UM4Xi_IX-jHnHjGT0rETNia-Ck8gd92iSQMqQ6a8Y,1089
16
+ windows_mcp-0.5.2.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ windows-mcp = main:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 JEOMON GEORGE
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.