OWA Exchange MCP Server logo

OWA Exchange MCP Server

Connects AI agents to Microsoft Exchange through OWA for email, calendar, directory, availability, and meeting analytics.

Install OWA Exchange MCP Server

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "owa-exchange-mcp-server": {
      "command": "uvx",
      "args": [
        "exchange-mcp-server"
      ],
      "env": {
        "EXCHANGE_OWA_URL": "YOUR_VALUE_HERE",
        "EXCHANGE_COOKIE_FILE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env EXCHANGE_OWA_URL=YOUR_VALUE_HERE --env EXCHANGE_COOKIE_FILE=YOUR_VALUE_HERE --transport stdio owa-exchange-mcp-server -- uvx exchange-mcp-server

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx exchange-mcp-server

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

OWA Exchange MCP Server MCP server connects AI agents to Microsoft Exchange deployments through their Outlook Web Access interface. It exposes MCP tools for email, calendar, folders, Active Directory people search, availability, meeting analytics, and authentication. Setup uses an OWA URL, encrypted credentials, session cookies, and a browser-based login that may require 2FA. Reach for it when an agent needs to read or manage Exchange data on a hosted or on-premise OWA instance.

Use cases

  • Read and filter Exchange email
  • Schedule and update calendar meetings
  • Search Active Directory people
  • Find shared availability
  • Analyze meeting relationships

Key features

  • Email and attachment management
  • Calendar and recurring-event operations
  • Active Directory people search
  • Mail folder administration
  • Availability and meeting-time searches
  • Meeting analytics

Tools30

What OWA Exchange MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~352 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 89d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · exchange-mcp-server (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars14Stargazers on the source repository.
Last commit9mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed30Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How OWA Exchange MCP Server works

What OWA Exchange MCP Server MCP server does

OWA Exchange MCP Server MCP server gives MCP-compatible clients access to Microsoft Exchange through an OWA endpoint. It covers common mailbox operations, calendar management, directory lookup, folder administration, availability checks, and meeting-related analysis. The project is intended for both hosted and on-premise Exchange systems that expose OWA.

Email tools can list messages with filters, retrieve complete message content, send new messages, reply, forward, delete, move, and change read status. Agents can also download message attachments and extract links from email bodies. Folder tools report unread counts and support creating, renaming, emptying, deleting, and moving folders.

Calendar tools retrieve events over a date range and can expand recurring events. They also create, update, cancel, and respond to meetings, with support for event attachments and links. Directory search uses Active Directory, while availability tools find open time for one person or common slots for multiple people. Analytics tools report meeting counts and the people a user meets most often.

How it works

The server communicates with the Exchange environment through OWA rather than a separately documented Exchange API. Its MCP tools operate against the authenticated OWA session. A login tool can set up credentials and authenticate inside the MCP session; a separate login.py command provides the same browser-based flow from a terminal.

Authentication opens a headless browser, submits the supplied credentials, waits for 2FA approval for up to 90 seconds, and saves encrypted session cookies. Later logins can decrypt stored credentials with a master password. The master password is not stored. Credential and cookie data use AES-256 encryption, PBKDF2 key derivation with 480,000 iterations, and restrictive file permissions; MCP-based cookie handling keeps decrypted cookies in memory.

Setup and configuration

OWA Exchange MCP Server MCP server requires Python installation and an MCP client configuration that launches exchange-mcp-server, commonly through uvx. Set EXCHANGE_OWA_URL to the base URL of the organization’s OWA instance. EXCHANGE_COOKIE_FILE is optional and selects the session-cookie path; its default is session-cookies.txt.

A typical setup copies the example MCP configuration, replaces the sample OWA URL, installs the package with pip install -e ., and completes an initial login. The login process can save encrypted credentials with python3 login.py --setup, followed by python3 login.py, or it can be performed through the MCP login tool with a master password and, on first use, the OWA username and password.

Tools and capabilities

OWA Exchange MCP Server MCP server groups its 30 tools into these areas:

  • Email: message retrieval, composition, replies, forwarding, deletion, moves, read-state changes, attachments, and links.
  • Calendar: event retrieval, recurring expansion, meeting changes, attendee responses, attachments, and links.
  • Directory: Active Directory person searches.
  • Folders: folder listing, unread counts, creation, renaming, emptying, deletion, and relocation.
  • Availability: personal free-time searches and shared meeting-time searches.
  • Analytics: meeting statistics and meeting-contact relationship data.
  • Authentication: session checks and OWA login.

Limitations and notes

OWA authentication differs between Exchange deployments. The included login implementation targets a mobile push approval flow. Organizations using another 2FA method, SSO, or no 2FA may need to modify or remove the login logic in login.py and exchange_mcp/auth.py.

The server needs an OWA deployment that is exposed and usable by the project’s authentication and HTTP client. Actions such as sending, deleting, moving, emptying, and cancelling change Exchange data, so client users should grant agents only the access appropriate for their workflow. Session cookies are intended for the configured OWA server and are not transmitted elsewhere.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about OWA Exchange MCP Server

OWA Exchange MCP Server is an MCP server that connects AI agents to Microsoft Exchange through an OWA deployment. Its main tools manage email, calendar events, folders, directory searches, availability, meeting analytics, and authentication, including sending messages, scheduling meetings, finding people, and checking free time.

Install it with `pip install -e .` and add an MCP client entry that launches `exchange-mcp-server`, typically through `uvx`. Set `EXCHANGE_OWA_URL` to your OWA base URL, then complete the initial browser-based login with the CLI or the MCP login tool.

Yes, it supports on-premise Exchange deployments that expose OWA. The project also supports hosted Exchange instances, but authentication behavior must match the login flow implemented by the project.

It opens a headless browser, submits credentials, and waits up to 90 seconds for 2FA approval. The included flow targets mobile push approval; deployments using TOTP, SMS, SSO, or no 2FA may require changes to the login logic.

Yes, Cursor is documented as a supported client. Add the server to `.cursor/mcp.json`, launch it with `uvx` and `exchange-mcp-server`, and provide `EXCHANGE_OWA_URL` in the configuration.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOWA Exchange MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/owa-exchange-mcp-server?style=directory)](https://allmcps.com/mcp/owa-exchange-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/owa-exchange-mcp-server"><img src="https://allmcps.com/api/badge/owa-exchange-mcp-server?style=directory" alt="OWA Exchange MCP Server on AllMCPs" /></a>