Icloud MCP logo

Icloud MCP

Connect an MCP host to iCloud Calendar, Contacts, and optional Mail through a Go-based stdio server.

Install Icloud MCP

Run the project’s own setup commands, in order.

Setup steps from the project

icloud-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Check the setup
    shasum -a 256 -c icloud-mcp-v1.0.0-checksums.txt
    
  2. 2. Check the setup
    cosign verify-blob \
         --certificate icloud-mcp-v1.0.0-linux-amd64.mcpb.pem \
         --signature icloud-mcp-v1.0.0-linux-amd64.mcpb.sig \
         --certificate-identity "https://github.com/ThomasCrouzet/icloud-mcp/.github/workflows/ci.yml@refs/tags/v1.0.0" \
         --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
         icloud-mcp-v1.0.0-linux-amd64.mcpb
    
  3. 3. Install
    tar -xzf icloud-mcp-v1.0.0-linux-amd64.tar.gz
    
  4. 4. Install
    go install github.com/ThomasCrouzet/icloud-mcp/cmd/icloud-mcp@latest
    
  5. 5. Install
    make build        # bin/icloud-mcp, host Go; version defaults to dev
    

Overview

icloud-mcp connects an MCP host to iCloud using CalDAV for Calendar, CardDAV for Contacts, and IMAP/SMTP for Mail. It communicates through JSON-RPC over stdin and stdout, with capability gates controlling which domains and mutations are exposed. Calendar read access is available through calendar discovery and event search, while optional Mail tools retrieve, send, and reply to messages. Reach for it when an agent needs headless iCloud access without macOS frameworks, browser automation, or private Apple APIs.

Use cases

  • Search iCloud calendars for events in a time range
  • Update Calendar events from an MCP-enabled agent
  • Retrieve message text without changing read state
  • Send policy-controlled mail from a headless machine
  • Restrict agent access to selected calendars and mailboxes

Key features

  • CalDAV Calendar access
  • Optional CardDAV Contacts support
  • Optional IMAP and SMTP Mail support
  • Capability-gated read and write operations
  • Resource scoping for calendars, contacts, and mailboxes
  • Read-only diagnostic checks

Tools10

What Icloud MCP lets your agent do. Expand a tool for its parameters.

Self-reported~143 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/15 checks healthy over the last 117d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
Last commit5d agoMost recent push to the default branch.
Tools exposed10Callable tools this server registers over MCP.

How Icloud MCP works

What icloud-mcp does

iCloud Calendar, Contacts, and Mail become available to an MCP host through one Go binary. Calendar operations use CalDAV, Contacts use CardDAV, and Mail uses IMAP for retrieval and SMTP for sending. Contacts and Mail are optional domains, so a deployment can start with Calendar access and add other capabilities only when needed.

The server supports calendar discovery, event search, event updates, contact operations, mailbox and message access, mail flag or mailbox changes, and message submission. The default profile is read-only. Mutating operations are separately controlled by permissions, and disabled tools are omitted from MCP discovery.

How it works

The MCP host starts the process and exchanges JSON-RPC messages over standard input and output. Credentials load at startup, while discovery information and keyed update results remain in process memory; the server does not write local data files. Requests are sent to iCloud using authenticated network protocols and returned to the host as MCP results.

Calendar and Contacts use iCloud hosts over port 443. Mail retrieval connects to imap.mail.me.com:993, and SMTP submission uses smtp.mail.me.com:587 with STARTTLS. TLS 1.2 or newer is required. Operational logs and mutation audit records go to stderr, with configured identities, passwords, and authentication forms redacted.

The icloud_capabilities tool reports enabled domains, effective permissions, and registered tools. -doctor performs authenticated, read-only checks against enabled domains and can emit machine-readable JSON; it does not test SMTP or perform account mutations.

Setup and configuration

An Apple Account with iCloud Calendar access and an app-specific password is required. Contacts uses the same identity. Mail additionally requires a full iCloud Mail address and may use a separate app-specific password.

Use ICLOUD_MCP_PERMISSIONS to grant capabilities such as calendar.read, calendar.write, contacts.read, mail.read, or mail.send. ICLOUD_MCP_ENABLE_CONTACTS=true and ICLOUD_MCP_ENABLE_MAIL=true enable the optional domains. ICLOUD_MCP_READ_ONLY=true removes mutation and send tools even when other permissions are present.

ICLOUD_MCP_RESOURCE_SCOPES can restrict calendars, address books, and mailboxes. Its entries use semicolon-separated actions and values; calendar values are paths, Contacts values are identifiers or exact display names, and Mail values are exact mailbox names. A recipient policy is required whenever mail sending is enabled.

Tools and capabilities

The exposed interface includes:

  • icloud_capabilities for local capability and tool discovery.
  • list_calendars for calendar names and paths.
  • search_events for bounded, sorted event searches with optional filters and cursors.
  • update_event for conditional Calendar changes with optional idempotency keys.
  • get_message for bounded plain-text message retrieval without changing read state.
  • send_message for policy-controlled plain-text mail submission.
  • reply_message for sender or reply-all responses using preserved conversation headers.

Additional gated capabilities cover contact books and vCard 3.0 contacts, mailbox and message search, attachment metadata, mail flag changes, and moving or trashing messages. Full enablement can expose up to 24 tools, while the default read-only profile exposes seven.

Limitations and notes

All enabled domains share one process. A process compromise could therefore expose every credential loaded into that process; separate processes and account configurations provide stronger isolation.

Remote text can contain prompt injection, and a compromised host model can invoke every registered tool. Starting with global read-only mode and enabling only necessary capabilities reduces the available effect surface. The host controls log retention and any later storage or transmission to a model provider.

Mail sending is restricted by recipient policy. Repeated keyed send calls reuse the same submission. Replies do not mark the source message as answered and do not append a copy to Sent. Resource scopes fail closed for ambiguous or stale Contacts names, and malformed or duplicate scope actions invalidate the scope configuration.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Icloud MCP

icloud-mcp is an MCP server that connects an MCP host to iCloud Calendar, Contacts, and optional Mail through CalDAV, CardDAV, IMAP, and SMTP. Its main tools list calendars, search and update events, retrieve messages, send mail, and reply to messages, with permissions controlling enabled domains and mutations.

Run icloud-mcp as a Go binary configured as a stdio MCP process for your host. Provide an Apple Account, an app-specific password, and the required domain and permission settings before starting it.

Set `ICLOUD_MCP_ENABLE_MAIL=true` and grant the relevant Mail permissions, such as `mail.read` or `mail.send`. Mail also requires a full iCloud Mail address, IMAP access credentials, and a recipient policy for sending.

Set `ICLOUD_MCP_READ_ONLY=true` to remove every mutation and send tool from discovery. This does not enable Calendar, Contacts, or Mail; each read domain must still be enabled and permitted separately.

Yes. icloud-mcp uses the standard stdio MCP transport, so it can be configured in MCP clients that support stdio servers, including Cursor.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewIcloud MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/icloud-mcp-2?style=directory)](https://allmcps.com/mcp/icloud-mcp-2)
HTML Embed
<a href="https://allmcps.com/mcp/icloud-mcp-2"><img src="https://allmcps.com/api/badge/icloud-mcp-2?style=directory" alt="Icloud MCP on AllMCPs" /></a>