Skip to main content
MCP server CX Codex

Microsoft Exchange Online MCP — Claude Code MCP server: guide

Microsoft Exchange Online MCP — an MCP server for Claude Code and Codex handling Exchange Online administration. Executes mailbox forwarding audits, EWS reviews, quarantine actions, and offboarding without running PowerShell sessions.

no license ★ 87 updated 2026-10-24

Open on GitHub

What Microsoft Exchange Online MCP does

The server bridges AI agents with the Exchange Online REST interface without opening interactive PowerShell sessions. A single installer script places both the exchange-online-mcp server binary and the exchange-online-cli executable into the user bin directory.

Agents query forwarding configurations across client tenants, review EWS access settings, manage quarantine bins, and run offboarding workflows. When operating as an HTTP service rather than a local binary, the server requires the EXCHANGE_ONLINE_MCP_HTTP_TOKEN environment variable for token transmission.

Local CLI operation runs directly on the machine. Deployments targeting Microsoft 365 Copilot or Copilot Studio require HTTPS hosting capable of forwarding bearer tokens, plus Copilot Studio licensing and tenant administrative permissions.

What it helps with

  • audit external mailbox forwarding rules across client tenants
  • inspect Exchange Web Services posture and access rules
  • execute user offboarding routines without manual PowerShell sessions
  • inspect and quarantine suspicious tenant email messages

Example prompts for the agent

  • Audit mailbox forwarding rules across all connected tenants
  • Check EWS posture settings using exchange-online-cli
  • Run the employee offboarding sequence for this mailbox

How to install Microsoft Exchange Online MCP

Install

The MCP registry has no launch command for it: see the repository README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Microsoft Exchange Online MCP

How to install Microsoft Exchange Online MCP in Claude Code?

Register the repository using /plugin marketplace add Servosity/msp-skills, then install the component via /plugin install exchange-online@msp-skills.

What does Microsoft Exchange Online MCP do?

It exposes Exchange Online management tasks to MCP agents, allowing mailbox audits, EWS inspection, quarantine handling, and tenant offboarding.

What is required to run Microsoft Exchange Online MCP?

Local operation needs the installed exchange-online-cli and exchange-online-mcp binaries. Remote transport requires an HTTPS host with EXCHANGE_ONLINE_MCP_HTTP_TOKEN, while Copilot Studio integrations demand tenant admin rights and a Copilot Studio license.

Similar MCP servers

All MCP servers for DevOps and infrastructure →

From the same set107

The whole set →
Keeper Security MCP Keeper Security MCP — an MCP server for Claude Code reporting read-only security posture across Keeper MSP clients. It monitors change feeds and tenant history without touching passwords. CX Codex +1 ★ 87repo stars Kaseya VSA 10 MCP This MCP server for Claude Code connects an agent to the Kaseya VSA 10 API and a local fleet database. It answers questions about patches, device health, and installed software across clients. CX Codex +1 ★ 87repo stars Jamf Pro MCP MCP server for Claude Code and other platforms brings client management of Jamf Pro into a unified CLI workspace. CX Codex +1 ★ 87repo stars Hook Security MCP This MCP server for Claude Code connects an AI agent to Hook Security data. It surfaces phishing click rates, training status, and figures for client QBRs. CX Codex +1 ★ 87repo stars ESET MCP This MCP server for Claude Code connects an agent to the ESET API. It creates per-customer MSP health, risk, and quarterly review reports from a local tree copy. CX Codex +1 ★ 87repo stars Dropsuite (NinjaOne) MCP Dropsuite (NinjaOne) MCP server connects AI agents to backups, fleet health metrics, and billing data. CX Codex +1 ★ 87repo stars Domain and Certificate Tracker MCP The Domain and Certificate Tracker MCP MCP server for Claude Code gathers domain and certificate records. It checks for expiry, DNS or TLS changes, and domain unlock events. CX Codex +1 ★ 87repo stars DNSFilter MCP DNSFilter MCP is a Claude Code MCP server that explains blocked sites, finds stale roaming agents, and handles unblock requests. CX Codex +1 ★ 87repo stars

Project sponsors

Companies that keep this analytics open