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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Email MCP ServerFind the last 3 emails from my manager and summarize them."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: Поддержка нескольких почтовых аккаунтов
Архитектура
Быстрый старт
Локально для Claude Desktop
Добавить в ~/Library/Application Support/Claude/claude_desktop_config.json:
Удалённый сервер (Docker)
Через Gateway (Claude Web)
URL для Custom Connector:
API 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
Добавить в nginx gateway
Скопировать nginx-mcp-email.conf в конфигурацию сервера.
Безопасность
⚠️ НИКОГДА не используйте основной пароль - только App Passwords
🔐 Учётные данные шифруются AES-256
📁 Хранятся в Docker volume
email-mcp-accounts🔒 HTTPS через nginx gateway
Переменные окружения
Переменная | Описание | По умолчанию |
| Адрес сервера |
|
| Порт |
|
| Путь к imap-mcp-server |
|
| Уровень логирования |
|
Troubleshooting
Контейнер не запускается
Проблемы с подключением к почте
Проверьте App Password
Убедитесь что IMAP включен в настройках почты
Проверьте firewall
License
MIT