iCloud MCP

v2.2.2
io.github.MrGo2/icloud-mcp Checked 10 hours ago Published 27 days ago

Apple Mail, Calendar, Contacts, Reminders, Notes, Messages and Safari via AppleScript or iCloud

Values you need

VariableWhat it is
USE_LOCAL_MODEoptional true (default) drives the macOS apps via AppleScript; false uses the iCloud protocols Default: true
ICLOUD_EMAILoptional iCloud address, required only for cloud mode
ICLOUD_APP_PASSWORDoptional secret App-specific password from appleid.apple.com, required only for cloud mode

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add icloud-mcp -- npx -y --package=mcp-icloud@2.2.2 icloud-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "icloud-mcp": {
      "args": [
        "-y",
        "--package=mcp-icloud@2.2.2",
        "icloud-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "icloud-mcp": {
      "args": [
        "-y",
        "--package=mcp-icloud@2.2.2",
        "icloud-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "icloud-mcp": {
      "args": [
        "-y",
        "--package=mcp-icloud@2.2.2",
        "icloud-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.icloud-mcp]
command = "npx"
args = ["-y", "--package=mcp-icloud@2.2.2", "icloud-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: about, check-auth-status, set-mode, list-emails, read-email, send-email, search-emails, mark-as-read, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json