ms-365-mcp-server

MCP.Pizza Chef: Softeria

A Microsoft 365 account becomes reachable from your AI client, covering mail, calendar, OneDrive files, Excel workbooks, OneNote, To Do tasks, Planner and contacts. Work accounts can switch on an organization mode that adds Teams chats, online meetings, transcripts, attendance and SharePoint. You sign in through Microsoft's own login screen rather than pasting a secret, and a read-only mode is available if you would rather it never change anything. It runs from a single line in your client's settings and needs Node 20 or newer.

Calendar
Email
Files/PDF

Use This MCP server To

Find the email where someone sent me the budget Check what's on my calendar tomorrow afternoon Pull a number out of an Excel file on OneDrive Add a task to my To Do list from chat Summarize a Teams meeting transcript from last week Search my OneNote notebooks for an old meeting note

README

ms-365-mcp-server

npm version build status license

Microsoft 365 MCP Server

A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Microsoft Office services through the Graph API.

Supported Clouds

This server supports multiple Microsoft cloud environments:

Cloud Description Auth Endpoint Graph API Endpoint
Global (default) International Microsoft 365 login.microsoftonline.com graph.microsoft.com
China (21Vianet) Microsoft 365 operated by 21Vianet login.chinacloudapi.cn microsoftgraph.chinacloudapi.cn

Prerequisites

  • Node.js >= 20 (recommended)
  • Node.js 14+ may work with dependency warnings

Features

  • Authentication via Microsoft Authentication Library (MSAL)
  • Comprehensive Microsoft 365 service integration
  • Read-only mode support for safe operations
  • Tool filtering for granular access control
  • Tool presets and dynamic discovery to shrink the tool surface and token usage

Output Format: JSON vs TOON

The server supports two output formats that can be configured globally:

JSON Format (Default)

Standard JSON output with pretty-printing:

ms-365-mcp-server FAQ

Which apps does it work in?
Claude Desktop and VS Code are documented, and any other MCP-compatible client can use the same command.
Do I need to paste a secret key?
No. You sign in with your Microsoft account through Microsoft's own login screen.
Can I use this to read my work email and calendar?
Yes — mail, calendar, contacts and files work with a personal account, and turning on organization mode adds Teams, meetings and SharePoint.
Can I stop it changing anything?
Yes. There is a read-only mode, plus filters that let you switch on only the handful of tools you actually want.
How hard is setup?
Paste one command into your client's settings and sign in. You need Node 20 or newer installed on your computer.
Will my company's admin need to approve it?
Quite possibly. In managed workplaces the permissions it requests often need admin consent before you can use it.
Does it work outside the standard Microsoft cloud?
The global cloud is the default, and the China 21Vianet cloud is also supported.