
Apple Shortcuts
io.github.mindstone由 GitHub 账号 mindstone 发布v0.2.1更新于 Oct 24, 2026
MCP server for Apple Shortcuts via the macOS shortcuts CLI
概览
一个本地 macOS MCP 服务器,让助手通过 macOS 的 shortcuts 命令行工具列出、运行和打开 Apple 快捷指令。
- 可以做什么
- 列出可用的快捷指令,可按文件夹筛选,并可选显示内部标识符。运行指定名称的快捷指令,把字面文本作为输入传入,并返回该快捷指令的输出。在快捷指令 App 编辑器中打开指定快捷指令,便于在运行前查看其内容。
- 适用场景
- 适用于 Mac 上希望助手触发已有快捷指令自动化(例如搬运数据、控制应用或调用其他服务)的场景,也适合查看有哪些可用快捷指令。不适用于非 macOS 设备。
- 运行要求
- 需在装有快捷指令 App 的 macOS 上本地运行,并需要 Node.js 18 或更高版本;通过 npx 启动该包。无需任何凭据。可选环境变量 APPLE_SHORTCUTS_TIMEOUT_MS 设置单次调用超时(默认 120000 毫秒)。
安装
在 SourceWeft 中
- 打开 控制台中的 Apple Shortcuts,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Apple Shortcuts MCP Server
An MCP server that exposes Apple Shortcuts functionality to Rebel via the macOS shortcuts CLI.
One-click install
[Add to Cursor] [Add to VS Code] [Add to VS Code Insiders]
After clicking the button, your host will prompt you to fill: APPLE_SHORTCUTS_TIMEOUT_MS.
Manual config for Claude Desktop / Claude Code / Goose / Continue.dev (Apple Shortcuts)
Status
- Version: 0.2.1 · npm
- Auth: None (
server.json) - Tools: 3 (shortcuts)
- Surface: local-cli
- Machine-readable:
STATUS.json
Prerequisites
- macOS with the Shortcuts app installed
- Node.js 18+
Setup
No credentials or environment variables are required.
Tools
apple_shortcuts_list
List all available shortcuts, optionally filtered by folder.
apple_shortcuts_run
Run a named shortcut with optional text input.
apple_shortcuts_view
Open a named shortcut in the Shortcuts app editor on the Mac, so you can visually review what it does before running it. The definition opens in the Shortcuts GUI — this tool does not return the definition as text.
Configuration
No credentials are required. One optional environment variable tunes runtime behavior:
Output trust model
Shortcut names (apple_shortcuts_list) and shortcut stdout (apple_shortcuts_run, apple_shortcuts_view) are user-authored text returned by the local shortcuts CLI. The connector wraps all such output in <untrusted-content source="apple-shortcuts:..."> envelopes so the model treats it as data, not instructions. Shortcut names echoed back in apple_shortcuts_run / apple_shortcuts_view confirmation, error, and timeout messages are enveloped the same way — a name is attacker-controllable text once it appears in the list output.
Register in Rebel
Add the connector in Settings → Connectors with:
- Command:
node - Args:
["<absolute path to>/mcp-servers/apple-shortcuts/dist/index.js"](e.g.~/mcp-servers/apple-shortcuts/dist/index.jsexpanded to an absolute path)
Caveats
- macOS only — the
shortcutsCLI is not available on other platforms. - Shortcuts that open GUI dialogs or prompt for confirmation cannot answer from the command line; they are terminated after
APPLE_SHORTCUTS_TIMEOUT_MS(default 120s) instead of blocking forever. If termination cannot be confirmed (signal delivery fails or the process never exits after SIGKILL), the timeout error says the process may still be running rather than claiming it was stopped. - Captured stdout/stderr per invocation is bounded (1,000,000 characters per stream); output beyond the bound is dropped and marked with a truncation notice, so a shortcut emitting unbounded output cannot exhaust memory.
- Running a shortcut has the same system permissions as the logged-in user — a shortcut can send messages, delete files, make purchases, control devices, or call remote APIs.
apple_shortcuts_runis annotateddestructiveHint: trueso hosts require explicit user approval before running one.
来源:connectors/apple-shortcuts/README.md,提交 22c4611
工具
0版本历史
1- v0.2.1最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。