computer-control-mcp 0.2.2__tar.gz → 0.2.4__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.2
3
+ Version: 0.2.4
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
@@ -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.2"
152
+ return "0.2.4"
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
 
@@ -513,7 +513,7 @@ def main():
513
513
  try:
514
514
  # Run the server
515
515
  mcp.run()
516
- log("Server Started")
516
+ print("Server Started")
517
517
 
518
518
  except KeyboardInterrupt:
519
519
  log("Server shutting down...")
@@ -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.2"
7
+ version = "0.2.4"
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"