Provides environment variable management for storing Microsoft App Registration credentials and other configuration options.
Provides repository access for installing the MCP server via git clone from GitHub.
Used for package management and running scripts for the MCP server.
Enhanced Outlook MCP Server
This is an enhanced, modular implementation of the Outlook MCP (Model Context Protocol) server that connects Claude with Microsoft Outlook through the Microsoft Graph API. This server provides a robust set of tools for email, calendar, folder management, and rule creation.
Features
Complete Authentication System: OAuth 2.0 authentication with Microsoft Graph API with token refresh and multiple user support
Email Management: List, search, read, send, and organize emails with attachment support
Calendar Integration: Create, modify, and manage calendar events with attendee tracking
Folder Organization: Create, manage, and navigate email folders
Rules Engine: Create and manage complex mail processing rules
Modular Architecture: Clean separation of concerns for better maintainability and extensibility
Enhanced Error Handling: Detailed error messages and logging
Test Mode: Simulated responses for testing without real API calls
Rate Limiting: Prevent API throttling with built-in rate limiting
Multi-environment Configuration: Support for development, testing, and production environments
Directory Structure
Installation
Clone the repository:
git clone https://github.com/your-username/enhanced-outlook-mcp.git cd enhanced-outlook-mcpInstall dependencies:
npm installCreate a
.env
file based on.env.example
with your Microsoft App Registration details:MS_CLIENT_ID=your_client_id MS_CLIENT_SECRET=your_client_secret # Additional configuration options
Usage with Claude
Configure Claude to use the MCP server by adding the following to your Claude configuration:
{ "tools": [ { "name": "enhanced-outlook-mcp", "url": "http://localhost:3000", "auth": { "type": "none" } } ] }Start the MCP server:
npm startIn a separate terminal, start the authentication server:
npm run auth-serverUse the authenticate tool in Claude to initiate the authentication flow.
Authentication Flow
Start the authentication server on the configured port (default: 3333)
Use the
authenticate
tool to get an authentication URLComplete the authentication in your browser
Tokens are securely stored in the configured location
Development
To run the server in development mode with auto-reload:
To run tests:
License
MIT License
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Connects Claude with Microsoft Outlook through the Graph API, providing comprehensive email, calendar, folder management, and rules creation capabilities.
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol tool that enables Claude to interact with Microsoft Outlook for macOS, allowing users to read/send emails, manage calendar events, and access contacts through natural language commands.Last updated -22
- AsecurityAlicenseAqualityA tool integration that enables Claude to compose and send emails through the Resend API, supporting features like scheduled delivery and file attachments.Last updated -12214MIT License
- -securityFlicense-qualityConnects Claude to Google Docs, allowing users to list, read, create, update, search, and delete documents in their Google Drive through natural language interactions.Last updated -1
- -securityAlicense-qualityA Model Context Protocol server that enables Claude to interact with Gmail through a secure OAuth2 connection, providing email management capabilities like listing, sending, deleting, and organizing emails.Last updated -MIT License