Skip to main content
Glama
Jpatching

mcp-outlook-desktop

by Jpatching

Microsoft Outlook MCP Server для Claude и Antigravity (AGY)

PyPI CI

Высокопроизводительный Model Context Protocol (MCP) сервер, обеспечивающий прямой безопасный доступ к вашим Microsoft 365 Outlook электронным письмам, календарю и контактам из:

  • Claude Code CLI

  • Claude Desktop

  • Antigravity CLI (AGY)


🖥️ Живая демонстрация терминала

> claude "Check my unread emails and prepare a draft follow-up to Alex about tomorrow's sync"

⚡ Calling Tool: outlook_list_messages(folder="inbox", unread_only=True, top=5)
✔ Found 2 unread messages:
  [1] From: Alex Mercer <alex@company.com> | Subject: Agenda for Q3 Planning Sync
  [2] From: Cloud Alerts <alerts@infra.io> | Subject: Weekly Node Health Report

⚡ Calling Tool: outlook_get_message(message_id="MSG_049281")
✔ Retrieved message safely encapsulated in <untrusted_email_body_content> boundary.

⚡ Calling Tool: outlook_create_draft(
    to_recipients=["alex@company.com"],
    subject="Re: Agenda for Q3 Planning Sync",
    body="Hi Alex,\n\nThanks for sending over the agenda. I reviewed the distributed queue items and added notes for tomorrow's sync.\n\nBest,\nJosh"
)
✔ Draft created successfully in Outlook Drafts folder (ID: DRAFT_839120)
  [Human-in-the-Loop Safe]: The draft is ready in your Outlook app for review before sending.

Related MCP server: outlook-mcp

🔒 Архитектура конфиденциальности и безопасности

  • Human-in-the-Loop by Design: Все исходящие черновики сообщений по умолчанию сохраняются в папку Drafts Outlook для ручной проверки. Прямая отправка без проверки (outlook_send_mail) требует явного флага confirm_send=True для предотвращения случайных отправок.

  • Защита от косвенной инъекции промптов: Тела входящих электронных писем заключены в XML-теги <untrusted_email_body_content>, чтобы гарантировать, что ИИ-модели обрабатывают внешний контент строго как пассивные данные.

  • Ноль облачных токенов / Без паролей: Подключается на 100% локально к вашему запущенному приложению Windows Outlook Desktop через Windows MAPI (win32com).

  • Строгий .gitignore: Все локальные конфигурации, кэши и окружения игнорируются.


🚀 Установка и быстрый старт

Метод 1: Мгновенный запуск с помощью uvx (не требуется клонирование git)

Если у вас установлен uv, вы можете запустить сервер напрямую:

uvx mcp-outlook-desktop

Конфигурация Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "outlook": {
      "command": "uvx",
      "args": ["mcp-outlook"]
    }
  }
}

Claude Code CLI:

claude mcp add outlook uvx mcp-outlook-desktop

Метод 2: Локальная установка с помощью pip

pip install mcp-outlook-desktop

Затем в вашей конфигурации Claude Desktop:

{
  "mcpServers": {
    "outlook": {
      "command": "mcp-outlook"
    }
  }
}

Метод 3: Клонирование из исходного кода (C:\projects\mcp-outlook)

cd C:\projects
gh repo clone Jpatching/mcp-outlook
cd mcp-outlook
setup.bat

Проверьте подключение (при открытом Outlook):

run.bat --status
run.bat --test

🛠️ Доступные MCP-инструменты

Имя инструмента

Параметры

Описание

outlook_check_status

none

Проверить подключение к Outlook

outlook_list_messages

folder, top, unread_only

Список последних писем из Входящих, Отправленных, Черновиков

outlook_search_messages

query, top

Поиск сообщений по всему почтовому ящику

outlook_get_message

message_id

Получить полное тело письма и данные отправителя, безопасно заключенные в XML-границы

outlook_create_draft

subject, body, to_recipients, reply_to_message_id

Создать черновик письма или ответа в папке Черновики Outlook (рекомендуется)

outlook_send_mail

subject, body, to_recipients, confirm_send

Отправить письмо напрямую (перенаправляется в Черновики, если не confirm_send=True)

outlook_list_calendar_events

days_ahead

Список предстоящих встреч и событий

outlook_create_calendar_event

subject, start_datetime, end_datetime, attendees, location

Запланировать встречу в календаре Outlook

outlook_list_folders

none

Список почтовых папок с количеством непрочитанных

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • Governed email for AI agents (Mailbuttons / mbag.ai): sandbox inboxes, policy gate, audit log.

  • Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.

  • Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.

View all MCP Connectors

Latest Blog Posts

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/Jpatching/mcp-outlook'

If you have feedback or need assistance with the MCP directory API, please join our Discord server