SkillAgentSearch skills...

exchange-ews-mcp

Draft-first MCP server for on-premises Microsoft Exchange via EWS and NTLM.

Install / Use

claude mcp add ShermanGu -- npx -y github:ShermanGu/exchange-ews-mcp

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

75/100

Supported Platforms

Claude Code
Claude Desktop

Our assessment of exchange-ews-mcp

exchange-ews-mcp scores 75/100 on our quality scale, 373rd of 393 Communication skills we index.

Its MCP Server is 7.5 KB long, well organised into 19 sections with 16 code examples: a thorough specification that gives an agent plenty to work with.

It has 10 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
29/30
Structure
20/20
Description
12/15
Adoption
4/20
Freshness
11/15

Maintenance, license and trust

  • The repository was last updated about 3 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 90/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-11-26. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

exchange-ews-mcp compared with similar skills

All 4 of these similar skills score higher than exchange-ews-mcp; compare them before choosing.

SkillScoreStarsUpdatedFormat
exchange-ews-mcp (this skill)by ShermanGu75103mo agoMCP Server
Agent-Reachby Panniantong100115.4k3d agoCLAUDE.md
hyperframesby heygen-com10091.5ktodayCLAUDE.md
rufloby ruvnet10082.6ktodayCLAUDE.md
headroomby headroomlabs-ai10081.0ktodayCLAUDE.md

Frequently asked questions

How do I install exchange-ews-mcp?
Run claude mcp add ShermanGu -- npx -y github:ShermanGu/exchange-ews-mcp. The install tabs above show the steps for each supported agent.
Which AI agents does exchange-ews-mcp work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is exchange-ews-mcp safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 90/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is exchange-ews-mcp still maintained?
The repository was last updated about 3 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.

Exchange EWS MCP v0.9.0

English | 简体中文

CI Python 3.10+ Platform: Windows License: MIT

📮 Give your on-premises Exchange an AI assistant.

Tired of copying last week's report? Digging through old mail before every reply? Checking calendars one person at a time just to book a meeting?

Exchange EWS MCP connects an MCP Agent to Microsoft Exchange through EWS + NTLM. The Agent can search mail, prepare drafts, update weekly reports, check availability, and manage meetings — while important sends stay under user control.

[!IMPORTANT] Designed for on-premises Exchange with EWS + NTLM. It is not an Exchange Online / Microsoft Graph OAuth client.

✨ Highlights

  • 📧 Search mail, compose drafts, reply, forward, edit drafts, add attachments.
  • 👥 Resolve recipients from full pinyin names or complete email addresses.
  • 📝 Update weekly reports while preserving the original Outlook HTML layout, including reports synthesized from other people's weekly-report emails.
  • 📅 Check availability, find common time, create/edit meetings, and send invitations after confirmation.
  • 🔐 Store passwords in Windows Credential Manager.
  • 🛡️ Draft-first workflows keep the final send under user control.

🧭 Architecture

flowchart LR
    A["MCP client / Agent"] -->|stdio| S["Exchange EWS MCP"]
    S --> M["Semantic mail workflows"]
    S --> W["Weekly-report workflow"]
    S --> C["Calendar coordination"]
    M --> E["EWS client + NTLM"]
    W --> E
    C --> E
    E --> X["On-premises Exchange"]
    M --> R["Local reference store"]
    W --> R
    C --> R
    S --> K["Windows Credential Manager"]

The server runs locally on Windows and exposes higher-level mail and calendar workflows to the Agent. Exchange credentials and low-level Exchange IDs stay behind the server.


🚀 Quick start

Clone → install → connect Exchange → paste one server path into your MCP client.

1. Requirements

  • Windows 10/11 or Windows Server
  • Python 3.10–3.13
  • Access to your Exchange EWS endpoint
  • An Exchange account allowed to use EWS with NTLM

2. Install

git clone https://github.com/ShermanGu/exchange-ews-mcp.git
cd exchange-ews-mcp
.\install.cmd

The installer creates .venv and installs everything locally.

3. Configure Exchange

.\.venv\Scripts\exchange-ews-mcp.exe configure

Set the current mailbox user:

