outlook-mcp
Controls the Microsoft Outlook desktop app via COM automation, enabling email, calendar, and contact management without needing Graph API or Azure registration.
README
Outlook MCP Server (win32com)
An MCP server that controls the Microsoft Outlook desktop app through COM
automation (win32com). It does not use Microsoft Graph — there is no
Azure app registration, no OAuth, no API keys. It operates on whatever
account(s) your local Outlook client is already signed into, which makes it
ideal for corporate environments where Graph API access is locked down.
Requirements
- Windows (COM automation is Windows-only)
- Classic Outlook desktop installed and configured with an account. The "new Outlook" (the web-based rewrite) does not expose the COM object model and will not work — switch the toggle back to classic Outlook.
- Python 3.10+
Installation
git clone <this-repo>
cd outlook_mcp
pip install -e .
This installs mcp and pywin32 and registers the outlook-mcp command.
Configure Claude Desktop / Claude Code
Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"outlook": {
"command": "outlook-mcp"
}
}
}
Claude Code:
claude mcp add outlook -- outlook-mcp
If Outlook is not running, the first tool call starts it automatically.
Tools
| Tool | Description |
|---|---|
list_folders |
Tree of all mail folders across every account/store |
list_emails |
Recent emails in a folder (newest first, optional unread-only) |
get_email |
Full email by entry_id, including attachment list |
search_emails |
Search a folder by subject / sender / body text |
save_attachments |
Save an email's attachments to a local directory |
send_email |
Send (or draft) a new email — plain text or HTML, with attachments |
reply_to_email |
Reply / reply-all, with the original quoted below |
forward_email |
Forward an email, attachments included |
mark_email |
Mark read / unread |
move_email |
Move an email to another folder |
delete_email |
Move an email to Deleted Items |
list_calendar_events |
Events in a window around today (recurrences expanded) |
create_calendar_event |
Create an appointment or send a meeting invite |
list_contacts |
List/search the default Contacts folder |
Emails are addressed by their Outlook EntryID, which list_emails and
search_emails return — pass it to get_email, reply_to_email, etc.
Folders accept well-known names (Inbox, Sent Items, Drafts, ...) or
slash paths like Inbox/Receipts or you@company.com/Inbox to target a
specific account.
Example prompts
- "Show my unread emails"
- "Search my inbox for emails from Alice about the Q3 budget"
- "Reply to that email saying I'll review it by Friday"
- "Save the attachments from that email to C:\Users\me\Downloads"
- "What's on my calendar this week?"
- "Set up a 30-minute meeting with bob@example.com tomorrow at 2pm"
Notes & troubleshooting
- Security prompts: depending on your organization's policy, Outlook may show an "Allow access?" dialog when a program reads addresses or sends mail programmatically. Your admin controls this via Group Policy ("Programmatic Access" settings in Trust Center).
- "New Outlook" toggle: if tool calls fail with "class not registered" or Outlook opens but nothing happens, you are likely on new Outlook. Switch back to classic Outlook.
- Bitness/permissions: run the MCP server as the same user (and not elevated differently) as Outlook, or COM will refuse to connect to the running instance.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。