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.
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: Поддержка нескольких почтовых аккаунтов
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn 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.Last updated9
- Alicense-qualityCmaintenanceA secure MCP server that enables Claude to read, search, send, reply, forward, and manage Gmail messages and labels through natural language commands.Last updated2021MIT
- Alicense-qualityDmaintenanceA cross-platform MCP server that provides Claude with email access via IMAP, supporting multiple email providers and account management.Last updatedMIT
- Alicense-qualityBmaintenanceA read-only MCP server that gives Claude unified access to multiple Gmail and Microsoft 365 accounts, enabling email search, reading, and listing through one connection.Last updated417MIT
Related MCP Connectors
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Shipmail MCP server for AI agent custom-domain email inboxes with REST API and webhooks.
Hosted email MCP for AI agents with inboxes, send/receive, memory, recovery, and credits.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SvenTern/mcp_email'
If you have feedback or need assistance with the MCP directory API, please join our Discord server