mcp-outlook-desktop
适用于 Claude 和 Antigravity (AGY) 的 Microsoft Outlook MCP 服务器
一个高性能的 模型上下文协议(MCP) 服务器,可安全、直接地访问你的 Microsoft 365 Outlook 电子邮件、日历和联系人,支持从以下位置使用:
Claude Code CLI
Claude Desktop
Antigravity CLI (AGY)
🖥️ 实时终端演示
[1;36m>[0m [1mclaude[0m "Check my unread emails and prepare a draft follow-up to Alex about tomorrow's sync"
[1;34m⚡ Calling Tool:[0m outlook_list_messages(folder="inbox", unread_only=True, top=5)
[32m✔ Found 2 unread messages:[0m
[1] [1mFrom:[0m Alex Mercer <alex@company.com> | [1mSubject:[0m Agenda for Q3 Planning Sync
[2] [1mFrom:[0m Cloud Alerts <alerts@infra.io> | [1mSubject:[0m Weekly Node Health Report
[1;34m⚡ Calling Tool:[0m outlook_get_message(message_id="MSG_049281")
[32m✔ Retrieved message safely encapsulated in <untrusted_email_body_content> boundary.[0m
[1;34m⚡ Calling Tool:[0m outlook_create_draft(
to_recipients=["alex@company.com"],
subject="Re: Agenda for Q3 Planning Sync",
body="Hi Alex,\n\nThanks for sending over the agenda. I reviewed the distributed queue items and added notes for tomorrow's sync.\n\nBest,\nJosh"
)
[1;32m✔ Draft created successfully in Outlook Drafts folder (ID: DRAFT_839120)[0m
[2;37m [Human-in-the-Loop Safe]: The draft is ready in your Outlook app for review before sending.[0mRelated MCP server: outlook-mcp
🔒 隐私与安全架构
设计上的人机协同:所有外发邮件草稿默认保存到 Outlook 的
Drafts文件夹中供人工审核。未经审核的直接发送(outlook_send_mail)需要显式设置confirm_send=True标志,以防止意外发送。间接提示注入防御:传入的电子邮件正文被封装在
<untrusted_email_body_content>XML 标签中,以确保 AI 模型将外部内容严格解析为被动数据。零云令牌 / 无密码:通过 Windows MAPI(
win32com)100% 本地连接到正在运行的 Windows Outlook 桌面应用程序。严格的
.gitignore:所有本地配置、缓存和环境均被忽略。
🚀 安装与快速开始
方法 1:使用 uvx 即时运行(无需 git clone)
如果你已安装 uv,可以直接运行服务器:
uvx mcp-outlook-desktopClaude Desktop 配置(%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"outlook": {
"command": "uvx",
"args": ["mcp-outlook"]
}
}
}Claude Code CLI:
claude mcp add outlook uvx mcp-outlook-desktop方法 2:使用 pip 进行本地安装
pip install mcp-outlook-desktop然后在你的 Claude Desktop 配置中:
{
"mcpServers": {
"outlook": {
"command": "mcp-outlook"
}
}
}方法 3:从源代码克隆(C:\projects\mcp-outlook)
cd C:\projects
gh repo clone Jpatching/mcp-outlook
cd mcp-outlook
setup.bat测试连接(请确保 Outlook 已打开):
run.bat --status
run.bat --test🛠️ 可用的 MCP 工具
工具名称 | 参数 | 描述 |
| none | 检查与 Outlook 的连接 |
|
| 列出收件箱、已发送、草稿中的最近电子邮件 |
|
| 在邮箱中搜索邮件 |
|
| 检索完整的邮件正文和发件人详细信息,并安全地封装在 XML 边界内 |
|
| 在 Outlook 草稿文件夹中创建草稿邮件或回复草稿(推荐) |
|
| 直接发送电子邮件(除非 |
|
| 列出即将到来的会议和约会 |
|
| 在 Outlook 日历中安排会议 |
| none | 列出邮件文件夹及其未读计数 |
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceEnables AI-powered email management for Microsoft Outlook, allowing users to search, compose, organize, and batch forward emails using natural language commands with 100% local processing.30MIT
- AlicenseBqualityCmaintenanceEnables AI assistants to manage Microsoft Outlook email and calendar through the Microsoft Graph API, including reading, sending, searching emails, and handling calendar events.434225MIT
- Flicense-qualityDmaintenanceProvides programmatic access to Microsoft Outlook mailboxes, enabling AI assistants to search, analyze, and extract insights from emails in personal and shared mailboxes.
- AlicenseAqualityDmaintenanceEnables AI assistants to manage Microsoft 365 email, calendar, and contacts through natural language, with zero Azure setup required.159MIT
Related MCP Connectors
Governed email for AI agents (Mailbuttons / mbag.ai): sandbox inboxes, policy gate, audit log.
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jpatching/mcp-outlook'
If you have feedback or need assistance with the MCP directory API, please join our Discord server