owa-mail-mcp
Click on "Deploy 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., "@owa-mail-mcp Show me my unread emails"
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.
owa-mail-mcp
MCP-сервер к корпоративному Exchange: почта, календарь, справочник людей.
Наружу Exchange отдаёт только /owa/ (EWS SOAP, MAPI, IMAP/SMTP закрыты), поэтому
сервер работает через OWA JSON API (/owa/service.svc) — тот же протокол, что и
веб-клиент OWA, — поверх NTLM.
Подключение
Конфиг MCP-клиента:
{
"mcpServers": {
"owa-mail": {
"command": "uvx",
"args": ["--from", "git+https://github.com/mainpart/owa-mail-mcp.git", "owa-mail-mcp"],
"env": {
"EXCHANGE_USERNAME": "DOMAIN\\user",
"EXCHANGE_PASSWORD": "..."
}
}
}
}Локальный запуск из клона: uv sync && uv run owa-mail-mcp.
Related MCP server: OWA Exchange MCP Server
Переменные окружения
Переменная | Обяз. | Дефолт | Назначение |
| да | — | учётка NTLM, |
| да | — | пароль |
|
| хост OWA | |
|
| кэш сессии (0600), пишется сервером | |
|
|
| |
|
| куда сохраняются вложения | |
|
| Windows-зона для | |
|
| уровень логов (в stderr) | |
| 20 тулов | allowlist видимых тулов (см. «Конфиг») | |
|
| транспорт |
Методы
Служебное:
Метод | Что делает |
| Жив ли сеанс OWA — делает лёгкий запрос к ящику, возвращает |
Почта:
Метод | Что делает |
| Папки с id, счётчиками и непрочитанными ( |
| Список папки или полнотекстовый поиск ( |
| Письмо целиком: тело, получатели, id вложений, ссылки ( |
| Вся переписка по письму или |
| Отправить письмо или сохранить черновик ( |
| Ответить / ответить всем ( |
| Переслать письмо с вложениями |
| Удалить (в «Удалённые» или |
| Пометить прочитанным / непрочитанным |
| Переместить письмо в папку |
Календарь:
Метод | Что делает |
| События за период ( |
| Событие целиком: тело, участники, статусы ответов |
| Какие календари видны и какие из них реально читаются |
| Занятость человека с темами встреч — даже без доступа к папке |
| Свободные для всех слоты в рабочих часах |
| Создать событие или серию, разослать приглашения |
| Изменить событие и уведомить участников ( |
| Отменить своё событие ( |
| Принять / отклонить / под вопросом ( |
Люди, вложения, автоответчик:
Метод | Что делает |
| Справочник: имя/логин/адрес → адрес; при одном совпадении — полная карточка (должность, отдел, телефоны); |
| Скачать вложение на диск |
| Прочитать настройки автоответчика |
| Включить / выключить / по расписанию |
⚙ — выключены по умолчанию, включаются через MCP_ENABLED_TOOLS.
Конфиг
MCP_ENABLED_TOOLS полностью заменяет дефолт — перечисляйте ровно то, что нужно;
пустая строка выключает все тулы.
Включить всё (24 тула):
check_auth,get_folders,find_emails,get_email,get_thread,send_email,reply_email,forward_email,delete_email,mark_email_read,move_email,get_calendar_events,get_event,get_calendars,get_user_availability,find_meeting_time,create_event,update_event,cancel_event,respond_to_event,get_attachment,find_people,get_oof,set_oofТолько чтение:
check_auth,get_folders,find_emails,get_email,get_thread,get_calendar_events,get_event,get_calendars,get_user_availability,find_peopleAvailable Tools
20 toolscancel_eventCancel Calendar EventADestructive
Cancel an event YOU organize and notify the attendees.
The notice reaches them and cannot be recalled. Only the organizer can cancel: asked to cancel someone else's event this refuses rather than quietly deleting your copy — to take it off your own calendar, decline it with respond_to_event.
For a RECURRING event apply_to is required; nothing is cancelled until you
supply it.
Inputs: item_id (required), message, apply_to. Returns: result
check_authCheck OWA SessionARead-onlyIdempotent
Is the OWA session live? A health check for this MCP connection.
Makes one light authenticated call to the mailbox — not just a cookie-file check — so the answer covers both the credentials and whether the OWA host is reachable, independent of any particular tool.
Inputs: no named parameters. Returns: result
create_eventCreate Calendar EventA
Create a calendar event, one-off or recurring, and invite attendees.
With no attendees this is a private appointment and nothing is sent.
Inputs: end (required), start (required), subject (required), body, +10 more. Returns: result
delete_emailDelete EmailADestructive
Delete an email — to Deleted Items by default.
Inputs: item_id (required), hard_delete. Returns: result
find_emailsFind EmailsARead-onlyIdempotent
List emails in a folder, or search the whole mailbox by text.
Newest first. Bodies are not included — a row carries a short preview at
most; full body, attachment ids and links come from get_email.
A listing answers with total/has_more and both continuations, next_offset and next_cursor — take either for the next page. A search has neither a total (the server reports 0 whatever it found) nor a cursor.
Inputs: after, limit, query, folder, +3 more. Returns: result
find_meeting_timeFind Meeting SlotsARead-onlyIdempotent
Concrete meeting slots where everyone is free, in working hours.
Feed a chosen slot straight into create_event. Slots are computed from each attendee's actual busy blocks (absolute times), not from the merged free/busy string — that string comes back shifted by the mailbox time zone on this server and would place meetings on top of existing ones.
Inputs: people (required), end, limit, start, +5 more. Returns: result
find_peopleFind PeopleARead-onlyIdempotent
Look someone up in the corporate address book.
A single match comes back with the full card — job title, department, office,
phones. Several come back as a compact list, each with the exact SMTP address
send_email and create_event want. has_more only means the page came back
full: the directory reports no honest total.
Inputs: query (required), limit, offset, details. Returns: result
forward_emailForward EmailADestructive
Forward an email with its attachments. Sends immediately.
Inputs: to (required), item_id (required), body, body_type. Returns: result
get_attachmentDownload AttachmentA
Download an attachment to disk and return its path.
Works for both mail and calendar attachments.
Inputs: attachment_id (required), filename, target_dir. Returns: result
get_calendar_eventsList Calendar EventsARead-onlyIdempotent
Calendar events in a time window, recurrences expanded.
is_recurring on a row means it is one occurrence of a series: changing,
cancelling or declining that row needs an explicit apply_to in the write
tools.
There is no paging and nothing to page — the whole window is read every call,
so total is exact. Narrow the answer by moving start/end.
Inputs: end, limit, start, folder, +1 more. Returns: result
get_calendarsList CalendarsARead-onlyIdempotent
List the calendars in your sidebar — yours and colleagues' — and who you can read.
A colleague's calendar being listed does NOT mean it is readable: the entry
looks identical either way, and only a read attempt tells them apart — hence
check_access. When someone's calendar is closed, their schedule WITH
MEETING SUBJECTS is usually still available via get_user_availability.
Inputs: check_access. Returns: result
get_emailRead EmailARead-onlyIdempotent
Full email: body, all recipients, and attachment ids for get_attachment.
Inputs: item_id (required), body_format, include_links. Returns: result
get_eventRead Calendar EventARead-onlyIdempotent
Full calendar event: body, attendees with response status, attachment ids.
Inputs: item_id (required), body_format. Returns: result
get_foldersList Mail FoldersARead-onlyIdempotent
List mail/calendar folders with their ids, item counts and unread counts.
Use it to turn a custom folder name into the FolderId find_emails and
move_email accept. total is the server's own count of folders in view, so it
is trustworthy.
Inputs: depth, limit, offset, parent. Returns: result
get_threadRead Email ThreadARead-onlyIdempotent
Every email in a conversation, newest first — the whole back-and-forth.
The only way to read a thread in full: search returns just the messages that matched, get_email returns one. Bodies are not included — follow up with get_email on the messages you need.
has_more only says the thread hit limit: this action has no offset and no
cursor, so raise limit to see the rest.
Inputs: item_id (required), limit, include_deleted. Returns: result
get_user_availabilityRead Free/Busy ScheduleARead-onlyIdempotent
Read someone's schedule: their busy blocks, WITH MEETING SUBJECTS.
Works for a colleague who has not shared their calendar folder, where
get_calendar_events(person=…) needs exactly that sharing and otherwise fails
with "Доступ запрещён". Subjects appear when their sharing level exposes
details; otherwise subject is null and the busy intervals remain.
For "when can we all meet?" use find_meeting_time.
Inputs: people (required), end, start, interval. Returns: result
reply_emailReply to EmailADestructive
Reply to an email, quoting the original. Sends immediately.
Inputs: body (required), item_id (required), body_type, reply_all. Returns: result
respond_to_eventRespond to InvitationAIdempotent
Accept, decline or tentatively accept an event invitation.
For a RECURRING event apply_to is required, and it matters: declining the
series tells the organizer you are out of every future meeting, and a sent
decline cannot be recalled. Nothing is sent until you supply it.
Inputs: item_id (required), response (required), comment, apply_to, +1 more. Returns: result
send_emailSend EmailADestructive
Send an email, or save it to Drafts. Sending is immediate — no confirmation step.
Inputs: to (required), body (required), subject (required), cc, +4 more. Returns: result
update_eventUpdate Calendar EventADestructive
Change an existing event and notify attendees. Only the fields you pass change.
For a RECURRING event apply_to is required, and nothing is changed until you
supply it.
Inputs: item_id (required), end, body, start, +5 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools target a distinct action and resource, but get_folders and get_calendars have slight overlap since both list folders for mail/calendar. The descriptions clarify the distinction, so ambiguity is low.
All tool names follow a consistent verb_noun pattern in lowercase snake_case. Verbs like get, find, send, create, and update are used predictably, making the API easy to learn and navigate.
At 20 tools, the server is heavier than the typical 3-15 range. While the dual email/calendar scope justifies the number, it falls into the 'heavy' category and could feel overwhelming for agents.
Calendar operations are well-covered with full CRUD and response handling, but the email side has significant gaps: get_folders references move_email, which does not exist, and there is no update or edit operation for emails. This creates dead ends for workflows involving moving or modifying messages.
Maintenance
Related MCP Connectors
An MCP server that provides email capabilities, hosted on Alpic platform
An MCP server that provides email capabilities, hosted on Alpic platform
An MCP server that provides email capabilities, hosted on Alpic platform
MCP server for Nylas — read email, calendars, events and contacts, and send email or create events.
Related MCP Servers
- AlicenseCqualityBmaintenanceSecure MCP server for on-prem Microsoft Exchange (EWS) with tools for email, calendar, contacts, folders, attachments, and free/busy availability.3116MIT
- AlicenseAqualityCmaintenanceMCP server for any Microsoft Exchange / OWA deployment. Gives LLM agents access to email, calendar, directory search, folders, availability, and meeting analytics via 30 tools.3032 PyPI12MIT
- AlicenseAqualityCmaintenanceMCP server for sending and managing Microsoft Outlook email via the Microsoft Graph API, including drafts, replies, contacts, and directory search.22ISC
- AlicenseAqualityCmaintenanceA local MCP server for on-premises Microsoft Exchange, connecting via EWS and NTLM. It provides mail, template, availability, and calendar workflow tools through stdio, with draft-first safety and Windows Credential Manager integration.119MIT