outlook-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
outlook-mcp
MCP server for Outlook — enables AI assistants to access email, contacts, and calendars via Windows COM interface.
Built on the Model Context Protocol (MCP), works with Claude Code and other MCP-compatible clients.
Features
Email: Search, read, send, reply, forward, flag, move, delete
Contacts: Search by name or email
Calendar: List calendars, create events
Multi-account: Supports all accounts configured in Outlook
Safe by design: Send/reply/forward opens Outlook compose window for user confirmation — never auto-sends
Local only: All operations via local COM interface, no cloud API or OAuth needed
Related MCP server: MCP Outlook Tools
Requirements
Windows with Outlook desktop client installed and running
Python >= 3.10
Install
pip install outlook-mcp-serverVerify installation:
outlook-mcp-server --versionUsage with Claude Code
Add to your project's .mcp.json:
{
"mcpServers": {
"outlook": {
"command": "outlook-mcp-server"
}
}
}Then restart Claude Code. The 14 Outlook tools will be available to Claude automatically.
Alternative: run from source
git clone https://github.com/lihaokun/outlook-mcp.git
cd outlook-mcp
pip install -e .{
"mcpServers": {
"outlook": {
"command": "uv",
"args": [
"--directory", "C:\\path\\to\\outlook-mcp",
"run", "outlook-mcp-server"
]
}
}
}Available Tools
Accounts & Folders
Tool | Description |
| List all configured email accounts (name, email, type) |
| List all folders with message counts and unread counts |
| Create a new subfolder under a specified parent |
Email Search & Read
Tool | Description |
| Search by keyword (subject/sender/recipient), with date range and sort |
| Get recent messages by days, folder, and unread filter |
| Read full message content (body, HTML, attachments) |
Email Operations
Tool | Description |
| Compose new email (opens Outlook compose window) |
| Reply or reply-all (opens compose window) |
| Forward with original attachments (opens compose window) |
| Mark read/unread, flag/unflag, move to folder, or trash |
| Batch delete messages |
Contacts & Calendar
Tool | Description |
| Search contacts by name or email |
| List all calendars with item count and writable status |
| Create calendar event (opens Outlook event window) |
Safety
This server is designed with safety as a priority:
No auto-send:
sendMail,replyToMessage,forwardMessage, andcreateEventall call.Display()instead of.Send()/.Save(). This opens the Outlook compose window so the user can review and confirm before sending.Outlook Object Model Guard: Outlook may show additional security prompts for send operations. This is expected behavior.
Local only: All data stays on your machine. No external API calls, no cloud services, no OAuth tokens.
Technical Details
COM interface: Uses
pywin32(win32com.client) to control OutlookMCP transport: stdio (standard input/output)
Message ID: Uses Outlook's
EntryIDas unique identifierSearch: Uses
Items.Restrict()with DASL filters for efficient server-side filteringInternationalization: Automatically handles both "Inbox" and "收件箱" folder names
Related Projects
mail-assistant — AI-powered mail assistant using MCP, works with Thunderbird and Outlook
thunderbird-mcp — MCP server for Thunderbird
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- FlicenseCqualityDmaintenanceA powerful MCP server that enables AI assistants to interact with Microsoft Graph API for managing Outlook emails, Calendar events, OneDrive files, and Contacts through natural language commands.3556-
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables AI assistants to interact with Microsoft Outlook for calendar management, email operations, and search functionality.15MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for email + calendar via classic Outlook on Windows (COM automation). No Azure app registration, no OAuth — it just drives the Outlook desktop client you're already signed into.31 npmMIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that gives AI assistants full access to Microsoft Outlook emails, calendar, and contacts via the Microsoft Graph API.86 npm2MIT