computer-control-mcp 0.2.1__tar.gz → 0.2.3__tar.gz

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: computer-control-mcp
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Computer control capabilities using PyAutoGUI through a Model Context Protocol (MCP) server
5
5
  Project-URL: Homepage, https://github.com/AB498/computer-control-mcp
6
6
  Project-URL: Issues, https://github.com/AB498/computer-control-mcp/issues
@@ -18,10 +18,12 @@ Classifier: Topic :: Utilities
18
18
  Requires-Python: >=3.12
19
19
  Requires-Dist: fuzzywuzzy
20
20
  Requires-Dist: mcp[cli]
21
+ Requires-Dist: onnxruntime
21
22
  Requires-Dist: opencv-python
22
23
  Requires-Dist: pillow
23
24
  Requires-Dist: pyautogui
24
25
  Requires-Dist: pygetwindow
26
+ Requires-Dist: rapidocr
25
27
  Requires-Dist: rapidocr-onnxruntime
26
28
  Description-Content-Type: text/markdown
27
29
 
@@ -36,7 +38,7 @@ MCP server that provides computer control capabilities, like mouse, keyboard, OC
36
38
  "mcpServers": {
37
39
  "computer-control-mcp": {
38
40
  "command": "uvx",
39
- "args": ["computer-control-mcp"]
41
+ "args": ["computer-control-mcp@latest"]
40
42
  }
41
43
  }
42
44
  }
@@ -9,7 +9,7 @@ MCP server that provides computer control capabilities, like mouse, keyboard, OC
9
9
  "mcpServers": {
10
10
  "computer-control-mcp": {
11
11
  "command": "uvx",
12
- "args": ["computer-control-mcp"]
12
+ "args": ["computer-control-mcp@latest"]
13
13
  }
14
14
  }
15
15
  }
@@ -149,7 +149,7 @@ def _find_matching_window(
149
149
  @mcp.tool()
150
150
  def tool_version() -> str:
151
151
  """Get the version of the tool."""
152
- return "0.2.1"
152
+ return "0.2.3"
153
153
 
154
154
 
155
155
  @mcp.tool()
@@ -351,7 +351,7 @@ def get_ocr_from_screenshot(
351
351
  dim = (width, height)
352
352
  resized_img = cv2.resize(img, dim, interpolation=cv2.INTER_AREA)
353
353
  # save resized image to pwd
354
- cv2.imwrite("resized_img.png", resized_img)
354
+ # cv2.imwrite("resized_img.png", resized_img)
355
355
  engine = RapidOCR()
356
356
  vis = VisRes()
357
357
 
@@ -291,7 +291,7 @@ def get_ocr_from_screenshot(
291
291
  dim = (width, height)
292
292
  resized_img = cv2.resize(img, dim, interpolation=cv2.INTER_AREA)
293
293
  # save resized image to pwd
294
- cv2.imwrite("resized_img.png", resized_img)
294
+ # cv2.imwrite("resized_img.png", resized_img)
295
295
  engine = RapidOCR()
296
296
  vis = VisRes()
297
297
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "computer-control-mcp"
7
- version = "0.2.1"
7
+ version = "0.2.3"
8
8
  description = "Computer control capabilities using PyAutoGUI through a Model Context Protocol (MCP) server"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -27,6 +27,8 @@ dependencies = [
27
27
  "pillow",
28
28
  "pygetwindow",
29
29
  "fuzzywuzzy",
30
+ "rapidocr",
31
+ "onnxruntime",
30
32
  "rapidocr_onnxruntime",
31
33
  "opencv-python"
32
34
  ]