SuperAPI AI Directory

ms-365-mcp-server

ms-365-mcp-server is a server based on the Model Context Protocol that connects Microsoft 365 and Office services through the Microsoft Graph API, providing over 300 tools covering mail, calendar, OneDrive, Excel, Teams, SharePoint, and more, with support for read-only mode, tool filtering, and multiple authentication methods.

Open website

About this tool

Purpose: As an MCP server, it enables MCP-capable clients (such as Claude Desktop, Claude Code CLI, Open WebUI) to operate Microsoft 365 and Office services through the Microsoft Graph API.

Main capabilities: Provides 300+ tools, each corresponding to a Graph API endpoint, defined in src/endpoints.json. Available by default for personal accounts: Outlook mail, calendar, OneDrive files, Excel, OneNote, To Do, Planner, contacts, user profile, search. Organizational accounts require --org-mode: Teams and chats, online meetings, transcripts and recordings, attendance reports, SharePoint sites and lists, shared mailboxes and calendars, user management, presence, virtual events. Supports read-only mode, tool filtering, tool presets, and dynamic discovery to reduce the tool surface and token consumption. Output supports JSON (default) and the experimental TOON format, the latter of which can reduce tokens by 30-60%.

Usage: Requires Node.js >= 20 (recommended), authenticates via MSAL. Start in HTTP mode: npx @softeria/ms-365-mcp-server --http; CLI login: npx @softeria/ms-365-mcp-server --login. In Claude Desktop, edit the configuration file under Settings > Developer to add the server. Open WebUI adds an MCP Streamable HTTP connection via Admin Settings → Tools, with the URL including the /mcp path, and authentication set to OAuth 2.1. Authentication is required before use, supporting three methods: interactive device code login, the MCP client login tool, and CLI login, with tokens cached in the system credential store.

Limitations: Org mode must be enabled from the start, otherwise only personal account features are available. Shared mailboxes require org mode, delegated permissions (Mail.Read.Shared, etc.), and Exchange access authorization. Permissions are requested dynamically based on enabled tools; use --list-permissions to view them. --allowed-scopes only narrows token requests, while --extra-scopes can append additional scopes. --user-fields is path-level data filtering, not a complete Graph authorization boundary, and cannot be used alone as tenant-level data access control. The TOON format is experimental.