Skip to content
Gemini CLI

mcp-mail for Gemini CLI

io.github.annseraf/mcp-mail

Self-hosted IMAP/SMTP email for any MCP client, with per-client permissions and audit log.

client:Gemini CLI transport:stdio runtime:npm

Install mcp-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-mail": {
      "command": "npx",
      "args": [
        "-y",
        "@annseraf/mcp-mail"
      ],
      "env": {
        "ACCOUNTS_FILE": "<ACCOUNTS_FILE>",
        "STDIO_PRESET": "<STDIO_PRESET>"
      }
    }
  }
}

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

mcp-mail in other clients