Skip to main content
Glama
epinethrone

icloud-mcp

by epinethrone

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATA_DIRNoOAuth state and the outbox directory./data
MCP_HOSTNoBind address0.0.0.0
MCP_PORTNoBind port8000
IMAP_HOSTNoIMAP server hostimap.mail.me.com
IMAP_PORTNoIMAP server port993
LOG_LEVELNoLog levelINFO
READ_ONLYNoNo sending, moving, deleting, calendar changes, or contact changesfalse
SMTP_HOSTNoSMTP server hostsmtp.mail.me.com
SMTP_PORTNoSMTP server port587
ALLOW_SENDNoAgents can only save drafts when falsetrue
CALDAV_URLNoCalDAV server URLhttps://caldav.icloud.com
OUTBOX_MAXNoQueue size20
CARDDAV_URLNoCardDAV server URLhttps://contacts.icloud.com
ENABLE_MAILNoEnable mail areatrue
IMAP_SECURITYNoIMAP security modessl
IMAP_USERNAMENoIMAP username. Defaults to ICLOUD_USERNAME.
MCP_STATELESSNoNo server-side MCP sessions, so restarting the server never breaks a connected clienttrue
SMTP_SECURITYNoSMTP security modestarttls
SMTP_USERNAMENoSMTP username. Defaults to ICLOUD_USERNAME.
MAX_BODY_CHARSNoResult size cap for body30000
MAX_RECIPIENTSNoPer message25
MCP_PUBLIC_URLYesPublic https address, no trailing slash
SAVE_SENT_COPYNoAppend sent mail to Sent (iCloud does not do it itself)true
SEND_ALLOWLISTNoOnly these addresses/domains may receive mail (@example.org,friend@example.com)
CALDAV_USERNAMENoCalDAV username. Defaults to ICLOUD_USERNAME.
EMAIL_SIGNATURENoPlain-text signature appended to sent mail (\n = newline)
ENABLE_CALENDARNoEnable calendar areatrue
ENABLE_CONTACTSNoEnable contacts areatrue
ICLOUD_USERNAMEYesApple Account you sign in with
ACCESS_TOKEN_TTLNoAccess token lifetime3600
CARDDAV_USERNAMENoCardDAV username. Defaults to ICLOUD_USERNAME.
DEFAULT_CALENDARNoCalendar for new events (else 'Calendar'/'Home', else the first)auto
DEFAULT_TIMEZONENoTimezone for times without an offsetUTC
REFRESH_TOKEN_TTLNoRefresh token lifetime (refresh tokens rotate)30 days
CALDAV_REQUIRE_TLSNoRequire TLS for CalDAVtrue
MCP_OWNER_PASSWORDYesOwner password (12+ chars)
OUTBOX_TTL_SECONDSNoQueue lifetime86400
ICLOUD_APP_PASSWORDYesApp-specific password
ICLOUD_DISPLAY_NAMENoSender name
ICLOUD_EMAIL_ADDRESSNoFrom address (your iCloud address or alias). Defaults to ICLOUD_USERNAME.
MAX_ATTACHMENT_BYTESNoResult size cap for attachments5 MiB
TOOL_TIMEOUT_SECONDSNoA tool call running longer is abandoned with an error instead of hanging90
ALLOW_CALENDAR_INVITESNoAllow attendees (iCloud then emails invitations, updates, cancellations)false
ALLOW_PERMANENT_DELETENoAllow deleting from Trashfalse
SEND_REQUIRES_APPROVALNoQueue outgoing mail for browser approvaltrue
MCP_EXTRA_ALLOWED_HOSTSNoExtra allowed Host headers
OAUTH_ALLOWED_REDIRECT_HOSTSNoClients that may registerclaude.ai,claude.com,localhost,127.0.0.1

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources