mcp-server-siri-shortcuts

MCP.Pizza Chef: dvcrn

Three basic tools list your Shortcuts, open one for editing, and run one by name, and by default it also creates a separate tool for every single Shortcut you own, which can crowd the tool list badly on a busy Mac. A setting turns that off. Anything a Shortcut can do, whether sending a message, controlling the lights, or moving a file, your assistant can now trigger, so look over what you have before switching it on. macOS only, and nothing to sign into.

Communication
Other

Use This MCP server To

Run a Shortcut I already built, just by asking See a list of every Shortcut on my Mac Pass a note or a file into a Shortcut Open a Shortcut so I can edit it Trigger a home automation without touching my phone

README

Siri Shortcuts MCP Server

This MCP server provides access to Siri shortcuts functionality via the Model Context Protocol (MCP). It allows listing, opening, and running shortcuts from the macOS Shortcuts app.

screenshot

Features

  • Exposes all shortcuts, meaning the LLM can call anything that is available in the Shortcuts app.
  • List all available shortcuts
  • Open shortcuts in the Shortcuts app
  • Run shortcuts with optional input parameters
  • Dynamically generated tools for each available shortcut

Tools

Base Tools

  1. list_shortcuts

    • Lists all available Siri shortcuts on the system
    • No input required
    • Returns: Array of shortcut names
    {
      "shortcuts": [{ "name": "My Shortcut 1" }, { "name": "My Shortcut 2" }]
    }
  2. open_shortcut

    • Opens a shortcut in the Shortcuts app
    • Input:
      • name (string): Name of the shortcut to open
  3. run_shortcut

    • Runs a shortcut with optional input
    • Input:
      • name (string): Name or identifier (UUID) of the shortcut to run
      • input (string, optional): Text input or filepath to pass to the shortcut

Dynamic Tools

The server automatically generates additional tools for each available shortcut in the format:

  • Tool name: run_shortcut_[sanitized_shortcut_name]
  • Description: Runs the specific shortcut
  • Input:
    • input (string, optional): Text input or filepath to pass to the shortcut

Configuration

The server supports the following environment variables:

  • GENERATE_SHORTCUT_TOOLS (default: true): When set to false, disables the generation of dynamic shortcut tools. Only the base tools (list_shortcuts, open_shortcut, run_shortcut) will be available.
  • INJECT_SHORTCUT_LIST (default: false): When set to true, injects the list of available shortcuts into the run_shortcut tool description to help the LLM understand which shortcuts are available.

Usage with Claude

Add to your Claude configuration:

{
  "mcpServers": {
    "siri-shortcuts": {
      "command": "npx",
      "args": ["mcp-server-siri-shortcuts"],
      "env": {
        "GENERATE_SHORTCUT_TOOLS": "true",
        "INJECT_SHORTCUT_LIST": "false"
      }
    }
  }
}

Implementation Details

  • Uses the macOS shortcuts CLI command under the hood
  • Sanitizes shortcut names for tool naming compatibility
  • Supports both direct text input and file-based input
  • Returns shortcut output when available
  • Implements standard MCP error handling

mcp-server-siri-shortcuts FAQ

Does this work on Windows or Linux?
No. It calls the macOS Shortcuts program directly, so a Mac is required.
Do I need a key or token?
No. It uses the Shortcuts already on your machine and asks for no sign-in at all.
Can I use this to send a message or control my lights?
Yes, if a Shortcut on your Mac already does that. It runs your existing Shortcuts rather than building new ones.
Will it show every Shortcut I have?
Yes, all of them, and by default it also creates one tool per Shortcut. Setting GENERATE_SHORTCUT_TOOLS to false leaves just the three basic tools.
Is it safe?
Take it seriously. Your assistant can start any Shortcut you own, including ones that send messages or change files, with no confirmation step in between.
How hard is the setup?
You paste a few lines into your assistant's config file. Nothing needs installing first beyond having Shortcuts on the Mac.