Microsoft 365 Mail MCP Server
by mindstoneio.github.mindstone/mcp-server-microsoft-mailv0.3.0
Microsoft 365 Outlook mail via Graph: read, search, send, reply, forward, draft, move, delete.
context tax
pending
security
95/100
cold start
pending
freshness
Active27d ago
Our reading of Microsoft 365 Mail, from the data
Microsoft 365 Mail is a email MCP server from mindstone, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is active: the last public signal was 27 days ago (2026-10-15). For comparison, 74% of email servers are active or maintained.
With 13 GitHub stars it ranks #70 of 932 email servers we index.
It runs locally on your machine over stdio.
Install Microsoft 365 Mail MCP server
Install in Claude Code
claude mcp add microsoft-mail -e MS_CLIENT_ID='<ms-client-id>' -e MS_CONFIG_DIR='<ms-config-dir>' -- npx -y @mindstone/mcp-server-microsoft-mailInstall in Cursor
{
"mcpServers": {
"microsoft-mail": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-microsoft-mail"
],
"env": {
"MS_CLIENT_ID": "<ms-client-id>",
"MS_CONFIG_DIR": "<ms-config-dir>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"microsoft-mail": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-microsoft-mail"
],
"env": {
"MS_CLIENT_ID": "<ms-client-id>",
"MS_CONFIG_DIR": "<ms-config-dir>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"microsoft-mail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-microsoft-mail"
],
"env": {
"MS_CLIENT_ID": "<ms-client-id>",
"MS_CONFIG_DIR": "<ms-config-dir>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"microsoft-mail": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-microsoft-mail"
],
"env": {
"MS_CLIENT_ID": "<ms-client-id>",
"MS_CONFIG_DIR": "<ms-config-dir>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @mindstone/mcp-server-microsoft-mail --env MS_CLIENT_ID --env MS_CONFIG_DIR
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MS_CLIENT_ID | yes | — | Microsoft Entra (Azure AD) application client ID |
| MS_CONFIG_DIR | yes | — | Path to the per-user Microsoft config directory (credentials/, accounts.json) |
| MS_ACCOUNT_EMAIL | — | — | Account email when running in multi-account per-instance mode (falls back to the first account in accounts.json) |
| MS_MCP_PACKAGE_ID | — | — | Logical package ID surfaced in error responses |
| MICROSOFT_REQUEST_TIMEOUT_MS | — | — | Override the upstream Microsoft Graph request timeout in milliseconds (max 300000 = 5 min) |
| MCP_WORKSPACE_PATH | — | — | Workspace root where download_attachment saves files (falls back to the OS temp directory when unset) |
Security signals
95/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No license detected-5
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 27d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-15 · 27d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-08-07 · 3mo ago · official registry · v0.3.0
How it compares in Email
Against the most-starred email servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Microsoft 365 Mail (this) | 13 | — | not measured | Active | local |
| Inbox Zero | 12,649 | — | not measured | Active | hosted |
| Plunk | 5,524 | 42 | 14,491 | Active | local |
| Google Workspace | 3,370 | — | not measured | Active | — |
| OpenOSINT | 1,776 | — | not measured | Active | local |
| emailmd | 1,382 | 3 | 954 | Active | local + hosted |
FAQ
›How do I install the Microsoft 365 Mail MCP server in Claude Code?
Run: claude mcp add microsoft-mail -e MS_CLIENT_ID='<ms-client-id>' -e MS_CONFIG_DIR='<ms-config-dir>' -- npx -y @mindstone/mcp-server-microsoft-mail. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Microsoft 365 Mail require an API key?
Yes. It expects MS_CLIENT_ID, MS_CONFIG_DIR.
›Can I use Microsoft 365 Mail as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Microsoft 365 Mail in the official MCP registry?
Yes, as io.github.mindstone/mcp-server-microsoft-mail.
Sources and method
- Official MCP Registry entry
- updated 2026-08-07
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Microsoft 365 Mail
Other email MCP servers.
Comparing Azure & Microsoft servers? All Azure & Microsoft MCP servers, official and community.