Apple Shortcuts MCP Server 🤖

Apple Shortcuts MCP Server 🤖

site icon
2024.12.27 0
JavaScriptAI 自动化macOS 自动化浏览器自动化开发效率
Apple Shortcuts MCP Server 是一个 Model Context Protocol (MCP) 服务器,允许 AI 助手(如 Claude)控制 Apple Shortcuts 自动化。这使得 AI 模型能够以安全可控的方式在 macOS 上触发快捷方式并自动化任务。
View on GitHub

Overview

基本能力

产品定位

Apple Shortcuts MCP Server 旨在为 AI 助手提供与 Apple Shortcuts 自动化工具的集成能力,通过 MCP 协议实现安全可控的任务自动化。

核心功能

  • 允许 AI 助手列出可用的快捷方式
  • 支持通过名称运行快捷方式,并可选择输入参数
  • 提供简单的自动化控制接口

适用场景

  • AI 助手与 macOS 自动化工具的集成
  • 通过自然语言触发 Apple Shortcuts 自动化任务
  • 开发 AI 驱动的自动化工作流

工具列表

  • Node.js:运行环境
  • Claude Desktop:AI 助手客户端
  • Apple Shortcuts:macOS 自动化工具

常见问题解答

  • 需要 macOS 和 Shortcuts 应用支持
  • 需要 Node.js v18 或更高版本
  • 需要 Claude Desktop 安装

使用教程

使用依赖

  1. 安装 Node.js (v18 或更高版本)
  2. 安装 Claude Desktop
  3. 配置 macOS 的 Shortcuts 应用

安装教程

  1. 克隆仓库:
git clone [email protected]:recursechat/mcp-server-apple-shortcuts.git
  1. 安装依赖:
npm install
  1. 构建项目:
npm run build

调试方式

配置 Claude Desktop 使用本地构建的服务器:

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

使用示例: - 询问 Claude "list shortcuts" 列出可用快捷方式 - 运行特定快捷方式,如 "get word of the day" 或 "play a song"

许可证

该项目遵循 Apache-2.0 开源许可条款,请参阅 Apache-2.0 了解完整条款。