NestDaddy

mailindex-mcp

io.github.alexanderkrauck/mailindex-mcp · v0.3.3

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

Connect Runs on your machine

Terminal
claude mcp add mailindex-mcp -e EMAILSERVER_DATABASE_URL=<EMAILSERVER_DATABASE_URL> -e EMAILSERVER_AUTH_MODE=<EMAILSERVER_AUTH_MODE> -e EMAILSERVER_API_TOKEN=<EMAILSERVER_API_TOKEN> -e CREDENTIAL_ENCRYPTION_KEY=<CREDENTIAL_ENCRYPTION_KEY> -- docker run -i --rm ghcr.io/alexanderkrauck/mailindex-mcp:0.3.3
claude_desktop_config.json
{
  "mcpServers": {
    "mailindex-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/alexanderkrauck/mailindex-mcp:0.3.3"
      ],
      "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mailindex-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/alexanderkrauck/mailindex-mcp:0.3.3"
      ],
      "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mailindex-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/alexanderkrauck/mailindex-mcp:0.3.3"
      ],
      "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>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
EMAILSERVER_DATABASE_URL
Required
PostgreSQL connection URL. This server keeps its own index and does not run without a database; the repository ships docker-compose files that start one for you.
EMAILSERVER_AUTH_MODE
Optional
How callers are authenticated: development (no auth, loopback only), single_user (static bearer token), or google (multi-user OAuth).
EMAILSERVER_API_TOKEN
Optional, secret
Bearer token required in single_user mode. At least 32 characters, or the server refuses to start.
CREDENTIAL_ENCRYPTION_KEY
Optional, secret
Key used to encrypt stored mailbox credentials at rest. Generate with: openssl rand -base64 32

Details

Packageghcr.io/alexanderkrauck/mailindex-mcp:0.3.3 (OCI, streamable-http)
First published31 Oct 2026
Last updated31 Oct 2026
Registry nameio.github.alexanderkrauck/mailindex-mcp

More search and web servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.