Server facts
mcp-email-server
GitHub stars
424
Last commit
Dec 2, 2026
Runtime
python
License
BSD-3-Clause
Project
- Author
- ai-zerolab
- Repository
- github.com/ai-zerolab/mcp-email-server
- License
- BSD-3-Clause
- Category
- Communication
Tech
- Runtime
- python
- Transports
- stdio
- Remote access
- No
- Authentication
- IMAP/SMTP account credentials (managed SQLite or legacy TOML/keyring)
Activity
- GitHub stars
- 424
- Last commit
- Data as of
Overview
Developers setting up an `email mcp` integration that works with standard IMAP and SMTP mailboxes—rather than vendor-locked cloud APIs—can deploy `ai-zerolab/mcp-email-server` (Python, BSD-3-Clause) across Windows, macOS, and Linux. Starting with version 1.0.0, Local Email App V2 simplifies onboarding via an interactive browser interface (`uvx mcp-email-server@latest ui` or `uv run mcp-email-server ui`) centered on **Email accounts** and **Settings & help**. Enter an email address and password to auto-populate editable server settings, leave outgoing SMTP optional when read-only inbox triage suffices, and verify credentials with **Password & test** before pointing your MCP client at `uvx mcp-email-server@latest stdio`.
Account metadata and credentials live in private SQLite-backed managed storage (`~/.config/mcp-email-server/managed.sqlite3`), while installations upgraded from PyPI 0.16.0 or earlier continue running untouched in backward-compatible `legacy` mode until you opt into the preview-first CLI migration (`config init`, `config import-legacy`, `config import-legacy --apply` with `IMPORT` confirmation, and `config doctor`). Beyond local `uvx` and source checkouts, release 1.6.2 onward publishes multi-arch Linux `amd64`/`arm64` container images at `ghcr.io/wh1isper/mcp-email-server`, with full documentation for headless servers, custom TLS, multiple accounts, and transports hosted at `mcp-email-server.wh1isper.top`.
Install & configure
Requirements
- `uv` / `uvx` (Python runtime) or Docker (`ghcr.io/wh1isper/mcp-email-server` for Linux `amd64`/`arm64`)
- IMAP credentials (email address and password/app password) for each mailbox; SMTP credentials optional for sending
- Restart your MCP client after saving accounts or migrating from legacy TOML/keyring settings
uvx mcp-email-server@latest uiLaunch `uvx mcp-email-server@latest ui` to configure IMAP/SMTP accounts in the local browser interface, then register `uvx mcp-email-server@latest stdio` in your MCP client under `mcpServers` and restart it. Existing PyPI 0.16.0 or earlier setups can migrate safely via `uvx mcp-email-server@latest config import-legacy --apply`.
Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"mcp-email-server": {
"command": "uvx",
"args": [
"mcp-email-server@latest",
"stdio"
]
}
}
}Config file · Project: .cursor/mcp.json
User: ~/.cursor/mcp.json
The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"mcp-email-server": {
"command": "uvx",
"args": [
"mcp-email-server@latest",
"stdio"
]
}
}
}Config file · Workspace: .vscode/mcp.json
For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.
{
"servers": {
"mcp-email-server": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-email-server@latest",
"stdio"
]
}
}
}Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"mcp-email-server": {
"command": "uvx",
"args": [
"mcp-email-server@latest",
"stdio"
]
}
}
}Config file · Project scope: .mcp.json at the repository root
The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"mcp-email-server": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-email-server@latest",
"stdio"
]
}
}
}Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Use cases
- Connect multiple personal or work IMAP mailboxes (such as standard Outlook, corporate, or custom mail hosts) to Claude for unified inbox search and triage.
- Run read-only inbox lookups by configuring IMAP credentials while leaving outgoing SMTP unconfigured.
- Configure mailboxes visually on Windows, macOS, or Linux via Local Email App V2 and test passwords before restarting your MCP client.
- Deploy containerized email access on Linux `amd64` or `arm64` infrastructure using `ghcr.io/wh1isper/mcp-email-server`.
Strengths
- Works across Windows, macOS, and Linux with generic IMAP and SMTP servers rather than locking you into a single mail provider.
- Local Email App V2 (`uvx mcp-email-server@latest ui`) auto-fills editable domain connection settings and offers built-in password testing.
- Preserves backward-compatible `legacy` mode for PyPI 0.16.0 and earlier installs with an opt-in, preview-first SQLite migration CLI.
- Publishes multi-arch Linux `amd64`/`arm64` images at `ghcr.io/wh1isper/mcp-email-server` starting from release 1.6.2.
Limitations
- Requires restarting running MCP clients after saving accounts in the configuration UI or completing a legacy import.
- The root README links out to `mcp-email-server.wh1isper.top/tools/` instead of listing individual MCP tool names inline.
- Testing unreleased source checkouts requires running `uv run --directory ... mcp-email-server stdio` rather than mixing managed storage with PyPI `@latest`.
mcp-email-server setup notes
- mcp-email-server's stdio example needs a client that launches local processes.