mcp-control
Click on "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/andrefigueira/mcp-control'
If you have feedback or need assistance with the MCP directory API, please join our Discord server