New advertisers: 50% off your first month with code FIRSTMONTHSee slots
igorolv avatar

Mail MCP Server

igorolv/mail-mcp-server

Read-only access to on-premises Exchange and IMAP mail, with attachment text search.

tools
10
transport
STDIO
env var
1
last updated
Nov 14, 2026
View on GitHub

What it does

  • Reads mail with listConnections, listFolders, listMessages, getMessage, and getAttachment; search and threading use search and getThread
  • Reports on senders with summarizeSenders and background sync with sync and syncStatus, all answering from a local copy
  • Uses NTLM for on-premises Exchange over EWS, and app passwords for IMAP providers such as Mail.ru and Gmail; pandoc must be installed
  • Designed for mailbox search, attachment lookup, and triage by an AI agent that must not change mail

Tools

10 tools

Public tool metadata for what this MCP can expose to an agent.

listConnectionsConfigured mailboxes with type, sign-in method, description and configuration errors

Configured mailboxes with type, sign-in method, description and configuration errors

No parameter schema in public metadata yet.

syncStarts a background synchronization and returns at once

Starts a background synchronization and returns at once

No parameter schema in public metadata yet.

syncStatusProgress and result of the current or last run

Progress and result of the current or last run

No parameter schema in public metadata yet.

listFoldersLocal folders with message counts

Local folders with message counts

No parameter schema in public metadata yet.

listMessagesMessage cards of one folder, newest first, in pages

Message cards of one folder, newest first, in pages

No parameter schema in public metadata yet.

getMessageHeaders, the body in chunks, attachments with file paths

Headers, the body in chunks, attachments with file paths

No parameter schema in public metadata yet.

getAttachmentThe text of one attachment in chunks, and the file path

The text of one attachment in chunks, and the file path

No parameter schema in public metadata yet.

searchFull-text search with Russian and English word forms, fields, folder and date filters

Full-text search with Russian and English word forms, fields, folder and date filters

No parameter schema in public metadata yet.

summarizeSendersMessage counts by sender address or domain, with dates and folders

Message counts by sender address or domain, with dates and folders

No parameter schema in public metadata yet.

getThreadThe conversation of a message across folders, oldest first

The conversation of a message across folders, oldest first

No parameter schema in public metadata yet.

Configuration

MAIL_MCP_REDACT_SECRETSdefault: false

Replace recognized passwords, codes and tokens in tool responses

Readme

Mail MCP Server

CI Release License Java 25 MCP Glama score Listed on mcpservers.org

Give your AI agent your whole mailbox, including on-premises Exchange, with no way to change it.


View the full README on GitHub

Details

Repository
github.com/igorolv/mail-mcp-server
Website
github.com/igorolv/mail-mcp-server#readme
Category
Email & Messaging
Package
ghcr.io/igorolv/mail-mcp-server:0.1.1
Transport
STDIO
Registry
MCP registry, active

Similar to Mail MCP Server

More Email & Messaging