MCP Apple Calendars

Integrations

  • Allows interaction with Apple Calendars on macOS, providing tools for listing calendars, retrieving events, and creating, updating, or deleting calendar events.

  • Enables access to macOS calendar functionality, allowing AI models to manage calendar events through a standardized interface on macOS systems.

MCP 苹果日历

用于与 macOS 上的 Apple 日历交互的模型上下文协议 (MCP) 服务器。该模块允许 AI 模型通过标准化接口访问和操作日历数据。

先决条件

  • macOS 12.0 或更高版本
  • Node.js 16.0 或更高版本
  • 本地运行的日历 API Bridge

安装

  1. 克隆此存储库
  2. 安装依赖项:
    npm install
  3. 构建 TypeScript 代码:
    npm run build

用法

  1. 确保日历 API Bridge 在端口 8080 上运行
  2. 启动 MCP 服务器:
    npm start

可用工具

MCP服务器为AI模型提供以下工具:

  • getCalendars :列出所有可用的日历
  • getCalendarEvents :从特定日历获取事件
  • createCalendarEvent :在日历中创建新事件
  • updateCalendarEvent :更新现有事件
  • deleteCalendarEvent :从日历中删除事件

日期格式

创建或更新事件时,您可以使用以下任意日期格式:

  1. 带有毫秒和 Z 时区的 ISO8601(推荐):
    2025-03-09T10:00:00.000Z
  2. 不带毫秒的 ISO8601:
    2025-03-09T10:00:00
  3. ISO8601 用空格代替 T:
    2025-03-09 10:00:00
  4. 带有正斜杠的 ISO8601:
    2025/03/09 10:00:00

日历 API Bridge 已更新,可以自动处理这些日期格式。

发展

要在开发模式下运行服务器并自动重新加载:

npm run dev

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

模型上下文协议服务器,用于 AI 模型通过标准化接口访问和操作 macOS 上的 Apple 日历数据。

  1. Prerequisites
    1. Installation
      1. Usage
        1. Available Tools
          1. Date Formats
            1. Development
              1. License
                ID: e6tx0h3zoh