Apple Shortcuts MCP 服务器是一个基于 Model Context Protocol (MCP) 的服务器,它能让像 Claude 这样的 AI 助手控制苹果快捷方式自动化。借助该服务器,AI 模型可触发快捷方式,在 macOS 上以安全且受控的方式自动执行任务。
在使用 Apple Shortcuts MCP 服务器前,你需要完成一些准备工作,确保安装以下内容:
Apple Shortcuts MCP 服务器具备以下功能:
以下是使用苹果快捷方式服务器的 Claude Desktop 配置示例:
{
"mcpServers": {
"apple-shortcuts": {
"command": "npx",
"args": ["-y", "mcp-server-apple-shortcuts"]
}
}
}
git clone git@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 许可证。