Skip to main content
Glama

exchange-mcp

An MCP server that gives an AI assistant one person's on-premises Exchange mailbox (mail, calendar, contacts, tasks) through Exchange Web Services, acting as that person with no further rights.

Your mailbox lives in

Use

Exchange Server in your own data centre (2016, 2019, Subscription Edition)

this server (Exchange Web Services)

Microsoft 365 / Exchange Online

microsoft-365-mcp (Microsoft Graph); Microsoft turns EWS off in Exchange Online

Both, during a migration

both, one per mailbox location

Free and open source (Apache-2.0). Status: 0.1.1, tested against Exchange Server 2016 CU23; CHANGELOG.md lists what each release holds. We wrote the documents below before the code, and the code follows them.

Document

What it settles

MANIFESTO.md

the rules, each with what a violation looks like

docs/requirements.md

the 21 tools, the EWS operations behind them, every refusal and its test

docs/auth-modes.md

the two sign-in modes, their risks, and where the sealing key lives

docs/architecture.md

components, request path, configuration, threats

docs/admin-guide.md

how to deploy it and what to ask your Exchange administrators

docs/code-review.md

what blocks a merge

SECURITY.md

reporting, and what a deployment must provide

Sign-in

Mode

Needs

This server holds

Checked against a live server

adfs (preferred)

Exchange 2019 CU13+ or Subscription Edition on every client-facing server; AD FS and Exchange configured by administrators

an AD FS token that reaches EWS only

not yet: unit tests against a fake AD FS only (what to check)

password

any Exchange with EWS

the person's directory password, sealed; no second factor (risks)

yes, Exchange Server 2016 CU23 (findings)

The sealing key comes from Vault or OpenBao (recommended), or from a Kubernetes Secret generated at deploy time. Never from an environment variable.

Related MCP server: msgraph-mcp

Tools

Area

Tools

account

get_connection

people

list_people

mail

list_messages, get_message, save_mail_folder, delete_mail_folder, update_messages, save_draft, send_draft, save_automatic_reply

calendar

list_events, get_event, find_meeting_times, save_event, respond_to_event, cancel_event

contacts

save_contact, delete_contact

tasks

list_tasks, save_task, delete_task

Excluded by design: inbox rules, forwarding, delegates, permissions, other mailboxes, impersonation, export, hard delete.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      A
      maintenance
      Enables AI assistants to run real Exchange Management Shell tasks against on-premise Microsoft Exchange for administration, monitoring, and troubleshooting, including recipient provisioning, transport troubleshooting, and DAG/health monitoring.
      42
      8
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI agents to access Microsoft Outlook mail and calendar, plus read-only Microsoft Teams message history, acting as the signed-in user via delegated permissions.
      50
      203 PyPI
      1
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables MCP-capable AI clients to act on behalf of a user against 21Vianet-operated Microsoft 365, querying mail, calendars, OneDrive and SharePoint through Microsoft Graph China while respecting existing user permissions, confirmation prompts and audit boundaries.
      -