
Outlook
STDIOConnect Claude with Microsoft Outlook for email and calendar management through Graph API.
Connect Claude with Microsoft Outlook for email and calendar management through Graph API.
This is a modular implementation of the Outlook MCP (Model Context Protocol) server that connects Claude with Microsoft Outlook through the Microsoft Graph API.
/modular/
├── index.js # Main entry point
├── config.js # Configuration settings
├── auth/ # Authentication modules
│ ├── index.js # Authentication exports
│ ├── token-manager.js # Token storage and refresh
│ └── tools.js # Auth-related tools
├── calendar/ # Calendar functionality
│ ├── index.js # Calendar exports
│ ├── list.js # List events
│ ├── create.js # Create event
│ ├── delete.js # Delete event
│ ├── cancel.js # Cancel
│ ├── accept.js # Accept event
│ ├── tentative.js # Tentatively accept event
│ ├── decline.js # Decline event
├── email/ # Email functionality
│ ├── index.js # Email exports
│ ├── list.js # List emails
│ ├── search.js # Search emails
│ ├── read.js # Read email
│ └── send.js # Send email
└── utils/ # Utility functions
├── graph-api.js # Microsoft Graph API helper
├── odata-helpers.js # OData query building
└── mock-data.js # Test mode data
To use this MCP server you need to first register and configure an app in Azure Portal. The following steps will take you through the process of registering a new app, configuring its permissions, and generating a client secret.
To configure the server, edit the config.js
file to change:
claude-config-sample.json
to your Claude Desktop configurationauthenticate
toolYou can test the server using:
./test-modular-server.sh
This will use the MCP Inspector to directly connect to the server and let you test the available tools.
outlook-auth-server.js
)authenticate
tool to get an authentication URL~/.outlook-mcp-tokens.json
To add more functionality:
calendar/
)TOOLS
array in index.js