About computer-control-mcp
computer-control-mcp is an MCP server published by AB498 in the Developer Tools category: mCP server that provides computer control capabilities, like mouse, keyboard, OCR, etc. using PyAutoGUI, RapidOCR, ONNXRuntime. Similar to 'computer-use' by Anthropic. With Zero External Dependencies. Conduid read 16 tools from its source: activate_window, click_screen, drag_mouse, execute_actions, get_screen_size, key_down and 10 more. It is published to PyPI as computer-control-mcp and runs with uvx.
The repository has 176 stars and 40 forks, is licensed MIT, and its last commit was on 22 Nov 2026. Conduid has no tagged release on record for it. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include computer-use, devtools and automation.
Install
claude mcp add computer-control-mcp -- uvx computer-control-mcp@latestuvx computer-control-mcp@latestuvx computer-control-mcppip install computer-control-mcpgit clone https://github.com/AB498/computer-control-mcpTools (16)
activate_windowActivate a window (bring it to the foreground) by matching its title.| Parameter | Type | Description |
|---|---|---|
| threshold | integer | Minimum score (0-100) required for a fuzzy match |
| title_pattern * | string | Pattern to match window title |
| use_regex | boolean | If True, treat the pattern as a regex, otherwise use fuzzy matching |
click_screenClick at the specified screen coordinates.| Parameter | Type | Description |
|---|---|---|
| x * | integer | |
| y * | integer |
drag_mouseDrag the mouse from one position to another.| Parameter | Type | Description |
|---|---|---|
| duration | number | Duration of the drag in seconds (default: 0.5) |
| from_x * | integer | Starting X coordinate |
| from_y * | integer | Starting Y coordinate |
| to_x * | integer | Ending X coordinate |
| to_y * | integer | Ending Y coordinate |
execute_actionsExecute a batch/sequence of computer control actions in a single tool call.| Parameter | Type | Description |
|---|---|---|
| actions * | array | Sequential list of action objects to execute. |
| fail_fast | boolean | If True (default), stops on first failed action. If False, continues executing remaining actions. |
| failsafe | boolean | Optional bool to override pyautogui.FAILSAFE during execution. |
get_screen_sizeGet the current screen resolution.key_downHold down a specific keyboard key until released.| Parameter | Type | Description |
|---|---|---|
| key * | string |
key_upRelease a specific keyboard key.| Parameter | Type | Description |
|---|---|---|
| key * | string |
list_windowsList all open windows on the system.mouse_downHold down a mouse button ('left', 'right', 'middle').| Parameter | Type | Description |
|---|---|---|
| button | string |
mouse_upRelease a mouse button ('left', 'right', 'middle').| Parameter | Type | Description |
|---|---|---|
| button | string |
move_mouseMove the mouse to the specified screen coordinates.| Parameter | Type | Description |
|---|---|---|
| duration | number | Duration of movement in seconds (default: 0.25 when smooth=True, 0.0 when False) |
| smooth | boolean | If True, smoothly glide the cursor; if False, move instantly (default: True) |
| x * | integer | Target X screen coordinate |
| y * | integer | Target Y screen coordinate |
press_keysPress keyboard keys.| Parameter | Type | Description |
|---|---|---|
| keys * | any |
take_screenshotGet screenshot Image as MCP Image object. If no title pattern is provided, get screenshot of entire screen and all text on the screen.| Parameter | Type | Description |
|---|---|---|
| save_to_downloads | boolean | If True, save the screenshot to the downloads directory and return the absolute path |
| scale_percent_for_ocr | integer | Percentage to scale the image down before processing, you wont need this most of the time unless your pc is extremely old or slow |
| threshold | integer | Minimum score (0-100) required for a fuzzy match |
| title_pattern | string | Pattern to match window title, if None, take screenshot of entire screen |
| use_regex | boolean | If True, treat the pattern as a regex, otherwise best match with fuzzy matching |
| use_wgc | boolean | If True, use Windows Graphics Capture API for window capture (recommended for GPU-accelerated windows) |
take_screenshot_with_ocrGet OCR text from screenshot with absolute coordinates as JSON string of List[Tuple[List[List[int]], str, float]] (returned after adding the window offset from true (0, 0) of screen to the OCR coordinates, so clicking is on-point. Recommended to click in the middle of OCR Box) and using confidence from window with the specified title pattern. If no title pattern is provided, get screenshot of entire screen and all text on the screen. Know that OCR takes around 20 seconds on an mid-spec pc at 1080p resolution.| Parameter | Type | Description |
|---|---|---|
| save_to_downloads | boolean | If True, save the screenshot to the downloads directory and return the absolute path |
| scale_percent_for_ocr | integer | Percentage to scale the image down before processing, you wont need this most of the time unless your pc is extremely old or slow |
| threshold | integer | Minimum score (0-100) required for a fuzzy match |
| title_pattern | string | Pattern to match window title, if None, take screenshot of entire screen |
| use_regex | boolean | If True, treat the pattern as a regex, otherwise best match with fuzzy matching |
type_textType the specified text at the current cursor position.| Parameter | Type | Description |
|---|---|---|
| text * | string |
wait_millisecondsWait for a specified number of milliseconds.| Parameter | Type | Description |
|---|---|---|
| milliseconds * | integer | Number of milliseconds to wait |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 889 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 7 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/computer_control_mcp/core.py:1328
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 8 callssrc/computer_control_mcp/cli.py:83, src/computer_control_mcp/core.py:239, src/computer_control_mcp/core.py:311
- Lockfile
- uv.lock
Pattern matches on the source text of 7 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 889 words, fetched a month ago. The original in the repository is authoritative.
Read full README