Description

Computer Control MCP provides computer automation capabilities through a server that enables AI assistants to control mouse movements, keyboard input, take screenshots, perform OCR, and manage windows. Built with PyAutoGUI, RapidOCR, and ONNXRuntime, it offers similar functionality to Anthropic's 'computer-use' tool but with zero external dependencies. The implementation supports operations like clicking, typing, dragging, capturing screen content with text recognition, and window management, making it particularly useful for automating desktop tasks and enabling AI systems to interact directly with graphical user interfaces.

Installation

npx -y computer-control-mcp
npm install computer-control-mcp
git clone https://github.com/ab498/computer-control-mcp

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "computer-control": {
      "command": "npx",
      "args": [
        "-y",
        "computer-control-mcp"
      ]
    }
  }
}