Skip to content
VS Code

iCloud Mail for VS Code

io.github.julienrabault/icloud-mcp

Read, search, draft, send and file iCloud Mail over IMAP and SMTP. No tool destroys mail.

client:VS Code transport:stdio runtime:pypi

Install iCloud Mail in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "icloud-email",
      "description": "ICLOUD_EMAIL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "icloud-app-password",
      "description": "ICLOUD_APP_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "icloud-display-name",
      "description": "ICLOUD_DISPLAY_NAME",
      "password": true
    }
  ],
  "servers": {
    "icloud-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "icloud-mail-mcp"
      ],
      "env": {
        "ICLOUD_EMAIL": "${input:icloud-email}",
        "ICLOUD_APP_PASSWORD": "${input:icloud-app-password}",
        "ICLOUD_DISPLAY_NAME": "${input:icloud-display-name}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

iCloud Mail in other clients