mcp-control
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-control
MCP server that gives Claude Code full mouse, keyboard, and app control on macOS. Tell Claude what to do and watch it operate your computer.
Pair with mcp-screen for vision + control.
Setup
Add to ~/.claude/settings.json:
{
"mcpServers": {
"control": {
"command": "npx",
"args": ["mcp-control"]
}
}
}Restart Claude Code. Done.
Related MCP server: computer-use-mcp
Usage
Just tell Claude what to do:
"Open Safari and go to github.com"
"Click the search box and type my query"
"Fill in this form - name is Andre, email is..."
"Switch to Slack and send a message"
"Scroll down on this page"
Tools
Mouse
Tool | Description |
| Move cursor to (x, y) |
| Click at (x, y) with left/right, single/double/triple |
| Drag from one point to another |
| Scroll up/down/left/right |
| Get current cursor coordinates |
Keyboard
Tool | Description |
| Type a string into the focused field |
| Press a key combo (e.g. cmd+c, tab, enter) |
App Control
Tool | Description |
| Get focused app name and bundle ID |
| Bring an app to the front |
| List all visible windows with positions and sizes |
Batch
Tool | Description |
| Execute a sequence of actions in one call - click, type, press keys, switch apps |
The run_actions tool is the key for speed. Instead of one tool call per action (each with Claude think time), it batches everything into a single round-trip.
How It Works
Uses macOS Core Graphics events via JXA (JavaScript for Automation) and AppleScript. Zero external dependencies - just built-in macOS tools.
Mouse control: CGEvent API (sub-millisecond)
Keyboard: AppleScript keystroke (handles Unicode)
Key combos: CGEvent with modifier flags
App control: AppleScript
Permissions
Your terminal needs Accessibility permission:
System Settings > Privacy & Security > Accessibility - enable your terminal app.
Requirements
macOS
Node.js >= 18
Author
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Hosted X (Twitter) MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Hosted Web Crawler MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Hosted YouTube MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn MCP server that lets Claude Desktop and Claude Code control your PC — take screenshots, click, type, manage windows, and more.MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that enables Claude to control your computer, similar to Anthropic's computer use but easy to set up locally.2,318 npm396MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that lets Claude operate your real computer by moving the actual mouse, clicking, typing, and reading the actual screen, working with your own logged-in sessions in any application.55 PyPI1MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for AI agents to control a Mac via screen and mouse/keyboard, supporting Anthropic Claude and OpenAI for task automation.236 npmApache 2.0