mac-use
Enables control of the local macOS desktop, providing tools for screenshots, mouse movement and clicking, dragging, scrolling, typing text, and sending keyboard shortcuts with modifiers.
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., "@mac-useTake a screenshot of my screen and describe what you see."
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.
Mac Use
Local Mac desktop control for Grok and Cursor via a bundled stdio MCP server.
HID input matches Dottie: CGEvent posted on .cghidEventTap. Coordinates are screen points (main display, origin top-left). Screenshots are resized to that size, so image pixels and clicks share one space.
What it is
Surface | Use when |
Mac Use (this plugin) | Native Mac apps, Finder, system UI on the user Mac |
Browser Use | The task is primarily a website |
Remote Linux desktop | Work on a box desktop — not this plugin |
Prefer the smallest surface that fits.
Related MCP server: macinput
Install
Grok
grok plugin install /path/to/mac-use --trustOr add the folder under ~/.grok/plugins/ (auto-trusted) and enable it.
Cursor
mkdir -p ~/.cursor/plugins/local
ln -s /path/to/mac-use ~/.cursor/plugins/local/mac-use
cd ~/.cursor/plugins/local/mac-use && npm installThen Developer: Reload Window. Call mac_use_status.
First input/screenshot compiles server/helper.swift with swiftc (Xcode or CLT).
macOS permissions
Grant Accessibility and Screen Recording to:
mac-use-helper(built next to the Swift source)The host that launched the MCP server (Grok, Cursor, or Terminal)
mac_use_status requests the TCC prompt and opens the matching Settings pane when a grant is missing. After you flip the toggle, quit and reopen Grok.
Tools
Tool | Purpose |
| Platform, AX / Screen Recording, driver |
| Main display points (origin top-left) |
| PNG whose pixels match those points |
| Absolute |
| HID click at points (or current cursor) |
| Left-button drag in points |
| Unicode into the focused app (no clipboard) |
| Key + modifiers; destructive chords need |
| HID wheel at |
Always screenshot after acting. Confirm before destructive actions. Do not paste secrets from chat into type_text.
Agent loop
mac_use_statusscreenshot(orget_screen_size)One action in those points
Screenshot again
Dev
cd ~/Desktop/projects/mac-use
npm install
npm run build-helper
npm test
npm start # stdio MCPEntry:
server/index.jsDriver:
server/driver-impl.js→server/helper.swiftCursor:
.cursor-plugin/plugin.json+mcp.jsonGrok:
plugin.json+.mcp.jsonSkill:
skills/mac-use/SKILL.md
License
MIT / Steve Derico
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn 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
- Alicense-qualityDmaintenanceAn MCP server for macOS that enables AI agents to control the desktop GUI through keyboard input, mouse actions, and screen captures. It provides stable low-level primitives for UI automation and agent-driven desktop workflows.MIT
- Alicense-qualityCmaintenanceStandalone MCP server that gives AI agents full GUI control over macOS — screenshots, mouse, keyboard, apps, clipboard, and multi-display — with zero private dependencies.16MIT
- Alicense-qualityBmaintenanceMCP server for AI agents to control a Mac via screen and mouse/keyboard, supporting Anthropic Claude and OpenAI for task automation.203Apache 2.0
Related MCP Connectors
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/stevederico/mac-use'
If you have feedback or need assistance with the MCP directory API, please join our Discord server