{"id":29113392,"url":"https://github.com/ab498/computer-control-mcp","last_synced_at":"2025-06-29T11:07:08.002Z","repository":{"id":287168408,"uuid":"963851759","full_name":"AB498/computer-control-mcp","owner":"AB498","description":"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.","archived":false,"fork":false,"pushed_at":"2025-05-03T09:07:17.000Z","size":5354,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T13:06:22.884Z","etag":null,"topics":["automation","computer-use","mcp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AB498.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-10T10:01:21.000Z","updated_at":"2025-06-16T07:57:05.000Z","dependencies_parsed_at":"2025-04-25T20:27:25.077Z","dependency_job_id":"6d037a33-7b2f-4c14-896d-3f12808852a9","html_url":"https://github.com/AB498/computer-control-mcp","commit_stats":null,"previous_names":["ab498/computer-control-mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AB498/computer-control-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AB498%2Fcomputer-control-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AB498%2Fcomputer-control-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AB498%2Fcomputer-control-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AB498%2Fcomputer-control-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AB498","download_url":"https://codeload.github.com/AB498/computer-control-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AB498%2Fcomputer-control-mcp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262581351,"owners_count":23331912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","computer-use","mcp"],"created_at":"2025-06-29T11:05:30.335Z","updated_at":"2025-06-29T11:07:07.949Z","avatar_url":"https://github.com/AB498.png","language":"Python","readme":"# Computer Control MCP\n\n### 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.\n\n* *Only tested on Windows. Should work on other platforms.*\n\n\u003cdiv style=\"text-align:center;font-family: monospace; display: flex; align-items: center; justify-content: center; width: 100%; gap: 10px\"\u003e\n        \u003ca href=\"https://discord.gg/ZeeqSBpjU2\"\u003e\u003cimg src=\"https://img.shields.io/discord/1095854826786668545\" alt=\"Discord\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://img.shields.io/badge/License-MIT-yellow.svg\"\u003e\u003cimg\n                src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"License: MIT\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n---\n\n![MCP Computer Control Demo](https://github.com/AB498/computer-control-mcp/blob/main/demonstration.gif?raw=true)\n\n## Quick Usage (MCP Setup Using `uvx`)\n\n***Note:** Running `uvx computer-control-mcp@latest` for the first time will download python dependencies (around 70MB) which may take some time. Recommended to run this in a terminal before using it as MCP. Subsequent runs will be instant.* \n\n```json\n{\n  \"mcpServers\": {\n    \"computer-control-mcp\": {\n      \"command\": \"uvx\",\n      \"args\": [\"computer-control-mcp@latest\"]\n    }\n  }\n}\n```\n\nOR install globally with `pip`:\n```bash\npip install computer-control-mcp\n```\nThen run the server with:\n```bash\ncomputer-control-mcp # instead of uvx computer-control-mcp, so you can use the latest version, also you can `uv cache clean` to clear the cache and `uvx` again to use latest version.\n```\n\n## Features\n\n- Control mouse movements and clicks\n- Type text at the current cursor position\n- Take screenshots of the entire screen or specific windows with optional saving to downloads directory\n- Extract text from screenshots using OCR (Optical Character Recognition)\n- List and activate windows\n- Press keyboard keys\n- Drag and drop operations\n\n## Available Tools\n\n### Mouse Control\n- `click_screen(x: int, y: int)`: Click at specified screen coordinates\n- `move_mouse(x: int, y: int)`: Move mouse cursor to specified coordinates\n- `drag_mouse(from_x: int, from_y: int, to_x: int, to_y: int, duration: float = 0.5)`: Drag mouse from one position to another\n\n### Keyboard Control\n- `type_text(text: str)`: Type the specified text at current cursor position\n- `press_key(key: str)`: Press a specified keyboard key\n\n### Screen and Window Management\n- `take_screenshot(title_pattern: str = None, use_regex: bool = False, threshold: int = 60, with_ocr_text_and_coords: bool = False, scale_percent_for_ocr: int = 100, save_to_downloads: bool = False)`: Capture screen or window with optional OCR\n- `get_screen_size()`: Get current screen resolution\n- `list_windows()`: List all open windows\n- `activate_window(title_pattern: str, use_regex: bool = False, threshold: int = 60)`: Bring specified window to foreground\n\n## Development\n\n### Setting up the Development Environment\n\n```bash\n# Clone the repository\ngit clone https://github.com/AB498/computer-control-mcp.git\ncd computer-control-mcp\n\n# Install in development mode\npip install -e .\n\n# Start server\npython -m computer_control_mcp.core\n```\n\n### Running Tests\n\n```bash\npython -m pytest\n```\n\n## API Reference\n\nSee the [API Reference](docs/api.md) for detailed information about the available functions and classes.\n\n## License\n\nMIT\n\n## For more information or help\n\n- [Email (abcd49800@gmail.com)](mailto:abcd49800@gmail.com)\n- [Discord (CodePlayground)](https://discord.gg/ZeeqSBpjU2)\n","funding_links":[],"categories":["Code Execution \u0026 Automation MCP Servers","Browser Automation"],"sub_categories":["How to Submit"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fab498%2Fcomputer-control-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fab498%2Fcomputer-control-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fab498%2Fcomputer-control-mcp/lists"}