Apple Shortcuts MCP Server 🤖

Apple Shortcuts MCP Server 🤖

Apple Shortcuts MCP Server 使像 Claude 这样的 AI 助手能够通过基于 Node.js 的协议列出并执行 Apple 快捷指令,从而自动化 macOS 任务。

概述

Apple Shortcuts MCP 服务器允许 Claude 等 AI 助手安全地控制 Apple Shortcuts 自动化,在 macOS 上执行各种任务。

NPM版本 Glama MCP

前提条件

  • Node.js v18+
  • Claude Desktop
  • macOS 与 Shortcuts 应用程序

快速安装

方法1:使用NPX(推荐)

在 Claude Desktop 配置中添加:

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

方法2:从源码构建

# 克隆仓库
git clone https://github.com/recursechat/mcp-server-apple-shortcuts.git

# 安装依赖
npm install

# 构建项目
npm run build

然后在 Claude Desktop 配置中使用:

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

基本使用

  • 请求 Claude "列出所有可用快捷方式"
  • 要求 Claude 运行特定快捷方式,如 "运行我的每日总结快捷方式"

许可证

Apache-2.0