keyboard-maestro-mcp
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., "@keyboard-maestro-mcpRun my morning routine macro"
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.
Keyboard Maestro MCP
An MCP server for Keyboard Maestro. Manage your macros with natural language commands.
What Can You Do?
Instead of digging through menus and clicking buttons, just ask:
Just say... |
"Run my morning routine macro" |
"Create a macro that types my email signature when I press Cmd+Shift+S" |
"What macros have been failing lately? Fix them." |
"Duplicate my 'Open Project' macro and modify it for the new client" |
"Disable all my work macros, I'm on vacation" |
Your AI assistant becomes a power user of your Mac. It can read, create, modify, run, and debug your Keyboard Maestro macros through conversation.
Real-World Examples
Use Case | Example |
Debugging | "My clipboard manager macro stopped working yesterday. Check the logs and tell me what went wrong." |
Bulk Editing | "I have 20 macros that open Chrome. Change them all to open Arc instead." |
Quick Automation | "Make a macro that mounts my NAS drives when I connect to my home WiFi." |
Organization | "Create a new macro group called 'Client Work' and move all macros with 'ACME' in the name into it." |
This MCP gives your AI full access to Keyboard Maestro. It can run, modify, and delete macros. Always review suggested changes before approving them.
Requirements
macOS (Keyboard Maestro is macOS-only)
Keyboard Maestro installed and running
Node.js v18+
Quick Start
git clone https://github.com/saihgupr/keyboard-maestro-mcp.git
cd keyboard-maestro-mcp
npm install
npm run setupThe setup wizard will configure your AI client automatically. It supports:
Claude Desktop
Cursor
VS Code (Copilot)
Windsurf
Antigravity
Any MCP-compatible client
Available Tools
Macro Management
Tool | What it does |
| Find macros by name |
| List all macros |
| Get macro details |
| Export a macro's full definition |
| Build a new macro |
| Duplicate an existing macro |
| Remove a macro |
| Turn macros on/off |
| Execute a macro right now |
| Organize macro groups |
Action Editing
Tool | What it does |
| See all steps in a macro |
| Add a new step |
| Reorder steps |
| Remove a step |
| Export a step's definition |
| Replace a step |
| Find and replace text in a step |
Trigger Editing
Tool | What it does |
| Add a new trigger |
| Remove a trigger |
| Export a trigger |
| Replace a trigger |
Variables and Logs
Tool | What it does |
| Read, write, or delete KM variables |
| Find recent macro failures |
| Search the engine log |
Testing Your Setup
Quick check:
npm run verifyInteractive testing:
npx @modelcontextprotocol/inspector node build/index.jsManual Configuration
If you prefer to configure manually, add this to your AI client's MCP config:
{
"mcpServers": {
"keyboard-maestro": {
"command": "node",
"args": ["/path/to/keyboard-maestro-mcp/build/index.js"]
}
}
}Support
Having issues? Open an issue on GitHub
If you like this project, please consider giving the repo a ⭐ star!
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
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/saihgupr/keyboard-maestro-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server