Back to Home
keelinglogic icon

ms-graph-mcp

Verified Safe

by keelinglogic

Overview

A Model Context Protocol (MCP) server providing Claude Code with full access to Microsoft 365 services via the Microsoft Graph API, covering email, calendar, contacts, To Do, Planner, and Groups.

Installation

Run Command
cd deployment/hermes && docker compose up -d

Environment Variables

  • CLIENT_ID
  • TENANT_ID
  • SCOPES
  • ATHENA_DATA_DIR
  • ALLOW_UNENCRYPTED_CACHE
  • HOME
  • PIP_CACHE_DIR
  • PATH

Security Notes

The server demonstrates strong security practices: `CLIENT_ID` and `TENANT_ID` are loaded from environment variables, avoiding hardcoded secrets. OAuth tokens are persistently stored in a Docker volume (`m365-mcp-data`) with restrictive `0o700` (`TOKEN_CACHE_DIR`) and `0o600` (`TOKEN_CACHE_FILE`) file permissions. Attachment downloads implement path sanitization (`Path(att_name).name`) to prevent directory traversal vulnerabilities. Network exposure is designed to be behind a VPN (WireGuard recommended), enhancing security. No `eval` or `exec` with unvalidated user input were found. The server relies on `mcp-proxy` for HTTP exposure, which wraps the standard I/O communication.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens750
Stars0
Forks1
Last Update2026-01-16

Tags

Microsoft 365Microsoft Graph APIEmailCalendarTasksCollaboration