iCloud Mail MCP server
io.github.JulienRabault/icloud-mcp·v0.1.1·1 starsRead, search, draft, send and file iCloud Mail over IMAP and SMTP. No tool destroys mail.
1 stars
Reviews
Write oneNobody has reviewed iCloud Mail yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
iCloud Mail tools (15, 4 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
auto_organizeClasse les messages d'un dossier selon des regles.
create_mailboxwrite actionCree un dossier. Sans effet s'il existe deja.
delete_mailboxwrite actionSupprime un dossier VIDE.
folder_statusCompteurs d'un dossier (total, non-lus, recents) sans lister les messages.
get_threadReconstitue une conversation a partir d'un de ses messages.
list_foldersListe les dossiers IMAP de la boite (INBOX, Archive, Sent Messages, ...).
move_emailsDeplace des messages d'un dossier a un autre.
read_emailwrite actionLit un message complet : entetes, corps texte decode et pieces jointes.
rename_mailboxRenomme un dossier. Les messages qu'il contient suivent.
save_attachmentsTelecharge les pieces jointes d'un message et les ecrit sur disque.
save_draftPrepare un brouillon dans le dossier Drafts, sans rien envoyer.
search_all_foldersCherche dans TOUS les dossiers d'un coup, pas seulement INBOX.
search_emailsCherche des messages et renvoie leurs entetes, du plus recent au plus ancien.
send_emailwrite actionEnvoie un email via le compte iCloud configure. C'est une action reelle et irreversible : le message part vraiment, il n'y a pas de brouillon ni de confirmation intermediaire cote serveur.
set_flagMarque des messages comme lus, non lus, importants ou repondus.
Public scan report
scanner v0.1.10 · 2026-11-03 · same rubric, same numbers if you re-run it
- Code scan21 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 41 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How iCloud Mail compares
Against every graded Email MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 62% of 916 Email servers
- Tools
- 15
- the typical Email server has 7
- Tools that change things
- 27%
- typical: 25%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 493 Email servers
What its tools let an agent do: 6 read · 3 create · 4 change · 1 delete · 1 send or post
Install iCloud Mail in Claude Code, Cursor or VS Code
claude mcp add icloud-mcp -- uvx icloud-mail-mcp
What the publisher says
From the iCloud Mail repository's README, as published. We do not edit it. Read it on GitHub
iCloud Mail MCP
<!-- mcp-name: io.github.JulienRabault/icloud-mcp -->
A Model Context Protocol (MCP) server for iCloud Mail. Lets an LLM read, search, file and send your Apple mail over IMAP and SMTP.
Runs entirely on your machine: your credentials and your mail never reach a third party. Networking and MIME parsing use only the Python standard library.
Key Features
BODY.PEEK — nothing is marked as read, moved or deleted behind your back.
- Read-only by default. Search and read tools use SELECT ... readonly and
rules; searchallfolders finds them where an inbox-only search can't.
- Searches every folder, not just the inbox. Replies get filed away by mail
review. send_email exists, but it is separate and explicit.
- Drafts before sends. save_draft puts a message in Drafts for you to
delete_mailbox refuses any folder that still holds some.
- Nothing destroys mail. There is no tool that deletes messages, and
lying charsets, HTML-only messages, accented server-side search.
- Handles real iCloud MIME. Modified UTF-7 folder names, quoted-printable,
Requirements
- Python 3.11 or newer, and uv
- An iCloud account with two-factor authentication enabled
- An app-specific password — iCloud rejects your main password over IMAP
Getting started
Once published to PyPI, no clone is needed:
uvx --from icloud-mail-mcp icloud-mcp-setup # interactive configuration
uvx --from icloud-mail-mcp icloud-mcp # run the serverFrom source:
git clone https://github.com/JulienRabault/icloud-mcp.git
cd icloud-mcp
uv sync
uv run python -m icloud_mcp.setupThe setup command asks for your address and app-specific password, tests the connection, writes .env, then prints the exact config block for your client.
Generate the app-specific password at account.apple.com → Sign-In and Security → App-Specific Passwords.
Standard config works in most clients:
{
"mcpServers": {
"icloud-mail": {
"command": "uv",
"args": ["run", "--directory", "/path/to/icloud-mcp", "python", "-m", "icloud_mcp"]
}
}
}Claude Code
claude mcp add icloud-mail --scope user -- uv run --directory /path/to/icloud-mcp python -m icloud_mcpCheck with claude mcp list.
Claude Desktop
Add the standard config to claudedesktopconfig.json:
- macOS — ~/Library/Application Support/Claude/claudedesktopconfig.json
- Windows — %APPDATA%\Claude\claudedesktopconfig.json
On Windows, use the absolute path to uv.exe: desktop clients don't always inherit your shell PATH.
Codex
In ~/.codex/config.toml:
[mcp_servers.icloud-mail]
command = "uv"
args = ["run", "--directory", "/path/to/icloud-mcp", "python", "-m", "icloud_mcp"]Cursor / Windsurf / VS Code
Use the standard config block in the MCP settings file of your editor (.cursor/mcp.json, ~/.codeium/windsurf/mcp_config.json, or the VS Code MCP settings).
MCP servers load at client startup — restart the client after editing its config.
Tools
Read — none of these modify the mailbox:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
iCloud Mail: common questions
- Is iCloud Mail MCP server safe?
- Mostly: it is graded B (78/100). Read the iCloud Mail safety report
- How do I install iCloud Mail?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does iCloud Mail need an API key?
- Yes. The registry entry asks for
ICLOUD_APP_PASSWORD. - Is iCloud Mail maintained?
- The last commit was 43 days ago (2026-09-22). The latest release is v0.1.1.
- What can I use instead of iCloud Mail?
- Servers from other publishers that do the same job: Imap MCP server, Fluxmail MCP server and Agent Email MCP server.
- How does iCloud Mail compare with other Email MCP servers?
- safety score 78/100 (higher than 62% of 916 Email servers); tools 15 (the typical Email server has 7); tools that change things 27% (typical: 25%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to iCloud Mail
Same job from other publishers: the closest match first, then the best rated.
- ImapIMAP/SMTP MCP server to search, read, organize, send, reply & forward email for AI assistantsnot reviewedEstablishedA
- FluxmailRead, search, draft, send, and organize email through Gmail, Outlook, and IMAP/SMTP mailboxes.not reviewedGrowingB
- Agent EmailLocal email connectivity for AI agents — read, draft, send, and organize Outlook mail via MCPnot reviewedGrowingA
- Proton Mail (unofficial)Unofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAPnot reviewedGrowingB
- Microsoft 365 MailMicrosoft 365 Outlook mail via Graph: read, search, send, reply, forward, draft, move, delete.not reviewedGrowingA