vk-mail-mcp
Provides tools for interacting with Mail.ru/VK Mail mailboxes via IMAP/SMTP, including listing folders, searching and reading emails, downloading attachments, sending and replying to messages, creating drafts, updating flags, and moving emails between folders using OAuth2 or app-password authentication.
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.
vk-mail-mcp (@steelrework/vk-mail-mcp)
MCP-сервер для VK Mail и Почты Mail.ru (@mail.ru, @vk.com, @bk.ru, @inbox.ru, @list.ru, @internet.ru) от команды SteelRework.
Поддерживает два способа подключения — OAuth2 (XOAUTH2) в 1 клик и пароль для внешнего приложения, работу с вложениями, ответы в ветку (reply_email), режимы безопасности (READ_ONLY / DRAFT_ONLY) и два транспорта: stdio (Claude / Cursor / Antigravity) и Streamable HTTP (мультиюзер для веб-платформ вроде SteelRework).
Инструменты (9 tools)
Tool | Описание |
| Список папок ( |
| Поиск и список писем по отправителю, получателю, теме, тексту, дате, непрочитанным |
| Полный текст письма, заголовки и список вложений |
| Скачивание вложения из письма на диск |
| Отправка письма (текст / HTML, |
| Ответ прямо в ветку ( |
| Сохранение черновика в папку |
| Прочитано / непрочитано / флажок |
| Перемещение писем между папками |
Related MCP server: Email MCP Server
Подключение — 2 способа
Способ 1 — OAuth2 (XOAUTH2) в 1 клик (рекомендуется)
Создай приложение на o2.mail.ru/app, включи галочку «Доступ к почтовому ящику по IMAP, POP и SMTP» и добавь
redirect_uri:http://localhost:3847/oauth/callbackОдин раз авторизуйся через браузер:
MAILRU_CLIENT_ID=... MAILRU_CLIENT_SECRET=... npx @steelrework/vk-mail-mcp loginТокены сохранятся локально в
~/.vk-mail-mcp/tokens.json(права0600) и будут обновляться автоматически.Добавь в конфиг MCP-клиента (Claude Desktop / Cursor / Antigravity):
{ "mcpServers": { "vk-mail": { "command": "npx", "args": ["-y", "@steelrework/vk-mail-mcp"], "env": { "MAILRU_CLIENT_ID": "your_client_id", "MAILRU_CLIENT_SECRET": "your_client_secret" } } } }
Способ 2 — Пароль для внешнего приложения (без создания OAuth-приложения)
Создай пароль приложения на account.mail.ru/user/2-step-auth/passwords.
Добавь в конфиг MCP-клиента:
{ "mcpServers": { "vk-mail": { "command": "npx", "args": ["-y", "@steelrework/vk-mail-mcp"], "env": { "IMAP_USER": "you@mail.ru", "IMAP_PASS": "your_app_password" } } } }
Мультиюзер режим (Streamable HTTP для SteelRework и веб-агентов)
Запуск HTTP-сервера:
MCP_HTTP_PORT=3848 MCP_HTTP_TOKEN=your_internal_secret npx @steelrework/vk-mail-mcp --httpЭндпоинт POST /mcp принимает креды конкретного пользователя в заголовках:
Через OAuth2 (
XOAUTH2):X-Mailru-User+X-Mailru-Access-TokenЧерез App Password:
X-Mailru-User+X-Mailru-PassОпционально:
X-Mailru-From-Name,Authorization: Bearer <MCP_HTTP_TOKEN>
Режимы безопасности
MAILRU_READ_ONLY=true— только чтение и поиск (отправка, черновики, флаги и перемещения заблокированы).MAILRU_DRAFT_ONLY=true— агент может читать и создавать черновики, но не может отправлять письма.
License
MIT — SteelRework
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Email for AI agents: read, search and send from your Gmail, Outlook, Yahoo, iCloud or IMAP inbox.
Email inboxes for AI agents: read, search, reply, send, bulk send and read attachments.
Connect any IMAP/SMTP mailbox to Claude & ChatGPT: search, read, sort, draft. Sends only with OK.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to read, search, send, schedule, and organize email across multiple IMAP/SMTP accounts, including drafts, provider-aware labels, real-time inbox watching, verification-code capture, and analytics. Supports OAuth2, calendar extraction, and both local stdio and networked Streamable HTTP access.31 npmISC
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to read, search, send, reply, forward, schedule, and organize email across multiple IMAP/SMTP accounts, including drafts, labels, bulk operations, real-time mailbox watching, verification-code capture, calendar extraction, and analytics. It runs locally over stdio or as a networked Streamable HTTP service with OAuth2 sign-in and provider auto-detection.31 npmISC
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search and read email, inspect attachments, and optionally send messages and organize folders through existing IMAP and SMTP mailboxes. Supports Docker, stdio, and HTTPS OAuth deployment with read-only or full-access modes.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to read, search, send, schedule, and organize mail across multiple IMAP/SMTP accounts, including drafts, provider-aware labels, analytics, calendar extraction, and real-time inbox watching with verification-code capture. Runs over stdio or Streamable HTTP and supports auto-detected providers, OAuth2, and multi-account operation.31 npmISC