Back to Home
marlonluo2018 icon

microsoft_graph_mcp_server

Verified Safe

by marlonluo2018

Overview

Connects AI assistants with Microsoft 365 services (Email, Calendar, Teams, OneDrive) via the Microsoft Graph API using the Model Context Protocol.

Installation

Run Command
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

Stats

Interest Score31
Security Score8
Cost ClassMedium
Avg Tokens500
Stars1
Forks0
Last Update2026-01-17

Tags

Microsoft GraphMicrosoft 365AI IntegrationEmail ManagementCalendar Management