microsoft_graph_mcp_server
Verified Safeby marlonluo2018
Overview
Connects AI assistants with Microsoft 365 services (Email, Calendar, Teams, OneDrive) via the Microsoft Graph API using the Model Context Protocol.
Installation
uvx .Environment Variables
- CLIENT_ID
- TENANT_ID
- USER_TIMEZONE
- DEFAULT_SEARCH_DAYS
- PAGE_SIZE
- LLM_PAGE_SIZE
- CONTACT_SEARCH_LIMIT
Security Notes
The server handles authentication via device code flow and stores access/refresh tokens in plain JSON files in the user's home directory. This relies on operating system file permissions for security. While common for desktop applications, it's not as robust as hardware-backed key storage. Environment variables are correctly used for sensitive configuration (CLIENT_ID, TENANT_ID), preventing hardcoded secrets. No 'eval' or obvious malicious patterns were found in the provided code. Network communication is explicitly with Microsoft Graph API endpoints, which is the intended behavior. Robust rate limiting and retry logic are implemented for API calls.
Similar Servers
ms-365-mcp-server
Provides an MCP server to enable AI models to interact with Microsoft 365 and Office services through the Graph API.
cli-microsoft365-mcp-server
This MCP server allows users to execute CLI for Microsoft 365 commands using natural language, enabling management of various Microsoft 365 services like SharePoint, Teams, and Power Platform.
d365fo-client
A comprehensive Python client for Microsoft Dynamics 365 Finance & Operations, enabling metadata management, CRUD operations, OData action calls, and offering an MCP server for AI integration to facilitate data interaction and analysis.
outlook-mcp-server
AI-powered local email management for Microsoft Outlook, enabling search, composition, organization, and batch forwarding of emails using natural language commands.