ms-365-mcp-server is a Model Context Protocol (MCP) server providing access to Microsoft 365 and Office services via the Microsoft Graph API. It supports multiple Microsoft cloud environments (Global, China 21Vianet) and offers 300+ tools covering email, calendar, OneDrive files, Excel, OneNote, To Do, Planner, contacts, user profile, search, and with organization mode, Teams, SharePoint, online meetings, and more. It supports multiple authentication methods (device code flow, OAuth authorization code flow, bring-your-own-token) and provides advanced features like multi-account support, tool presets, dynamic tool discovery, TOON output format (token reduction), read-only mode, tool filtering, scope filtering, and more. This project is a third-party open-source implementation (MIT license), not official Microsoft.
Use cases
Personal account: manage email, calendar, OneDrive files, Excel, OneNote, to-do tasks, etc.
Work/school account: access Teams, SharePoint, shared mailboxes, user management, and other organizational features.
Automation workflows: interact directly with Microsoft 365 data via MCP for mail processing, calendar management, file operations, etc.
AI assistant integration: read and manipulate M365 data directly in AI tools like Claude, boosting productivity.