Mail MCP Server

● Active

io.github.igorolv/mail-mcp-server

Read-only mail for AI agents: on-premises Exchange and any IMAP mailbox, with attachment search

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "mail-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount",
        "type=bind,src={data_dir},dst=/data",
        "ghcr.io/igorolv/mail-mcp-server:0.1.1"
      ],
      "env": {
        "MAIL_MCP_REDACT_SECRETS": "false"
      }
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --env MAIL_MCP_REDACT_SECRETS=false --transport stdio mail-mcp-server -- docker run -i --rm --mount 'type=bind,src={data_dir},dst=/data' ghcr.io/igorolv/mail-mcp-server:0.1.1
OpenAI Codex CLI
codex mcp add mail-mcp-server --env MAIL_MCP_REDACT_SECRETS=false -- docker run -i --rm --mount 'type=bind,src={data_dir},dst=/data' ghcr.io/igorolv/mail-mcp-server:0.1.1
VS Code
code --add-mcp '{"name":"mail-mcp-server","type":"stdio","command":"docker","args":["run","-i","--rm","--mount","type=bind,src={data_dir},dst=/data","ghcr.io/igorolv/mail-mcp-server:0.1.1"],"env":{"MAIL_MCP_REDACT_SECRETS":"false"}}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

Environment variables
  • MAIL_MCP_REDACT_SECRETSReplace recognized passwords, codes and tokens in tool responses

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Communication
Version
0.1.1
Registry
active
Published
11/14/2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 22, 2026

Looks healthy: Mail MCP Server is maintained, open source.

Maintained
Active
Last commit 8 days ago (Nov 14, 2026), 0 open issues.
Official registry
Active
Published as io.github.igorolv/mail-mcp-server in the official MCP registry, version 0.1.1.
Source
Open source, Apache-2.0
Public repository under the Apache-2.0 licence, 0 stars, 0 forks.
Runs
On your machine
A local Docker package started by your client; it can reach whatever your user account can.
Credentials
None declared
The registry entry declares no required environment variables.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

On GitHub

read Nov 22, 2026
Stars
0
Forks
0
Last push
Nov 14, 2026
License
Apache-2.0

Javaemailewsexchangegmailimapjavalucenemcpmcp-servermodel-context-protocol

From the README

Mail MCP Server Give your AI agent your whole mailbox, including on-premises Exchange, with no way to change it. MCP server (stdio) for on-premises Microsoft Exchange over EWS and any IMAP mailbox with password sign-in, tested on Mail.ru and Gmail. It downloads every message once, converts bodies and attachments to Markdown on your machine, builds a Lucene search index, and answers the agent from that copy, so text inside PDF, Office and ZIP attachments is searchable in Russian and English. Status: version 0.1.1 is published. Checked end to end on Exchange 2013 (about 8 thousand messages), Mail.ru (about 34 thousand) and Gmail with an app password. Developed and tested on Windows. Contents: Features · How it works · Typical Scenarios · Quickstart · MCP Tools · Commands · Build · Stack · Documentation · License Features • Works with on-premises Exchange. EWS with NTLM and your normal domain password, tested on Exchange 2013. No Microsoft Graph needed. Other mailboxes work over IMAP, tested on Mail.ru and Gmail. • Attachments are searchable too. Text from PDF, Word, Excel, PowerPoint, ZIP archives, attached emails, Outlook .msg and winmail.dat is extracted and indexed, so the agent can find the contract inside the attachment, not just the message that carried it. • Search that understands word forms. Russian and English, across subject, body, addresses and attachments.…

Read the full README on GitHub →

The most-starred Communication servers in the index, with their live-check result.

ServerStarsLast pushLive check
Inbox Zero13,088Nov 2026Needs sign-in
Agent-Native Brain7,735Nov 2026Needs sign-in
Agent-Native Mail7,735Nov 2026Needs sign-in
Agent-Native Chat7,735Nov 2026Needs sign-in
Agent-Native Dispatch7,735Nov 2026Needs sign-in

Mail MCP Server: questions people ask

Is Mail MCP Server a remote or a local MCP server?
According to its entry in the official MCP registry, Mail MCP Server ships as a local package (Docker) that your client starts on your machine.
Is Mail MCP Server safe to use?
Looks healthy: Mail MCP Server is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, Apache-2.0; runs: On your machine; credentials: None declared. Serverdex check of Nov 22, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is Mail MCP Server still maintained?
Active: the repository's last commit 8 days ago. Last push Nov 14, 2026, 0 GitHub stars, Apache-2.0 licence. Read from GitHub on Nov 22, 2026.
How do I add Mail MCP Server to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
  1. JDBC MCP ServerRead-only SQL, plans, schema for AI agents: PostgreSQL, Oracle, SQL Server, Firebird, SQLite, JDBC★ 2
  2. Sonar MCP ServerRead-only SonarQube Community Build access for AI agents: issues, hotspots, rules, code snippets★ 1
  3. Loki MCP ServerRead-only Grafana Loki for AI agents: label discovery, bounded LogQL queries, counts, exports
  4. Redmine MCP ServerRedmine for AI agents: issues, projects, wiki, attachments, time entries and release analytics
Browse all Communication →

Add the badge to your site

Show visitors that Mail MCP Server is listed here — it’s also the link we check for a free listing.

Mail MCP Server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-igorolv-mail-mcp-server?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Mail MCP Server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Mail MCP Server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-igorolv-mail-mcp-server?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-igorolv-mail-mcp-server) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-igorolv-mail-mcp-server) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-igorolv-mail-mcp-server)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-igorolv-mail-mcp-server"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-igorolv-mail-mcp-server"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-igorolv-mail-mcp-server"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).