Outlook Mail + Calendar + OneDrive + Sharepoint
@Norcim133
This MCP server gives Claude Desktop access to your Microsoft 365 mail and Calendar, OneDrive, and Sharepoint using the Microsoft Graph API.
Overview
What is Outlook Mail + Calendar + OneDrive + Sharepoint?
This server provides Claude Desktop and other MCP-compatible agents with access to Microsoft 365 mail using the Microsoft Graph API. It is built for macOS and requires an Azure-registered application with admin consent for Graph scopes.
How to use Outlook Mail + Calendar + OneDrive + Sharepoint?
Set up the environment with uv, create an auth_cache folder and a .env file containing your Azure client ID, tenant ID, and scopes. Run the server via uv run mcp dev mcpserver/server.py for testing, then add the server configuration to your Claude Desktop claude_desktop_config.json with the command uv and args pointing to the project directory.
Key features of Outlook Mail + Calendar + OneDrive + Sharepoint
- Search, filter, and analyze your inbox from MCP-compatible agents
- Uses the modern Microsoft Graph SDK (
msgraph) - Authenticates via DeviceCodeCredential with token caching
- Calendar support is planned (querying, filtering)
- OneDrive support is a possible future direction
Use cases of Outlook Mail + Calendar + OneDrive + Sharepoint
- Analyze email inbox from Claude Desktop without switching context
- Search and filter emails by date, sender, or subject
- Retrieve message details and metadata programmatically
FAQ from Outlook Mail + Calendar + OneDrive + Sharepoint
What dependencies are required?
Python with uv, azure.identity, msgraph SDK, and FastMCP.
What operating system is supported?
Currently macOS only; Windows support is planned.
How is authentication set up?
You must have an Azure-registered application with admin-consented Graph permissions (e.g., Mail.Read, Mail.Send). The server uses DeviceCodeCredential and stores the token in auth_cache/auth_record.json.
Does this server support Calendar or OneDrive yet?
Calendar integration is started but not yet functional; OneDrive is a possible future direction. Only mail access is fully implemented.
Can I use this with other MCP clients besides Claude Desktop?
Yes, the server follows the MCP protocol and can be used with any MCP-compatible agent, though the README targets Claude Desktop specifically.