Skip to main content
Glama
icloud-mcp

icloud-mcp

by mcdscot

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for `serve-http`; default `8080`8080
ICLOUD_FROMNoSend-as address, if different from the Apple ID (must be one of your iCloud aliases)
MCP_API_KEYNoRequired by `serve-http`; at least 32 characters
ICLOUD_TIMEZONENoIANA zone for times given without an offset; defaults to the machine's zone
ICLOUD_USERNAMENoApple ID email (overrides the keychain)
ICLOUD_ALLOW_SENDNo`false` removes `icloud_send_message`; default `true`true
ICLOUD_APP_PASSWORDNoApp-specific password (overrides the keychain)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Access to the user's iCloud Mail and iCloud Calendar. Times are ISO 8601; times without an offset are the user's local time. Mail messages are addressed by (mailbox, uid) from icloud_search_messages; calendar events by event_id from icloud_list_events. Prefer icloud_create_draft over icloud_send_message unless the user clearly asked to send, and confirm recipients and content before sending or deleting.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
icloud_list_mailboxesA

List iCloud Mail mailboxes with total and unread message counts.

icloud_search_messagesA

Search one mailbox and return message summaries (newest first) with uid, sender, subject, date and flags.

With no filters it lists the most recent messages. Use offset/has_more to page.
icloud_get_messageA

Read one message: headers, body as text (HTML converted), and the attachment list.

icloud_create_draftB

Save a plain-text draft to the iCloud Drafts mailbox without sending it.

icloud_send_messageA

Send a plain-text email from the user's iCloud address. Cannot be undone: confirm with the user first.

icloud_move_messagesA

Move messages between mailboxes (also how to archive or trash them; nothing is permanently deleted).

icloud_set_flagsC

Mark messages read/unread and/or flagged/unflagged.

icloud_list_calendarsA

List the user's iCloud calendars: their own and shared ones (kind 'calendar'), plus calendars they subscribe to such as sports fixtures or app feeds (kind 'subscribed', read-only).

icloud_list_eventsA

List events in a time range across calendars, recurring events expanded into occurrences, sorted by start.

Includes subscribed calendars (marked read_only). All-day events report `end` as the last day inclusive.
If a subscribed feed cannot be fetched, its error is listed under `warnings` and the rest still return.
icloud_create_eventC

Create an event in an iCloud calendar.

icloud_update_eventA

Change fields of an event; omitted fields stay as they are. For a recurring event this edits the whole series.

icloud_delete_eventA

Delete an event (for a recurring event, the whole series). Confirm with the user first.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 12 tools

Disambiguation5/5

Mail and calendar tools are cleanly separated, and within mail each tool maps to a distinct action: listing mailboxes, searching, reading a single message, drafting, sending, moving, and flagging. The move vs. set_flags split is explicitly clarified in the descriptions, leaving no real boundary confusion.

Naming Consistency5/5

All twelve tools follow a uniform `icloud_<verb>_<noun>` snake_case pattern, and the resource prefixes (mailboxes, messages, calendars, events) make the pattern even more predictable. No mixed conventions or vague verbs.

Tool Count5/5

Twelve tools split sensibly into seven mail operations and five calendar operations, each earning its place with no filler. The surface is well-scoped for a personal iCloud mail+calendar integration.

Completeness4/5

Core CRUD and lifecycle coverage is present for both domains: search/read/draft/send/move/flag for mail and list/create/update/delete for events. Minor gaps remain, such as no reply/forward, no attachment download, no calendar creation/deletion, and no attendee/RSVP handling.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues