
mrgo2/icloud-mcp 是从 https://github.com/mrgo2/icloud-mcp. 导入的 MCP 服务器候选
概览
mrgo2/icloud-mcp 是从 https://github.com/mrgo2/icloud-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
iCloud-MCP 覆盖了七个苹果服务,拥有两个可互换的后端,据我们所知,它是唯一支持此功能的 MCP 服务器。在本地模式下,它通过 AppleScript 驱动原生 macOS 应用:无凭据,无网络,并且访问 iCloud 协议不公开的服务(提醒、备忘录、消息、Safari)。在云模式下,它使用 IMAP/SMTP、CalDAV 和 CardDAV,因此可以在任何机器上运行,而不仅仅是 Mac。set-mode 工具在运行时在两者之间切换,无需重启。
特色
服务器在邮件、日历、联系人、提醒、备忘录、消息和Safari等多个工具中展示了41个工具。每个工具都带有输入型的模式、人工标题和行为注释,每个list-*工具在其文本输出中返回机器可读的structuredContent。本地模式完全不需要密码;macOS自动化权限取代了它们。
访问与安全模型
服务器只通过 stdin/stdout 通信 JSON-RPC。它不开端口,也监听任何套接字。
凭据从不被记录。ICLOUD_APP_PASSWORD 在启动时读取一次,仅交给 IMAP/SMTP/CalDAV/CardDAV 客户端;诊断打印的是固定掩码,从不打印值。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
icloud-mcp covers seven Apple services with two interchangeable backends, and as far as we know it is the only MCP server that does. In local mode it drives the native macOS apps through AppleScript: no credentials, no network, and it reaches the services the iCloud protocols do not expose (Reminders, Notes, Messages, Safari). In cloud mode it speaks IMAP/SMTP, CalDAV and CardDAV instead, so it runs on any machine, not just a Mac. The set-mode tool switches between the two at runtime, without a restart.
Features
The server exposes 41 tools across Email, Calendar, Contacts, Reminders, Notes, Messages and Safari. Each tool carries a typed schema, a human title and behavioural annotations, and every list-* tool returns machine-readable structuredContent alongside its text output. Local mode needs no passwords at all; macOS privacy permissions take their place: Automation for the apps, plus one-time Calendars and Contacts prompts for list-events and the contact account/group tools, and Full Disk Access for reading messages.
安装
npx -y mcp-icloud配置
{
"mcpServers": {
"icloud": {
"command": "npx",
"args": ["-y", "mcp-icloud"]
}
}
}