Skip to content
Zed

mailindex-mcp for Zed

io.github.alexanderkrauck/mailindex-mcp

Search, move, mark, delete and draft your real mail over a self-hosted index.

client:Zed transport:stdio runtime:oci

Install mailindex-mcp in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

{
  "context_servers": {
    "mailindex-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/alexanderkrauck/mailindex-mcp:0.2.1"
      ],
      "env": {
        "EMAILSERVER_DATABASE_URL": "<EMAILSERVER_DATABASE_URL>",
        "EMAILSERVER_AUTH_MODE": "<EMAILSERVER_AUTH_MODE>",
        "EMAILSERVER_API_TOKEN": "<EMAILSERVER_API_TOKEN>",
        "CREDENTIAL_ENCRYPTION_KEY": "<CREDENTIAL_ENCRYPTION_KEY>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

mailindex-mcp in other clients