FS

foxtrottwist/shortcuts-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

11 stars 4 forks 品質 73 トレンド 22MIT

TypeScript MCP server that connects Claude to your macOS Shortcuts. See your available shortcuts and execute workflows with custom input.

概要

A TypeScript MCP server that connects LLMs to your macOS Shortcuts library. Interactive workflows with file pickers, dialogs, and prompts work through AppleScript integration, while CLI handles discovery and management. I wanted to integrate my existing automation workflows with AI assistance. Rather than manually triggering shortcuts outside of my LLM and then copying results back, this server lets me run shortcuts directly within AI conversations for better automation. - : Record what shortcuts do as you use them, building discoverable intent across sessions - : Browse shortcuts by what they do, not just their name — intent matching without prompting - : Pass shortcut names as-is; resolution handles casing automatically - : File pickers, dialogs, and prompts work normally through AppleScript execution - : AppleScript for compatibility + CLI for discovery and management - : Location services, system integrations work with proper permission context - : Interactive workflows and...

README

以下は原文 README の抜粋です。原文を見る。

Shortcuts MCP

A TypeScript MCP server that connects LLMs to your macOS Shortcuts library. Interactive workflows with file pickers, dialogs, and prompts work through AppleScript integration, while CLI handles discovery and management.

Why This Exists

I wanted to integrate my existing automation workflows with AI assistance. Rather than manually triggering shortcuts outside of my LLM and then copying results back, this server lets me run shortcuts directly within AI conversations for better automation.

What You Get

  • Purpose Annotations: Record what shortcuts do as you use them, building discoverable intent across sessions
  • Smart Discovery: Browse shortcuts by what they do, not just their name — intent matching without prompting
  • Case-Insensitive Names: Pass shortcut names as-is; resolution handles casing automatically
  • Interactive Support: File pickers, dialogs, and prompts work normally through AppleScript execution
  • Hybrid Integration: AppleScript for compatibility + CLI for discovery and management
  • Permission Handling: Location services, system integrations work with proper permission context
  • All Shortcut Types: Interactive workflows and automation both work reliably
  • Reliable Execution: No hanging on permission requests or interactive elements
  • Local Usage Tracking: Execution history and preferences stored only on your computer
  • Usage Analytics: Automatic pattern analysis via MCP sampling (when supported)

Installation

  1. Download the latest .mcpb file from Releases
  2. Double-click the .mcpb file or drag it onto Claude Desktop
  3. Click “Install” in the Claude Desktop UI
  4. Restart Claude Desktop

Option 2: Manual Installation

Clone and build locally for development:

git clone https://github.com/foxtrottwist/shortcuts-mcp.git
cd shortcuts-mcp
pnpm install
pnpm build

Add to your MCP client configuration. For Claude Desktop:

{
  "mcpServers": {
    "shortcuts-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/shortcuts-mcp/dist/server.js"]
    }
  }
}

Tested MCP Clients

This server has been tested with the following MCP clients:

How to Use It

Interactive Workflows

Run my "Photo Organizer" shortcut

File pickers and dialogs appear normally for user interaction. All shortcut types work including location-based and permission-requiring workflows.

Finding the Right Shortcut

What shortcuts do I have for file processing?
What shortcuts have I used this week?
Which of my shortcuts work best for photo editing?
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "shortcuts-mcp": { "command": "node", "args": ["/absolute/path/to/shortcuts-mcp/dist/server.js"] } } }