MCP server
by steipete
Automate macOS tasks with AppleScript and JavaScript. Control apps, files, and system efficiently using macOS Automator'
Automates macOS tasks by executing AppleScript and JavaScript for Automation scripts to control applications, files, and system functions. Includes 200+ pre-built automation recipes for common Mac operations.
macOS Automator is a community-built MCP server published by steipete that provides AI assistants with tools and capabilities via the Model Context Protocol. Automate macOS tasks with AppleScript and JavaScript. Control apps, files, and system efficiently using macOS Automator' It is categorized under productivity, developer tools. This server exposes 2 tools that AI clients can invoke during conversations and coding sessions.
You can install macOS Automator in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
macOS Automator is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
We evaluated macOS Automator against two servers with overlapping tools; this profile had the clearer scope statement.
We wired macOS Automator into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
macOS Automator reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
Useful MCP listing: macOS Automator is the kind of server we cite when onboarding engineers to host + tool permissions.
We evaluated macOS Automator against two servers with overlapping tools; this profile had the clearer scope statement.
macOS Automator reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
Useful MCP listing: macOS Automator is the kind of server we cite when onboarding engineers to host + tool permissions.
Strong directory entry: macOS Automator surfaces stars and publisher context so we could sanity-check maintenance before adopting.
I recommend macOS Automator for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
We wired macOS Automator into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
showing 1-10 of 30

Welcome to the automated future where your Mac finally does what you tell it to! This Model Context Protocol (MCP) server transforms your AI assistant into a silicon-based intern who actually knows AppleScript and JavaScript for Automation (JXA).
No more copy-pasting scripts like a caveman - let the robots handle the robot work! Our knowledge base contains over 200 pre-programmed automation sequences, loaded faster than you can say "Hey Siri, why don't you work like this?"
docs/automation-permissions-example.png (placeholder image).The easiest way to deploy your automation army is via npx. No installation needed - just pure robot magic!
Add this to your MCP client's mcp.json and watch the automation begin:
{
"mcpServers": {
"macos_automator": {
"command": "npx",
"args": [
"-y",
"@steipete/macos-automator-mcp@latest"
]
}
}
}
Want to tinker with the robot's brain? Clone the repo and become a robot surgeon!
Clone the repository:
git clone https://github.com/steipete/macos-automator-mcp.git
cd macos-automator-mcp
npm install # Ensure dependencies are installed
Configure your MCP client:
Update your MCP client's configuration to point to the absolute path of the start.sh script within your cloned repository.
Example mcp.json configuration snippet:
{
"mcpServers": {
"macos_automator_local": {
"command": "/absolute/path/to/your/cloned/macos-automator-mcp/start.sh",
"env": {
"LOG_LEVEL": "DEBUG"
}
}
}
}
Important: Replace /absolute/path/to/your/cloned/macos-automator-mcp/start.sh with the correct absolute path on your system.
The start.sh script will automatically use tsx to run the TypeScript source directly if a compiled version is not found, or run the compiled version from dist/ if available. It respects the LOG_LEVEL environment variable.
Note for Developers: The start.sh script, particularly if modified to remove any pre-existing compiled dist/server.js before execution (e.g., by adding rm -f dist/server.js), is designed to ensure you are always running the latest TypeScript code from the src/ directory via tsx. This is ideal for development to prevent issues with stale builds. For production deployment (e.g., when published to npm), a build process would typically create a definitive dist/server.js which would then be the entry point for the published package.
execute_script - The Script Launcher 9000Your robot's primary weapon for macOS domination. Feed it AppleScript or JXA, and watch the magic happen!
Scripts can be provided as inline content (script_content), an absolute file path (script_path), or by referencing a script from the built-in knowledge base using its unique kb_script_id.
Script Sources (mutually exclusive):
script_content (string): Raw script code.script_path (string): Absolute POSIX path to a script file (e.g., .applescript, .scpt, .js).kb_script_id (string): The ID of a pre-defined script from the server's knowledge base. Use the get_scripting_tips tool to discover available script IDs and their functionalities.Language Specification:
language (enum: 'applescript' | 'javascript', optional): Specify the language.
kb_script_id, the language is inferred from the knowledge base script.script_content or script_path and language is omitted, it defaults to 'applescript'.Passing Inputs to Scripts:
arguments (array of strings, optional):
script_path: Passed as standard arguments to the script's on run argv (AppleScript) or run(argv) (JXA) handler.kb_script_id: Used if the pre-defined script is designed to accept positional string arguments (e.g., replaces placeholders like --MCP_ARG_1, --MCP_ARG_2). Check the script's argumentsPrompt from get_scripting_tips.input_data (JSON object, optional):
kb_script_id scripts designed to accept named, structured inputs.--MCP_INPUT:yourKeyName). See argumentsPrompt from get_scripting_tips.Other Options:
timeout_seconds (integer, optional, default: 60): Maximum execution time.output_format_mode (enum, optional, default: 'auto'): Controls osascript output formatting flags.
'auto': (Default) Uses human-readable for AppleScript (-s h), and direct output (no -s flags) for JXA.'human_readable': Forces -s h (human-readable output, mainly for AppleScript).'structured_error': Forces -s s (structured error reporting, mainly for AppleScript).'structured_output_and_error': Forces -s ss (structured output for main result and errors, mainly for AppleScript).'direct': No -s flags are used (recommended for JXA, also the behavior for JXA in auto mode).include_executed_script_in_output (boolean, optional, default: false): If true, the output will include the full script content (after any placeholder substitutions for knowledge base scripts) or the script path that was executed. This is appended as an additional text part in the output content array.include_substitution_logs (boolean, optional, default: false): If true, detailed logs of placeholder substitutions performed on knowledge base scripts are included in the output. This is useful for debugging how input_data and arguments are processed and inserted into the script. The logs are prepended to the script output on success or appended to the error message on failure.report_execution_time (boolean, optional, default: false): If true, an additional message with the formatted script execution time will be included in the response content array.SECURITY WARNING & MACOS PERMISSIONS: (Same critical warnings as before about arbitrary script execution and macOS Automation/Accessibility permissions).
Examples:
{
"toolName": "execute_script",
"input": {
"kb_script_id": "safari_get_active_tab_url",
"timeout_seconds": 10
}
}
input_data:
{
"toolName": "execute_script",
"input": {
"kb_script_id": "finder_create_folder_at_path",
"input_data": {
"folder_name": "New MCP Folder",
"parent_path": "~/Desktop"
}
}
}
Response Format:
The execute_script tool returns a response in the following format:
{
content: Array<{
type: 'text';
text: string;
}>;
isError?: boolean;
}
content: An array of text content items containing the script outputisError: (boolean, optional) Set to true when the script execution produced an error. This flag is set when:
Example Response (Success):
{
"content": [{
"type": "text",
"text": "Script executed successfully"
}]
}
Example Response (Error):
{
"content": [{
"type": "text",
"text": "Error: Cannot find application 'Safari'"
}],
"isError": true
}
get_scripting_tips - The Robot's EncyclopediaYour personal automation librari
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.