Apple Shortcuts MCP Server 🤖
镜像
概述 🚀
Apple Shortcuts MCP 服务器允许 AI 助手(如 Claude)控制 Apple Shortcuts 自动化,使其能够在 macOS 上触发和执行快捷方式。
前提条件 📋
- Node.js v18+
- Claude Desktop
- 配置了 Shortcuts 应用的 macOS 系统
安装方法 ⚙️
方法 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 执行以下操作:
- 请求"列出快捷方式"查看可用快捷方式
- 要求执行特定快捷方式,如"运行获取每日一词快捷方式"
- 传递参数给支持输入的快捷方式
许可证 ⚖️
Apache-2.0