iCloud MCP Hub
Provides read and, when enabled, write access to iCloud Calendar (CalDAV), Contacts (CardDAV), and Mail (IMAP/SMTP), including calendars, events and recurrences, invitations and RSVP, contacts and groups, folders, search, messages, drafts, flags, moves, sending, and deletion.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
iCloud MCP Hub
Self-hosted access to iCloud Calendar, Contacts and Mail from AI agents through the Model Context Protocol. Run locally over stdio or provide an HTTPS endpoint with a separate token and permissions for each user.
Author of this fork: WebCreww. License: MIT. Based on Michal Sevcik's original project. Original attribution and Git history are preserved.
Development version. The MCP backend and CLI administration work. Web registration, a personal dashboard and PostgreSQL are planned, not implemented. Real Apple accounts and the production deployment still need acceptance testing. This is an independent project, not an Apple product.
Features
Service | Read | Write, when enabled |
Calendar / CalDAV | Calendars, events, recurrences, invitations | Create/update events and calendars, RSVP, delete events |
Contacts / CardDAV | Contacts and groups | Create/update contacts and groups, delete contacts |
Mail / IMAP + SMTP | Folders, search, messages | Send/reply/forward, drafts, flags, moves, trash, permanent deletion |
Notes, modern Reminders, iMessage, Safari, Photos, Drive and Keychain are outside this project's supported app-password interfaces.
Related MCP server: icloud-mcp
Requirements
Node.js 22.13+; Docker uses Node.js 24.
Apple Account with two-factor authentication and a dedicated app-specific password.
For remote access: persistent storage, a domain and HTTPS.
Quick start with Docker
git clone https://github.com/lemilleur/icloud-mcp-hub.git
cd icloud-mcp-hub
cp .env.example .env
node -e "console.log(require('node:crypto').randomBytes(32).toString('hex'))"Paste the generated key into ICLOUD_MCP_ENCRYPTION_KEY in .env, then:
docker compose up -d --build
curl http://127.0.0.1:8788/healthzCompose publishes localhost only. Place an HTTPS proxy in front for remote access. The icloud-data named volume keeps encrypted user records; back it up separately from the encryption key. Losing the key makes stored Apple passwords unreadable.
Create users using the hosted guide. All writes are off by default for new hosted users. Enable only the required operations.
Connect an agent
For a client supporting Streamable HTTP and custom headers:
{
"mcpServers": {
"icloud": {
"url": "https://icloud.example.com/mcp",
"headers": { "Authorization": "Bearer YOUR_PERSONAL_TOKEN" }
}
}
}The JSON wrapper depends on the agent. Never put tokens in URLs or chat messages. Clients requiring OAuth instead of a configurable Bearer header need an additional authorization integration; OAuth is not implemented here.
Documentation
Topic | English | Русский |
Hosted setup, users, permissions, tokens | ||
EasyPanel | ||
Local stdio | ||
Security | ||
Contributing |
Development
npm ci
npm run typecheck
npm run lint
npm test
npm run build
npm auditTests use mocked Apple services and local HTTP servers; no Apple credentials are needed. The build supports Windows, Linux and macOS. No npm package or prebuilt container has been published by this fork; build from source.
Roadmap
Registration, email verification, login and account recovery.
Dashboard for Apple connections, service permissions and tokens.
PostgreSQL-backed users, browser sessions and indexed token lookup.
Independent security review before public onboarding.
Authors and license
WebCreww maintains this fork and its security hardening. Michal Sevcik / eruveo created the original integration. Both are credited in LICENSE. Distributed under MIT, without warranty. Apple and iCloud names belong to their respective owners.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read, search and manage iCloud Mail, Calendar and Contacts from Claude and other MCP clients.
A butler for your AI agent: iCloud Calendar, Mail and Contacts, and your Mac.
Let your agent into iCloud Mail, calendar and contacts. It gets actions, never your password.
Connect your email accounts and iCloud Calendar to AI with account-specific permissions.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to access iCloud Calendar, Reminders, and Mail with configurable scope and read-only modes.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with read-only access to iCloud mail and calendar via IMAP and CalDAV, with opt-in write support for sending mail, managing events, and contacts.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables an AI assistant to read and search iCloud mail, draft messages (never sent), manage calendar events with a preview/commit gate, and look up contacts via IMAP, CalDAV, and CardDAV.2MIT
- AlicenseAqualityBmaintenanceEnables local AI agents to search and read iCloud Mail, draft and send reviewed replies, and manage calendar events via a local MCP connection.191MIT