快捷方式mcp服务器
 
提供对Apple快捷方式功能访问的模型上下文协议(MCP)服务器。此服务器允许AI助手通过MCP界面列出、查看和运行您的快捷方式。
与Cursor、Claude Desktop和其他启用MCP的应用程序兼容。
安装
git clone https://github.com/artemnovichkov/shortcuts-mcp-server
cd shortcuts-mcp-server
swift buildCursor
对于项目配置,请更新 .cursor/mcp.json 项目目录中的文件。要在所有项目中使用,请创建 ~/.cursor/mcp.json 将文件放在主目录中。
{
"servers": {
"shortcuts-mcp-server": {
"type": "stdio",
"command": "/absolute/path/to/shortcuts-mcp-server/.build/arm64-apple-macosx/debug/shortcuts-mcp-server"
}
}
}别忘了替换可执行文件的路径。
______________________________________________________________________
Claude Desktop
- 打开设置->开发人员->编辑配置
- 打开配置文件
~/Library/Application Support/Claude/claude_desktop_config.json并更新:
{
"mcpServers": {
"shortcuts-mcp-server": {
"type": "stdio",
"command": "/absolute/path/to/shortcuts-mcp-server/.build/arm64-apple-macosx/debug/shortcuts-mcp-server"
}
}
}别忘了替换可执行文件的路径。
- 重新启动克劳德桌面。
______________________________________________________________________
VS Code
快速安装:

对于手动安装,请将以下JSON块添加到VS Code中的用户设置(JSON)文件中。您可以按 Ctrl + Shift + P 和打字 Preferences: Open User Settings (JSON).
{
"servers": {
"shortcuts-mcp-server": {
"type": "stdio",
"command": "/absolute/path/to/shortcuts-mcp-server/.build/arm64-apple-macosx/debug/shortcuts-mcp-server"
}
}
}别忘了替换可执行文件的路径。
用法
只需让LLM运行快捷方式,显示添加的快捷方式列表或在快捷方式应用程序中查看快捷方式。
如果您的MCP客户端支持提示和资源,您也可以检查它: Prompts and resources
工具
- 跑 -运行快捷方式。
- name -要运行的快捷方式的名称(字符串,必填)
- 列表 -列出您的快捷方式。
- show-identifiers -是否显示快捷方式的标识符。(布尔值,可选)
- 视图 -在快捷方式应用程序中查看快捷方式。
- name -要查看的快捷方式的名称(字符串,必填)
资源
- 列表 -列出您的快捷方式。
鼓励
- 跑 -运行快捷方式。
- name -要运行的快捷方式的名称(字符串,必填)
- 列表 -列出您的快捷方式。
- show-identifiers -是否显示快捷方式的标识符。(布尔值,可选)
- 视图 -在快捷方式应用程序中查看快捷方式。
- name -要查看的快捷方式的名称(字符串,必填)
