MCP directory
M

mailindex-mcp

by github.com/alexanderkrauck · v0.3.3 · updated Oct 31, 2026

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

Docker

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm ghcr.io/alexanderkrauck/mailindex-mcp:0.3.3

Environment variables

  • EMAILSERVER_DATABASE_URLrequired

    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

    How callers are authenticated: development (no auth, loopback only), single_user (static bearer token), or google (multi-user OAuth).

  • EMAILSERVER_API_TOKENsecret

    Bearer token required in single_user mode. At least 32 characters, or the server refuses to start.

  • CREDENTIAL_ENCRYPTION_KEYsecret

    Key used to encrypt stored mailbox credentials at rest. Generate with: openssl rand -base64 32

More MCP servers