mailindex-mcp MCP Server
io.github.alexanderkrauck/mailindex-mcp
What is the mailindex-mcp MCP server?
Search, move, mark, delete and draft your real mail over a self-hosted index.
How to install mailindex-mcp
Copy-paste configuration for popular MCP clients.
EMAILSERVER_DATABASE_URLrequiredPostgreSQL 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_MODEHow callers are authenticated: development (no auth, loopback only), single_user (static bearer token), or google (multi-user OAuth).
EMAILSERVER_API_TOKENsecretBearer token required in single_user mode. At least 32 characters, or the server refuses to start.
CREDENTIAL_ENCRYPTION_KEYsecretKey used to encrypt stored mailbox credentials at rest. Generate with: openssl rand -base64 32
{
"mcpServers": {
"mailindex-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alexanderkrauck/mailindex-mcp:0.1.3"
],
"env": {
"EMAILSERVER_DATABASE_URL": "<YOUR_EMAILSERVER_DATABASE_URL>",
"EMAILSERVER_AUTH_MODE": "<YOUR_EMAILSERVER_AUTH_MODE>",
"EMAILSERVER_API_TOKEN": "<YOUR_EMAILSERVER_API_TOKEN>",
"CREDENTIAL_ENCRYPTION_KEY": "<YOUR_CREDENTIAL_ENCRYPTION_KEY>"
}
}
}
}{
"mcpServers": {
"mailindex-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alexanderkrauck/mailindex-mcp:0.1.3"
],
"env": {
"EMAILSERVER_DATABASE_URL": "<YOUR_EMAILSERVER_DATABASE_URL>",
"EMAILSERVER_AUTH_MODE": "<YOUR_EMAILSERVER_AUTH_MODE>",
"EMAILSERVER_API_TOKEN": "<YOUR_EMAILSERVER_API_TOKEN>",
"CREDENTIAL_ENCRYPTION_KEY": "<YOUR_CREDENTIAL_ENCRYPTION_KEY>"
}
}
}
}{
"mcpServers": {
"mailindex-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alexanderkrauck/mailindex-mcp:0.1.3"
],
"env": {
"EMAILSERVER_DATABASE_URL": "<YOUR_EMAILSERVER_DATABASE_URL>",
"EMAILSERVER_AUTH_MODE": "<YOUR_EMAILSERVER_AUTH_MODE>",
"EMAILSERVER_API_TOKEN": "<YOUR_EMAILSERVER_API_TOKEN>",
"CREDENTIAL_ENCRYPTION_KEY": "<YOUR_CREDENTIAL_ENCRYPTION_KEY>"
}
}
}
}{
"servers": {
"mailindex-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alexanderkrauck/mailindex-mcp:0.1.3"
],
"env": {
"EMAILSERVER_DATABASE_URL": "<YOUR_EMAILSERVER_DATABASE_URL>",
"EMAILSERVER_AUTH_MODE": "<YOUR_EMAILSERVER_AUTH_MODE>",
"EMAILSERVER_API_TOKEN": "<YOUR_EMAILSERVER_API_TOKEN>",
"CREDENTIAL_ENCRYPTION_KEY": "<YOUR_CREDENTIAL_ENCRYPTION_KEY>"
}
}
}
}claude mcp add mailindex-mcp --env EMAILSERVER_DATABASE_URL=<YOUR_EMAILSERVER_DATABASE_URL> --env EMAILSERVER_AUTH_MODE=<YOUR_EMAILSERVER_AUTH_MODE> --env EMAILSERVER_API_TOKEN=<YOUR_EMAILSERVER_API_TOKEN> --env CREDENTIAL_ENCRYPTION_KEY=<YOUR_CREDENTIAL_ENCRYPTION_KEY> -- docker run -i --rm ghcr.io/alexanderkrauck/mailindex-mcp:0.1.3Related MCP servers
Control a real Chrome browser to complete any task: fill forms, extract data, book flights.
World Monitor
Live global intelligence: real-time markets, conflicts, country risk, chokepoints, energy. 39 tools.
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Trending hip-hop artist momentum scores across four cultural dimensions.
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
Scrapling MCP Server
Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.