An MCP Server Integration with Apple Shortcuts
The Apple Shortcuts MCP Server bridges the gap between Large Language Models (LLMs) and the powerful automation capabilities of macOS Shortcuts. This innovative tool, built upon the Model Context Protocol (MCP), empowers AI assistants like Claude to seamlessly trigger and control Shortcuts, opening up a new era of AI-driven productivity on macOS.
At its core, the MCP acts as a universal translator, enabling LLM applications to interact with external data sources and tools in a standardized and secure manner. Think of it as a well-defined API that allows AI assistants to access and utilize local services and APIs, all while maintaining user control and data privacy. This is crucial for building robust and trustworthy AI-powered workflows.
This server acts as the intermediary, translating requests from AI assistants into actionable commands for the macOS Shortcuts application. Specifically, it provides the following key functionalities:
Before diving into the implementation, ensure your environment meets the following requirements:
To enable Claude Desktop to utilize the Apple Shortcuts server, you need to configure its mcpServers
settings. Add the following JSON snippet to your Claude Desktop configuration file:
{ "mcpServers": { "apple-shortcuts": { "command": "npx", "args": ["-y", "mcp-server-apple-shortcuts"] } } }
This configuration instructs Claude to use the mcp-server-apple-shortcuts
package, installed via npx
, as the handler for requests targeting the "apple-shortcuts" server.
For development and advanced customization, building and running the server locally provides greater control and flexibility. Follow these steps:
Clone the Repository:
git clone [email protected]:recursechat/mcp-server-apple-shortcuts.git
Install Dependencies:
npm install
Build the Project:
npm run build
After building the project, update the Claude Desktop configuration to point to the local build:
{ "mcpServers": { "apple-shortcuts": { "command": "npx", "args": ["/path/to/mcp-server-apple-shortcuts/build/index.js"] } } }
Important: Replace /path/to/mcp-server-apple-shortcuts
with the actual path to your cloned repository.
With the server configured and running, you can now interact with your Shortcuts through Claude. Here are some example prompts:
The possibilities are endless, limited only by the creativity of your Shortcuts and the capabilities of your AI assistant.
The Apple Shortcuts MCP Server represents a significant step forward in integrating AI assistants with local system resources. By leveraging the MCP, this server provides a secure and standardized way for AI models to control macOS Shortcuts, unlocking a new level of automation and productivity. As the MCP ecosystem continues to evolve, we can expect even more innovative integrations that empower users to harness the full potential of AI.
๐ ๐ ๐ Allows to read notes and tags for the Bear Note taking app, through a direct integration with Bear's sqlitedb.
๐ An MCP server for basic local taskwarrior usage (add, update, remove tasks)
๐ ๐ An MCP server to list and launch applications on MacOS
๐ โ๏ธ A Model Context Protocol (MCP) server that integrates with Notion's API to manage personal todo lists efficiently.