Reverse engineer anything with agents, from app behavior down to native binaries.
Icloud MCP
MCP server for Apple services, Mail, Calendar, Contacts, Reminders, Notes, Messages, Safari, via AppleScript (local) or iCloud IMAP/CalDAV/CardDAV (cloud)
Install: claude mcp add --transport stdio icloud -- npx -y mcp-icloud
Works with Claude Code · 66 GitHub stars
Install
One-click install
Runs locallyclaude mcp add icloud -- npx -y mcp-icloudButtons open the app on your computer and ask you to confirm before anything is added.
claude mcp add --transport stdio icloud -- npx -y mcp-icloud{
"mcpServers": {
"icloud": {
"command": "npx",
"args": [
"-y",
"mcp-icloud"
]
}
}
}Install command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →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 Automation permissions take their place.
Access and security model
The server speaks JSON-RPC over stdin/stdout only. It opens no ports and listens on no socket.
Credentials are never logged. ICLOUD_APP_PASSWORD is read once at startup and handed only to the IMAP/SMTP/CalDAV/CardDAV clients; diagnostics print a fixed mask, never the value. Where you keep the password is up to you: a .env file beside the module for a manual install, or the .mcpb bundle's sensitive field, which the host stores in the macOS Keychain. Local mode has no password anywhere, since macOS gates access per app through its own Automation prompts, and you can revoke those at any time.
Every tool argument is validated against a zod schema before the handler runs. Arguments are also coerced at each AppleScript interpolation site, so a value that is not a number cannot reach a script template.
Privacy Policy
The server collects nothing and keeps nothing: no telemetry, no analytics, no state on disk. Your data moves only between your machine, the AI client you connect and Apple's services. The full policy, covering collection, storage, third-party sharing, retention and contact, is in PRIVACY.md.
Tools
Tools marked local only return an error in cloud mode, because the iCloud protocols do not expose those services.
Authentication
- about
- Returns information about this server, the active mode and whether credentials are configured
- No input
- check-auth-status
- Verifies credentials are usable for the active mode
- No input
- set-mode
- Switches between local and cloud without restarting
- Input:
mode(string,localorcloud)
- list-emails:
folder(string, optional),count(number, optional, max 50) - read-email:
uid(string),folder(string, optional) - send-email:
to,subject,body(strings);cc,bcc(strings, optional);isHtml(boolean, optional, cloud mode only) - search-emails:
query,from,subject,folder(strings, optional),unreadOnly(boolean, optional),count(number, optional) - mark-as-read:
uid(string),folder(string, optional),isRead(boolean, optional) - list-folders: no input
Calendar
Similar plugs
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io