mcp-server-apple-shortcuts

MCP.Pizza Chef: recursechat

The mcp-server-apple-shortcuts is a Model Context Protocol (MCP) server that empowers AI assistants like Claude to interact with and control Apple Shortcuts automations on macOS. It allows AI models to list available shortcuts, execute them by name with optional input parameters, and manage automation tasks in a secure, user-controlled environment. This server bridges AI capabilities with local macOS automation, enabling seamless task automation and enhanced productivity through AI-driven shortcut execution.

Use This MCP server To

Trigger Apple Shortcuts automations via AI assistants List available Apple Shortcuts for user selection Run shortcuts with dynamic input parameters Automate repetitive macOS tasks through AI Integrate AI-driven workflows with Apple Shortcuts

README

Apple Shortcuts MCP Server πŸ€–

A Model Context Protocol (MCP) server that lets AI assistants like Claude control Apple Shortcuts automations. This enables AI models to trigger shortcuts and automate tasks on macOS in a safe and controlled way.

What is MCP? πŸ€”

The Model Context Protocol (MCP) is a system that lets AI apps, like Claude Desktop, connect to external tools and data sources. It gives a clear and safe way for AI assistants to work with local services and APIs while keeping the user in control.

What does this server do? πŸš€

The Apple Shortcuts MCP server:

  • Enables AI assistants to list available shortcuts
  • Allows running shortcuts by name with optional input parameters
  • Provides a simple interface for automation control

Prerequisites πŸ“‹

Before you begin, ensure you have:

Configuration to use Apple Shortcuts Server βš™οΈ

Here's the Claude Desktop configuration to use the Apple Shortcuts server:

{
  "mcpServers": {
    "apple-shortcuts": {
      "command": "npx",
      "args": ["-y", "mcp-server-apple-shortcuts"]
    }
  }
}

Build Apple Shortcuts Server and run locally πŸ› οΈ

  1. Clone this repository:
git clone git@github.com:recursechat/mcp-server-apple-shortcuts.git
  1. Install dependencies:
npm install
  1. Build project
npm run build

Here's the Claude Desktop configuration to use the Apple Shortcuts server with a local build:

{
  "mcpServers": {
    "apple-shortcuts": {
      "command": "npx",
      "args": ["/path/to/mcp-server-apple-shortcuts/build/index.js"],
    }
  }
}

Usage 🎯

You can ask Claude "list shortcuts" or run a specific shortcut with the shortcut name, for example "get word of the day" or "play a song".

License βš–οΈ

Apache-2.0

mcp-server-apple-shortcuts FAQ

How does the mcp-server-apple-shortcuts ensure user control and safety?
It operates within the MCP framework, providing a secure interface that requires explicit user permission to list and run Apple Shortcuts, ensuring AI actions are controlled and transparent.
Can I pass input parameters to shortcuts when using this MCP server?
Yes, the server supports running shortcuts by name with optional input parameters, allowing dynamic and flexible automation triggered by AI.
Is this MCP server compatible with multiple AI assistants?
Yes, it is designed to work with various AI assistants that support MCP, including Claude, OpenAI models, and Gemini, enabling broad integration.
What platforms does the mcp-server-apple-shortcuts support?
It is specifically designed for macOS environments where Apple Shortcuts are available, leveraging native automation capabilities.
How do I install and start using the mcp-server-apple-shortcuts?
You can install it via npm from the package 'mcp-server-apple-shortcuts' and configure it to connect with your AI assistant following the MCP protocol guidelines.
Can this server list all available Apple Shortcuts?
Yes, it provides functionality to list all shortcuts accessible on the macOS device, enabling AI assistants to present options or select shortcuts programmatically.
Does the server support complex shortcut workflows?
The server can trigger any Apple Shortcut, including those with complex workflows, as long as they are accessible and executable on the macOS system.
How does this MCP server integrate with the broader MCP ecosystem?
It acts as a lightweight adapter exposing Apple Shortcuts as structured data and callable functions, fitting seamlessly into MCP clients and hosts for real-time AI interaction.