mcp-server-apple-shortcuts
by: recursechat
mcp server apple shortcuts
๐Overview
Purpose: The Apple Shortcuts MCP server enables AI assistants to control and automate tasks using Apple Shortcuts on macOS through a secure and manageable interface.
Overview: This server implements the Model Context Protocol (MCP) to facilitate interaction between AI applications, like Claude, and Apple Shortcuts. It provides a controlled environment where AI can trigger shortcuts, enhancing automation capabilities on macOS.
Key Features:
-
Shortcut Listing: Enables AI assistants to list all available shortcuts, providing users visibility over automation options.
-
Shortcut Execution: Allows AI to run specific shortcuts by name, optionally accepting input parameters to customize the execution, making it versatile for various tasks.
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 provides 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:
- Node.js (v18 or higher)
- Claude Desktop installed
- macOS with Shortcuts app configured
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 ๐ ๏ธ
- Clone this repository:
git clone git@github.com:recursechat/mcp-server-apple-shortcuts.git
- Install dependencies:
npm install
- Build the project:
npm run build
Here is 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 to "list shortcuts" or run a specific shortcut by name, for example, "get word of the day" or "play a song".
License โ๏ธ
Apache-2.0