Email MCP Server
Provides tools for managing Gmail accounts via IMAP and SMTP, allowing users to search, read, send, reply to, and organize emails and folders.
Provides tools for managing Mail.ru accounts via IMAP and SMTP, enabling capabilities such as searching, reading, sending, and managing email messages and folder statuses.
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.
Email MCP Server
HTTP/SSE wrapper для nikolausm/imap-mcp-server, обеспечивающий удалённый доступ через Claude Web и другие HTTP-клиенты MCP.
Возможности
📧 Полноценная работа с почтой: чтение, поиск, отправка, ответ, пересылка
🔐 Безопасное хранение: AES-256 шифрование учётных данных
🌐 Удалённый доступ: HTTP/SSE транспорт для Claude Web
📱 15+ провайдеров: Gmail, Outlook, Yahoo, Yandex, Mail.ru и др.
🔄 Multi-account: Поддержка нескольких почтовых аккаунтов
Related MCP server: gmail-mcp-server
Архитектура
┌─────────────────────────────────────────────────────┐
│ HTTP/SSE Wrapper │
│ (Python/aiohttp) │
├─────────────────────────────────────────────────────┤
│ │
│ HTTP/SSE ←→ STDIO Bridge ←→ imap-mcp-server │
│ │
└─────────────────────────────────────────────────────┘Быстрый старт
Локально для Claude Desktop
# Клонировать репозиторий
git clone https://github.com/nikolausm/imap-mcp-server.git
cd imap-mcp-server
# Установить и собрать
npm install
npm run build
# Настроить аккаунты через web wizard
npm run setupДобавить в ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"imap-email": {
"command": "node",
"args": ["/path/to/imap-mcp-server/dist/index.js"]
}
}
}Удалённый сервер (Docker)
# Собрать и запустить
docker-compose up -d
# Проверить здоровье
curl http://localhost:3008/healthЧерез Gateway (Claude Web)
URL для Custom Connector:
https://mcp.svsfinpro.ru/email/sseAPI Endpoints
Endpoint | Метод | Описание |
| GET | Информация о сервере |
| GET | Health check |
| GET | SSE endpoint для установления соединения |
| POST | Streamable HTTP endpoint |
| POST | Legacy SSE messages endpoint |
MCP Инструменты
Управление аккаунтами
imap_add_account- Добавить почтовый аккаунтimap_list_accounts- Список аккаунтовimap_remove_account- Удалить аккаунтimap_connect- Подключиться к аккаунтуimap_disconnect- Отключиться
Работа с письмами
imap_search_emails- Поиск писемimap_get_email- Получить письмоimap_get_latest_emails- Последние письмаimap_mark_as_read/imap_mark_as_unread- Пометить как прочитанноеimap_delete_email- Удалить письмо
Отправка писем
imap_send_email- Отправить письмоimap_reply_to_email- Ответить на письмоimap_forward_email- Переслать письмо
Папки
imap_list_folders- Список папокimap_folder_status- Статус папкиimap_get_unread_count- Количество непрочитанных
Настройка провайдеров
Gmail
Включить 2FA
Создать App Password: https://myaccount.google.com/apppasswords
IMAP:
imap.gmail.com:993SMTP:
smtp.gmail.com:465
Yandex
Создать пароль приложения
IMAP:
imap.yandex.ru:993SMTP:
smtp.yandex.ru:465
Mail.ru
IMAP:
imap.mail.ru:993SMTP:
smtp.mail.ru:465
Deployment
На сервер 217.199.253.8
./deploy.shДобавить в nginx gateway
Скопировать nginx-mcp-email.conf в конфигурацию сервера.
Безопасность
⚠️ НИКОГДА не используйте основной пароль - только App Passwords
🔐 Учётные данные шифруются AES-256
📁 Хранятся в Docker volume
email-mcp-accounts🔒 HTTPS через nginx gateway
Переменные окружения
Переменная | Описание | По умолчанию |
| Адрес сервера |
|
| Порт |
|
| Путь к imap-mcp-server |
|
| Уровень логирования |
|
Troubleshooting
Контейнер не запускается
docker logs email-mcp-serverПроблемы с подключением к почте
Проверьте App Password
Убедитесь что IMAP включен в настройках почты
Проверьте firewall
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Hosted MCP server for Gmail, Outlook, iCloud, Fastmail & Yahoo Mail with per-workspace controls.
Read, search and manage iCloud Mail, Calendar and Contacts from Claude and other MCP clients.
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 infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that enables Claude to directly access and manage email through IMAP. It provides tools for reading, searching, organizing, and drafting emails within your mailbox.9MIT
- FlicenseNot gradedqualityDmaintenanceA secure MCP server that enables Claude to read, search, send, reply, forward, and manage Gmail messages and labels through natural language commands.1-
- AlicenseNot gradedqualityDmaintenanceA cross-platform MCP server that provides Claude with email access via IMAP, supporting multiple email providers and account management.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives Claude access to plain IMAP mailboxes, enabling reading, searching, moving, and forwarding emails with safety controls configured via config files.MIT