Skip to content
Grok

mcp-mail for Grok

io.github.annseraf/mcp-mail

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

client:Grok transport:stdio runtime:npm

Install mcp-mail in Grok

.mcp.json (in your project root)

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

{
  "mcpServers": {
    "mcp-mail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@annseraf/mcp-mail"
      ],
      "env": {
        "ACCOUNTS_FILE": "<ACCOUNTS_FILE>",
        "STDIO_PRESET": "<STDIO_PRESET>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

mcp-mail in other clients