windows-mcp 0.5.3__py3-none-any.whl → 0.5.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: windows-mcp
3
- Version: 0.5.3
3
+ Version: 0.5.4
4
4
  Summary: Lightweight MCP Server for interacting with Windows Operating System.
5
5
  Project-URL: homepage, https://github.com/CursorTouch
6
6
  Author-email: Jeomon George <jeogeoalukka@gmail.com>
@@ -75,7 +75,7 @@ Description-Content-Type: text/markdown
75
75
  mcp-name: io.github.CursorTouch/Windows-MCP
76
76
 
77
77
  ## Updates
78
-
78
+ - Windows-MCP is now available on [PyPI](https://pypi.org/project/windows-mcp/) (thus supports `uvx`)
79
79
  - Windows-MCP is added to [MCP Registry](https://github.com/modelcontextprotocol/registry)
80
80
  - Try out 🪟[Windows-Use](https://github.com/CursorTouch/Windows-Use)!!, an agent built using Windows-MCP.
81
81
  - Windows-MCP is now featured as Desktop Extension in `Claude Desktop`.
@@ -116,55 +116,6 @@ mcp-name: io.github.CursorTouch/Windows-MCP
116
116
  - **DOM Mode for Browser Automation**
117
117
  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.
118
118
 
119
- ## 🌐 DOM Mode for Browser Automation
120
-
121
- Windows-MCP includes a powerful **DOM Mode** feature that enhances browser automation by focusing on web page content rather than browser UI elements.
122
-
123
- ### What is DOM Mode?
124
-
125
- When `use_dom=True` is set in the State-Tool, the MCP server:
126
- - **Filters out browser UI**: Removes address bars, tabs, toolbars, and other browser chrome elements
127
- - **Returns only web content**: Provides interactive elements (links, buttons, forms) from the actual web page
128
- - **Reduces token usage**: Cleaner output means fewer tokens sent to the LLM
129
- - **Improves accuracy**: LLM focuses only on relevant web page elements
130
-
131
- ### When to Use DOM Mode
132
-
133
- ✅ **Use `use_dom=True` when:**
134
- - Automating web applications or websites
135
- - Scraping web content
136
- - Filling out web forms
137
- - Clicking links or buttons on web pages
138
- - Testing web interfaces
139
- - You want to ignore browser UI and focus on page content
140
-
141
- ❌ **Use `use_dom=False` (default) when:**
142
- - Interacting with browser controls (address bar, tabs, bookmarks)
143
- - Working with desktop applications
144
- - Need to see all UI elements including browser chrome
145
- - Managing browser settings or extensions
146
-
147
- ### Example Usage
148
-
149
- ```python
150
- # Get web page content only (no browser UI)
151
- state_tool(use_vision=False, use_dom=True)
152
-
153
- # Get full desktop state including browser UI
154
- state_tool(use_vision=False, use_dom=False)
155
-
156
- # Get web page content with screenshot
157
- state_tool(use_vision=True, use_dom=True)
158
- ```
159
-
160
- ### Benefits
161
-
162
- 1. **Token Efficiency**: Reduces the amount of data sent to LLM by filtering irrelevant browser UI
163
- 2. **Better Focus**: LLM concentrates on actionable web page elements
164
- 3. **Cleaner Output**: Only relevant interactive elements from the DOM are returned
165
- 4. **Faster Processing**: Less data means faster LLM inference
166
- 5. **Cost Savings**: Fewer tokens = lower API costs for cloud LLMs
167
-
168
119
  ## 🛠️Installation
169
120
 
170
121
  ### Prerequisites
@@ -182,23 +133,56 @@ state_tool(use_vision=True, use_dom=True)
182
133
  npm install -g @anthropic-ai/mcpb
183
134
  ```
184
135
 
185
- 2. Clone the repository.
186
136
 
187
- ```shell
188
- git clone https://github.com/CursorTouch/Windows-MCP.git
137
+ 2. Configure the extension:
189
138
 
190
- cd Windows-MCP
191
- ```
139
+ **Option A: Install from PyPI (Recommended)**
140
+
141
+ Use `uvx` to run the latest version directly from PyPI.
142
+
143
+ Add this to your `claude_desktop_config.json`:
144
+ ```json
145
+ {
146
+ "mcpServers": {
147
+ "windows-mcp": {
148
+ "command": "uvx",
149
+ "args": [
150
+ "windows-mcp"
151
+ ]
152
+ }
153
+ }
154
+ }
155
+ ```
156
+
157
+ **Option B: Install from Source**
158
+
159
+ 1. Clone the repository:
160
+ ```shell
161
+ git clone https://github.com/CursorTouch/Windows-MCP.git
162
+ cd Windows-MCP
163
+ ```
164
+
165
+ 2. Add this to your `claude_desktop_config.json`:
166
+ ```json
167
+ {
168
+ "mcpServers": {
169
+ "windows-mcp": {
170
+ "command": "uv",
171
+ "args": [
172
+ "--directory",
173
+ "<path to the windows-mcp directory>",
174
+ "run",
175
+ "windows-mcp"
176
+ ]
177
+ }
178
+ }
179
+ }
180
+ ```
192
181
 
193
- 3. Build Desktop Extension `MCPB`:
194
182
 
195
- ```shell
196
- npx @anthropic-ai/mcpb pack
197
- ```
198
183
 
199
- 4. Open Claude Desktop:
184
+ 3. Open Claude Desktop and enjoy! 🥳
200
185
 
201
- Go to `Settings->Extensions->Advance Settings->Install Extension` (locate the `.mcpb` file)-> Install
202
186
 
203
187
  5. Enjoy 🥳.
204
188
 
@@ -224,17 +208,32 @@ Go to `Settings->Connectors->Add Connector->Advanced`
224
208
 
225
209
  4. Enter the name as `Windows-MCP`, then paste the following JSON in the text area.
226
210
 
227
- ```json
228
- {
229
- "command": "uv",
230
- "args": [
231
- "--directory",
232
- "<path to the windows-mcp directory>",
233
- "run",
234
- "main.py"
235
- ]
236
- }
237
- ```
211
+
212
+ **Option A: Install from PyPI (Recommended)**
213
+
214
+ ```json
215
+ {
216
+ "command": "uvx",
217
+ "args": [
218
+ "windows-mcp"
219
+ ]
220
+ }
221
+ ```
222
+
223
+ **Option B: Install from Source**
224
+
225
+ ```json
226
+ {
227
+ "command": "uv",
228
+ "args": [
229
+ "--directory",
230
+ "<path to the windows-mcp directory>",
231
+ "run",
232
+ "windows-mcp"
233
+ ]
234
+ }
235
+ ```
236
+
238
237
 
239
238
  5. Click `Save` and Enjoy 🥳.
240
239
 
@@ -250,13 +249,9 @@ For additional Claude Desktop integration troubleshooting, see the [Perplexity M
250
249
  npm install -g @google/gemini-cli
251
250
  ```
252
251
 
253
- 2. Clone the repository.
254
252
 
255
- ```shell
256
- git clone https://github.com/CursorTouch/Windows-MCP.git
253
+ 2. Configure the server in `%USERPROFILE%/.gemini/settings.json`:
257
254
 
258
- cd Windows-MCP
259
- ```
260
255
 
261
256
  3. Navigate to `%USERPROFILE%/.gemini` in File Explorer and open `settings.json`.
262
257
 
@@ -269,17 +264,16 @@ cd Windows-MCP
269
264
  //MCP Server Config
270
265
  "mcpServers": {
271
266
  "windows-mcp": {
272
- "command": "uv",
267
+ "command": "uvx",
273
268
  "args": [
274
- "--directory",
275
- "<path to the windows-mcp directory>",
276
- "run",
277
- "main.py"
269
+ "windows-mcp"
278
270
  ]
279
271
  }
280
272
  }
281
273
  }
282
274
  ```
275
+ *Note: To run from source, replace the command with `uv` and args with `["--directory", "<path>", "run", "windows-mcp"]`.*
276
+
283
277
 
284
278
  5. Rerun Gemini CLI in terminal. Enjoy 🥳
285
279
  </details>
@@ -291,13 +285,9 @@ cd Windows-MCP
291
285
  ```shell
292
286
  npm install -g @qwen-code/qwen-code@latest
293
287
  ```
294
- 2. Clone the repository.
295
288
 
296
- ```shell
297
- git clone https://github.com/CursorTouch/Windows-MCP.git
289
+ 2. Configure the server in `%USERPROFILE%/.qwen/settings.json`:
298
290
 
299
- cd Windows-MCP
300
- ```
301
291
 
302
292
  3. Navigate to `%USERPROFILE%/.qwen/settings.json`.
303
293
 
@@ -308,17 +298,16 @@ cd Windows-MCP
308
298
  //MCP Server Config
309
299
  "mcpServers": {
310
300
  "windows-mcp": {
311
- "command": "uv",
301
+ "command": "uvx",
312
302
  "args": [
313
- "--directory",
314
- "<path to the windows-mcp directory>",
315
- "run",
316
- "main.py"
303
+ "windows-mcp"
317
304
  ]
318
305
  }
319
306
  }
320
307
  }
321
308
  ```
309
+ *Note: To run from source, replace the command with `uv` and args with `["--directory", "<path>", "run", "windows-mcp"]`.*
310
+
322
311
 
323
312
  5. Rerun Qwen Code in terminal. Enjoy 🥳
324
313
  </details>
@@ -330,27 +319,22 @@ cd Windows-MCP
330
319
  ```shell
331
320
  npm install -g @openai/codex
332
321
  ```
333
- 2. Clone the repository.
334
322
 
335
- ```shell
336
- git clone https://github.com/CursorTouch/Windows-MCP.git
323
+ 2. Configure the server in `%USERPROFILE%/.codex/config.toml`:
337
324
 
338
- cd Windows-MCP
339
- ```
340
325
  3. Navigate to `%USERPROFILE%/.codex/config.toml`.
341
326
 
342
327
  4. Add the `windows-mcp` config in the `config.toml` and save it.
343
328
 
344
329
  ```toml
345
330
  [mcp_servers.windows-mcp]
346
- command="uv"
331
+ command="uvx"
347
332
  args=[
348
- "--directory",
349
- "<path to the windows-mcp directory>",
350
- "run",
351
- "main.py"
333
+ "windows-mcp"
352
334
  ]
353
335
  ```
336
+ *Note: To run from source, replace the command with `uv` and args with `["--directory", "<path>", "run", "windows-mcp"]`.*
337
+
354
338
 
355
339
  5. Rerun Codex CLI in terminal. Enjoy 🥳
356
340
  </details>
@@ -9,8 +9,8 @@ windows_mcp/tree/config.py,sha256=k-Mjo_yIn0d1AzcEW_bxiaXyBFxBZZSyy7hCNQ3XVp0,10
9
9
  windows_mcp/tree/service.py,sha256=KWdOHY5Q1HU-PJV6vMv_h9KVb5oL_E5vnAW-KICEzfw,24786
10
10
  windows_mcp/tree/utils.py,sha256=6hbxdIQPrAY-I3jcHsRqodHlxboTQj2GnLA71bf1lqY,911
11
11
  windows_mcp/tree/views.py,sha256=6A1bLGVt_MHPTvQt9kbUFoPpIqMI43JZjOSg-_o3ajk,3479
12
- windows_mcp-0.5.3.dist-info/METADATA,sha256=aMbmdQu1I-6gK58_Lyz3lA5ZfbzI9XXRUNwNwOaey7o,14541
13
- windows_mcp-0.5.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
14
- windows_mcp-0.5.3.dist-info/entry_points.txt,sha256=wW8NcVQ_OJK5e5GemZSE_nOKyxfUtBPq2acFLszRwaw,58
15
- windows_mcp-0.5.3.dist-info/licenses/LICENSE.md,sha256=U1UM4Xi_IX-jHnHjGT0rETNia-Ck8gd92iSQMqQ6a8Y,1089
16
- windows_mcp-0.5.3.dist-info/RECORD,,
12
+ windows_mcp-0.5.4.dist-info/METADATA,sha256=E8KB-mhjNa992NRPHAnl5r7nkCuAExc2cTPdrDhNuGY,13537
13
+ windows_mcp-0.5.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
14
+ windows_mcp-0.5.4.dist-info/entry_points.txt,sha256=wW8NcVQ_OJK5e5GemZSE_nOKyxfUtBPq2acFLszRwaw,58
15
+ windows_mcp-0.5.4.dist-info/licenses/LICENSE.md,sha256=U1UM4Xi_IX-jHnHjGT0rETNia-Ck8gd92iSQMqQ6a8Y,1089
16
+ windows_mcp-0.5.4.dist-info/RECORD,,