.\.venv\Scripts\exchange-ews-mcp.exe set-current-user `
  --email "you@company.example" `
  --display-name "Your Name"

Check the connection:

.\.venv\Scripts\exchange-ews-mcp.exe status
.\.venv\Scripts\exchange-ews-mcp.exe test

Your password is stored in Windows Credential Manager, not in the repository.

4. Set calendar preferences

.\.venv\Scripts\exchange-ews-mcp.exe set-calendar-preferences `
  --time-zone "Asia/Shanghai" `
  --workday-start "09:00" `
  --workday-end "18:00" `
  --slot-minutes 30

5. Connect your MCP client

✅ Recommended: point directly to the EXE

After installation, the production MCP server is:

<repo>\.venv\Scripts\exchange-ews-mcp-server.exe

If your MCP client has Command and Arguments fields:

Command:
D:\tools\exchange-ews-mcp\.venv\Scripts\exchange-ews-mcp-server.exe

Arguments:
<leave empty>

Use an absolute path, save the configuration, then restart the MCP client.

Or use JSON

{
  "mcpServers": {
    "exchange-ews": {
      "command": "D:\\tools\\exchange-ews-mcp\\.venv\\Scripts\\exchange-ews-mcp-server.exe"
    }
  }
}

You can also run:

.\.venv\Scripts\exchange-ews-mcp.exe mcp-config

6. Verify

.\.venv\Scripts\exchange-ews-mcp.exe version
.\.venv\Scripts\exchange-ews-mcp.exe tool-list

Expected version: 0.9.0 · Production tools: 11

🎉 Done — your Agent can now work with Exchange.

💬 Try these prompts

Find my latest weekly report and update it with this week's progress.
Summarize the weekly reports A and B sent me, then use that summary to generate my new weekly-report draft.
Draft an email to wangxiaoming saying integration testing is complete. Don't send it.
Find the earliest one-hour slot next week when lixiaohong and I are both free, create a meeting, and save it without sending.

🧰 Main capabilities

| Area | Capabilities | | --- | --- | | Mail | Search/read mail, compose drafts, reply, forward, edit drafts, attachments | | People | Recipient resolution and ambiguity handling | | Weekly reports | Read recent history and create an updated Reply All or fresh Compose draft without rebuilding HTML | | Calendar | Availability, common slots, calendar reads, create/update meetings, send invitations |

The compact mail facade uses search_mail, read_mail, resolve_people, save_mail_draft, and edit_mail_draft. Weekly reports use the single weekly_report entry followed by continue_action; HTML always remains server-owned. Calendar creation/editing uses save_meeting; confirmed sending uses send_meeting_invitation.

📝 Weekly reports

Direct user update ───────────────┐
                                   ├→ weekly_report(request=...)
search_mail/read_mail → LLM summary ┘
                                   ↓
                         Read recent history + slots
                                   ↓
                         Agent routes request by loc
                                   ↓
                         Update only relevant text
                                   ↓
                  Create an unsent Reply All or Compose draft

For aggregation prompts, the Agent first searches/reads the source reports and summarizes them; that summary becomes the request passed to weekly_report. The tool itself does not search other users' mail.

The Agent does not regenerate the whole HTML template. The server keeps the existing layout and updates approved text slots only. The Agent receives three weeks of context total (current editable report plus two prior reports), uses short local slot IDs such as s1, and the server automatically advances supported Subject date/week markers for the next draft.

🔒 Safety in short

  • Mail is draft-first.
  • Meeting sends require explicit confirmation.
  • Credentials stay in Windows Credential Manager.
  • Ambiguous recipients or meeting times are returned for confirmation instead of guessed.

📚 Documentation

Agent connection · Agent tools · Architecture · Weekly reports · Development tests · Changelog

For contributors: CONTRIBUTING.md · SECURITY.md

Limitations

Windows is the primary runtime target. EWS behavior depends on Exchange version and mailbox policy. Weekly-report editing currently expects a supported Outlook/Word HTML reply structure. Exchange Online users should generally prefer Microsoft Graph and modern authentication.

License

Released under the MIT License.

Related Skills

View on GitHub
GitHub Stars10
CategoryCommunication
Updated3mo ago
Forks1

Languages

Python

Trust signals

90/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 low2 info