Back to Home
marlonluo2018 icon

microsoft_graph_mcp_server

Verified Safe

by marlonluo2018

Overview

Integrate AI assistants with Microsoft 365 services, including email, calendar, contacts, files, and Teams, via the Microsoft Graph API.

Installation

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

Stats

Interest Score31
Security Score9
Cost ClassMedium
Avg Tokens500
Stars1
Forks0
Last Update2026-01-19

Tags

Microsoft GraphMicrosoft 365AI AssistantsEmailCalendar