MCP server
iCloud Mail
Read, search, draft, send and file iCloud Mail over IMAP and SMTP. No tool destroys mail.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
- 5 days ago
About iCloud Mail
iCloud Mail is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add icloud-mcp --env ICLOUD_EMAIL='<ICLOUD_EMAIL>' --env ICLOUD_APP_PASSWORD='<ICLOUD_APP_PASSWORD>' -- uvx icloud-mail-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"icloud-mcp": {
"command": "uvx",
"args": [
"icloud-mail-mcp"
],
"env": {
"ICLOUD_EMAIL": "<ICLOUD_EMAIL>",
"ICLOUD_APP_PASSWORD": "<ICLOUD_APP_PASSWORD>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"icloud-mcp": {
"command": "uvx",
"args": [
"icloud-mail-mcp"
],
"env": {
"ICLOUD_EMAIL": "<ICLOUD_EMAIL>",
"ICLOUD_APP_PASSWORD": "<ICLOUD_APP_PASSWORD>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"icloud-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"icloud-mail-mcp"
],
"env": {
"ICLOUD_EMAIL": "<ICLOUD_EMAIL>",
"ICLOUD_APP_PASSWORD": "<ICLOUD_APP_PASSWORD>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"icloud-mcp": {
"command": "uvx",
"args": [
"icloud-mail-mcp"
],
"env": {
"ICLOUD_EMAIL": "<ICLOUD_EMAIL>",
"ICLOUD_APP_PASSWORD": "<ICLOUD_APP_PASSWORD>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"icloud-mcp": {
"command": "uvx",
"args": [
"icloud-mail-mcp"
],
"env": {
"ICLOUD_EMAIL": "<ICLOUD_EMAIL>",
"ICLOUD_APP_PASSWORD": "<ICLOUD_APP_PASSWORD>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
ICLOUD_EMAILYour iCloud address, for example you@icloud.com.RequiredICLOUD_APP_PASSWORDAn app-specific password generated at account.apple.com. iCloud rejects your main password over IMAP.RequiredICLOUD_DISPLAY_NAMEName shown in the From header of sent mail. Defaults to the local part of the address.
Pricing
Open source
iCloud Mail FAQ
Is iCloud Mail free?
Yes. iCloud Mail is open source, so you can use and self-host it for free.
How do I add iCloud Mail to Claude Code?
Run this command in your terminal: claude mcp add icloud-mcp --env ICLOUD_EMAIL='<ICLOUD_EMAIL>' --env ICLOUD_APP_PASSWORD='<ICLOUD_APP_PASSWORD>' -- uvx icloud-mail-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.