microsoft_graph_mcp_server
Verified Safeby marlonluo2018
Overview
Integrate AI assistants with Microsoft 365 services, including email, calendar, contacts, files, and Teams, via the Microsoft Graph API.
Installation
uvx .Environment Variables
- CLIENT_ID
- CLIENT_SECRET
- TENANT_ID
- USER_TIMEZONE
- DEFAULT_SEARCH_DAYS
- PAGE_SIZE
- LLM_PAGE_SIZE
- CONTACT_SEARCH_LIMIT
- CALENDAR_SEARCH_PAST_DAYS
- CALENDAR_SEARCH_FUTURE_DAYS
Security Notes
Uses Microsoft's public client ID by default, configurable via .env for custom app registrations. Employs device code flow for authentication, which is user-interactive and avoids exposing client secrets. Authentication tokens are managed by MSAL and stored locally in the user's home directory, which is common for user-local applications. The project includes an input validation layer to prevent invalid inputs. Network requests are made to legitimate Microsoft Graph API endpoints, with rate limiting and exponential backoff implemented to handle API limits. No 'eval' or obvious obfuscation patterns were found.
Similar Servers
ms-365-mcp-server
Interacting with Microsoft 365 and Office services through the Graph API via a Model Context Protocol (MCP) server.
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
This server provides a Model Context Protocol (MCP) interface for a D365 F&O client, enabling AI assistants and other MCP-compatible tools to interact with Microsoft Dynamics 365 Finance & Operations environments for metadata retrieval, CRUD operations, action execution, and data querying.
outlook-mcp
Enables AI assistants to interact with Microsoft Outlook for email, calendar, and SharePoint operations through the Microsoft Graph API.