Microsoft 365 MCP Server
Fragmented landscape — Microsoft's official Agent 365 requires Copilot license, while community servers offer Graph API integration for Mail, Calendar, Teams, and Files.
Client Compatibility
What It Does
Connects Claude to Microsoft 365 services — Mail, Calendar, Files, Teams, and SharePoint — via the Microsoft Graph API. The Softeria community server is the most accessible option, offering OAuth 2.1 with PKCE, read-only mode, and organization-mode for enterprise environments.
Microsoft’s own Agent 365 MCP servers cover Copilot Search, SharePoint, Outlook, Teams, Word, and more — but are gated behind the M365 Copilot license through the Frontier program.
What It Does Well
- Graph API integration gives broad M365 access through one server. Mail, Calendar, Files, Teams, SharePoint — the core Microsoft 365 services a developer interacts with daily. One MCP server replaces manually switching between Outlook, Teams, and OneDrive.
- Read-only mode and OAuth 2.1 + PKCE prioritize security. Enterprise environments can deploy in read-only mode to prevent Claude from sending emails or modifying calendar events. PKCE flow means no client secrets stored in config files.
- Organization mode supports enterprise multi-tenant deployments. The
--org-modeflag configures the server for organizational consent, enabling IT-managed deployment across teams instead of per-user OAuth approval.
What It Doesn’t Do Well
- Azure AD app registration is required and non-trivial. You need to create an app registration in Azure AD, configure API permissions, set up redirect URIs, and potentially get admin consent for organizational access. This is 20+ minutes of Azure portal navigation that requires understanding of Microsoft’s identity platform.
- The official Microsoft MCP ecosystem is fragmented and enterprise-gated. Microsoft has MCP servers scattered across multiple repos (microsoft/mcp monorepo, Agent 365, CLI for M365, merill/lokka) with different auth requirements and capabilities. Agent 365 — the most capable option — requires a full M365 Copilot license, putting it out of reach for individual developers.
Setup Notes
Start with the Softeria community server. Create an Azure AD app registration with the Graph API permissions you need (Mail.Read, Calendar.Read, Files.Read, etc.). Configure redirect URIs for the OAuth flow. Run with --org-mode for organizational consent or without for personal use.
Alternative community options: pnp/cli-microsoft365-mcp-server (wraps the CLI for M365 with natural language), merill/lokka (Graph API + Azure RM with multiple auth methods), DynamicEndpoints/m365-core-mcp (29 tools, security/compliance focus).
China cloud (21Vianet) is supported by the Softeria server.
Config
{
"mcpServers": {
"microsoft-365": {
"command": "npx",
"args": ["-y", "@softeria/ms-365-mcp-server", "--org-mode"]
}
}
}
Tested With
- Claude Desktop on Windows 11
{
"mcpServers": {
"microsoft-365-mcp": {
"command": "npx",
"args": [
"-y",
"@softeria/ms-365-mcp-server",
"--org-mode"
]
}
}
} Prerequisites
- Node.js 18+
- Azure AD app registration
- Microsoft 365 account
View on GitHub · npx -y @softeria/ms-365-mcp-server --org-mode
Reviewed by J-Dub · February 22, 2026