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
安装
- 克隆此存储库
- 安装依赖项:Copy
- 构建 TypeScript 代码:Copy
用法
- 确保日历 API Bridge 在端口 8080 上运行
- 启动 MCP 服务器:Copy
可用工具
MCP服务器为AI模型提供以下工具:
getCalendars
:列出所有可用的日历getCalendarEvents
:从特定日历获取事件createCalendarEvent
:在日历中创建新事件updateCalendarEvent
:更新现有事件deleteCalendarEvent
:从日历中删除事件
日期格式
创建或更新事件时,您可以使用以下任意日期格式:
- 带有毫秒和 Z 时区的 ISO8601(推荐):Copy
- 不带毫秒的 ISO8601:Copy
- ISO8601 用空格代替 T:Copy
- 带有正斜杠的 ISO8601:Copy
日历 API Bridge 已更新,可以自动处理这些日期格式。
发展
要在开发模式下运行服务器并自动重新加载:
Copy
执照
麻省理工学院
This server cannot be installed
模型上下文协议服务器,用于 AI 模型通过标准化接口访问和操作 macOS 上的 Apple 日历数据。