mailru-mcp
Provides comprehensive management for Mail.ru email (IMAP/SMTP) and calendar (CalDAV). Capabilities include searching, managing flags, moving, and sending emails; as well as listing calendars, retrieving event details, finding free slots, and creating/updating meeting events.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mailru-mcp
Локальный MCP-сервер для почты (IMAP/SMTP) и календаря (CalDAV) Mail.ru, транспорт stdio.
Инструменты
Инструмент | Что делает |
| список папок |
| поиск: текст, отправитель, тема, даты, только непрочитанные |
| письмо целиком: текст, ссылки ( |
| прочитано / флажок |
| перенос в папку |
| в Корзину (без безвозвратного удаления) |
| черновик в «Черновики» |
| отправка — только при |
| календари, доступные по CalDAV |
| встречи за период (повторы раскрыты, участники, ссылка на звонок) |
| встречи и свободные слоты по дням в рабочие часы; |
| одна встреча целиком: все участники, описание, повтор |
| создать встречу (участники, повтор, весь день) |
| изменить встречу или одно вхождение серии |
| удалить встречу или одно вхождение серии |
| принять / отклонить / «возможно» |
Related MCP server: Fastmail MCP Server (Unofficial)
Установка
Mail.ru → Настройки → Безопасность → Пароли для внешних приложений → создать пароль с доступом IMAP и SMTP. Обычный пароль от ящика по IMAP не работает.
Зависимости (Python 3.10+):
python -m venv .venv .venv/bin/pip install -r requirements.txt # Windows: .venv\Scripts\pipВ конфиг Claude Desktop (
claude_desktop_config.json, Настройки → Разработчик → Изменить конфигурацию) добавить:{ "mcpServers": { "mailru": { "command": "/ABS/PATH/mailru-mcp/.venv/bin/python", "args": ["/ABS/PATH/mailru-mcp/server.py"], "env": { "MAILRU_USER": "you@mail.ru", "MAILRU_APP_PASSWORD": "пароль-приложения", "MAILRU_ALLOW_SEND": "0" } } } }Перезапустить приложение.
Переменные окружения
MAILRU_USER,MAILRU_APP_PASSWORD— обязательныеMAILRU_ALLOW_SEND=1— включитьsend_messageMAILRU_FROM_NAME— отображаемое имя отправителяMAILRU_CALDAV_URL— по умолчаниюhttps://calendar.mail.ruMAILRU_CALDAV_PASSWORD— отдельный пароль приложения для календаря, если почтовый не подходитMAILRU_TZ— часовой пояс календаря, по умолчаниюEurope/MoscowMAILRU_CALENDAR_DEFAULT— календарь для новых встреч, по умолчанию «Основной»MAILRU_CALENDAR_READONLY=1— запретить создание, правку, удаление и ответыMAILRU_IMAP_HOST/PORT,MAILRU_SMTP_HOST/PORT— по умолчаниюimap.mail.ru:993,smtp.mail.ru:465
Ограничения
Пароль приложения лежит в конфиге открытым текстом — ограничьте права на файл.
Вложения не скачиваются, только перечисляются.
В одном поиске на сервер уходит одно условие с кириллицей; остальные фильтруются локально по последним письмам.
Лицензия
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Hosted email MCP for your own Gmail, Outlook.com, Microsoft 365, iCloud or IMAP inbox: read, search, draft, reply in thread, forward and file mail. It moves or flags up to 500 messages in one call, and a send leaves exactly one copy in Sent. A calendar is a separate connection, and connecting one adds diary and scheduling tools.
Email, calendar and contacts for AI agents: Gmail, Microsoft 365 and IMAP accounts behind one API.
Read, send, file and search email in any Gmail, Microsoft 365 or IMAP mailbox, plus its calendar.
Read, send, organize, watch email on any IMAP mailbox: Gmail, iCloud, OVH, Zoho, Fastmail + CalDAV.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceGives MCP clients access to a Mail.ru mailbox for reading, searching, and filtering messages, creating folders, moving, archiving, and deleting mail, and preparing or sending replies, with mass operations preceded by dry runs and deletions kept reversible. It also handles Mail.ru-specific quirks such as modified UTF-7 folder names and dropped long IMAP sessions, and restricts sending to an allowlist of recipients.2MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to access and manage email, contacts, and calendar data, including sending/reply, search, attachments, drafts, labels, and CalDAV events.-
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to access and manage email, contacts, and calendar data over JMAP/CalDAV/WebDAV, including searching, sending, threading, attachments, contacts, events, and mailbox operations.MIT
- AlicenseNot gradedqualityBmaintenanceConnects a single Mail.ru mailbox to ChatGPT through Google OAuth and IMAP, enabling folder listing, email search, non-destructive reading, moving messages, and moving selected messages to the trash.Mozilla Public 2.0