mcp-control
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-controlOpen Safari and go to github.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: device-controller-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
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that allows AI tools like Claude Desktop, Claude Code, and Cursor to visually interact with macOS applications by capturing screenshots and controlling the mouse and keyboard.14-
- AlicenseNot gradedqualityBmaintenanceAn MCP server that lets Claude Desktop and Claude Code control your PC — take screenshots, click, type, manage windows, and more.MIT
- AlicenseNot gradedqualityAmaintenanceMCP server that enables Claude to control your computer, similar to Anthropic's computer use but easy to set up locally.236362MIT
- 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.MIT