Skip to content
Gemini CLI

Apple Mail for Gemini CLI

io.github.mgcrea/mcp-apple-mail

Search, read and act on Apple Mail — threads, attachments, body search, writes off by default

client:Gemini CLI transport:stdio runtime:npm

Install Apple Mail in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-apple-mail": {
      "command": "npx",
      "args": [
        "-y",
        "@mgcrea/mcp-apple-mail"
      ],
      "env": {
        "APPLE_MAIL_ALLOW_WRITES": "<APPLE_MAIL_ALLOW_WRITES>",
        "APPLE_MAIL_ACCOUNTS": "<APPLE_MAIL_ACCOUNTS>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Apple Mail in other clients