I

Icloud MCP

by epinethrone · io.github.epinethrone/icloud-mcp

A self-hosted MCP server that provides secure access to iCloud Mail, Calendar, and Contacts, enabling agents to read and send email, manage calendar events, and search contacts with safety controls like approval for outgoing messages.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-epinethrone-icloud-mcp": {
      "command": "uvx",
      "args": [
        "icloud-mcp-server"
      ],
      "env": {
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_DISPLAY_NAME": "",
        "DEFAULT_TIMEZONE": "UTC",
        "SEND_REQUIRES_APPROVAL": "true",
        "AGENT_NOTES_FILE": "<VALUE>",
        "OWNER_ADDRESSES": "<VALUE>",
        "WARMUP_ON_START": "true",
        "TOOL_WORKERS": "8",
        "READ_ONLY": "false",
        "ENABLE_MAIL": "true",
        "ENABLE_CALENDAR": "true",
        "ENABLE_CONTACTS": "true",
        "ALLOW_CALENDAR_INVITES": "false"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-epinethrone-icloud-mcp": {
      "command": "uvx",
      "args": [
        "icloud-mcp-server"
      ],
      "env": {
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_DISPLAY_NAME": "",
        "DEFAULT_TIMEZONE": "UTC",
        "SEND_REQUIRES_APPROVAL": "true",
        "AGENT_NOTES_FILE": "<VALUE>",
        "OWNER_ADDRESSES": "<VALUE>",
        "WARMUP_ON_START": "true",
        "TOOL_WORKERS": "8",
        "READ_ONLY": "false",
        "ENABLE_MAIL": "true",
        "ENABLE_CALENDAR": "true",
        "ENABLE_CONTACTS": "true",
        "ALLOW_CALENDAR_INVITES": "false"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-epinethrone-icloud-mcp": {
      "command": "uvx",
      "args": [
        "icloud-mcp-server"
      ],
      "env": {
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_DISPLAY_NAME": "",
        "DEFAULT_TIMEZONE": "UTC",
        "SEND_REQUIRES_APPROVAL": "true",
        "AGENT_NOTES_FILE": "<VALUE>",
        "OWNER_ADDRESSES": "<VALUE>",
        "WARMUP_ON_START": "true",
        "TOOL_WORKERS": "8",
        "READ_ONLY": "false",
        "ENABLE_MAIL": "true",
        "ENABLE_CALENDAR": "true",
        "ENABLE_CONTACTS": "true",
        "ALLOW_CALENDAR_INVITES": "false"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-epinethrone-icloud-mcp": {
      "command": "uvx",
      "args": [
        "icloud-mcp-server"
      ],
      "env": {
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_DISPLAY_NAME": "",
        "DEFAULT_TIMEZONE": "UTC",
        "SEND_REQUIRES_APPROVAL": "true",
        "AGENT_NOTES_FILE": "<VALUE>",
        "OWNER_ADDRESSES": "<VALUE>",
        "WARMUP_ON_START": "true",
        "TOOL_WORKERS": "8",
        "READ_ONLY": "false",
        "ENABLE_MAIL": "true",
        "ENABLE_CALENDAR": "true",
        "ENABLE_CONTACTS": "true",
        "ALLOW_CALENDAR_INVITES": "false"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-epinethrone-icloud-mcp": {
      "command": "uvx",
      "args": [
        "icloud-mcp-server"
      ],
      "env": {
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_DISPLAY_NAME": "",
        "DEFAULT_TIMEZONE": "UTC",
        "SEND_REQUIRES_APPROVAL": "true",
        "AGENT_NOTES_FILE": "<VALUE>",
        "OWNER_ADDRESSES": "<VALUE>",
        "WARMUP_ON_START": "true",
        "TOOL_WORKERS": "8",
        "READ_ONLY": "false",
        "ENABLE_MAIL": "true",
        "ENABLE_CALENDAR": "true",
        "ENABLE_CONTACTS": "true",
        "ALLOW_CALENDAR_INVITES": "false"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-epinethrone-icloud-mcp": {
      "command": "uvx",
      "args": [
        "icloud-mcp-server"
      ],
      "env": {
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_DISPLAY_NAME": "",
        "DEFAULT_TIMEZONE": "UTC",
        "SEND_REQUIRES_APPROVAL": "true",
        "AGENT_NOTES_FILE": "<VALUE>",
        "OWNER_ADDRESSES": "<VALUE>",
        "WARMUP_ON_START": "true",
        "TOOL_WORKERS": "8",
        "READ_ONLY": "false",
        "ENABLE_MAIL": "true",
        "ENABLE_CALENDAR": "true",
        "ENABLE_CONTACTS": "true",
        "ALLOW_CALENDAR_INVITES": "false"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
ICLOUD_USERNAME Yes Apple Account email you sign in with
ICLOUD_APP_PASSWORD secret Yes App-specific password from account.apple.com (not your Apple password)
ICLOUD_DISPLAY_NAME No Name shown on mail you send
DEFAULT_TIMEZONE No IANA timezone for calendar times, e.g. Europe/Berlin Default: UTC
SEND_REQUIRES_APPROVAL No true: mail is saved to Drafts for you to send. false: sent directly Default: true
AGENT_NOTES_FILE No Path to a file with your own rules for agents, added to the instructions.
OWNER_ADDRESSES No Your aliases, comma-separated, so invitations to them count as yours.
WARMUP_ON_START No Sign in to mail, calendar and contacts in the background at start. Default: true
TOOL_WORKERS No Tool calls that can run at the same time. Default: 8
READ_ONLY No No sending, moving, deleting or changes Default: false
ENABLE_MAIL No Enable mail tools Default: true
ENABLE_CALENDAR No Enable calendar tools Default: true
ENABLE_CONTACTS No Enable contacts tools Default: true
ALLOW_CALENDAR_INVITES No Allow events with attendees (iCloud emails them) Default: false

Similar servers