MO

mpalermiti/outlook-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

40 stars 14 forks 质量 83 趋势 32MIT

通过 Microsoft Graph API 为 Microsoft Outlook 个人账户提供 MCP 服务器。62 种工具,涵盖 13 个类别——邮件、日历、联系人、任务、草稿、附件、Delta 查询、摘要、批量阅读。

概览

通过 Microsoft Graph API 为 Microsoft Outlook 个人账户提供 MCP 服务器。 — @outlook.com,@hotmail.com,@live.com。工作/学校账户(Entra ID)在v1中不支持。 独立开源项目。与Microsoft公司无关联、不认可或支持。“Outlook”和“Microsoft Graph”是Microsoft的商标。 - 将Outlook接入您自己的基础设施(OpenClaw、Claude代码、光标、自定义MCP主机),并希望拥有一个带有类型化的工具表面——而不是需要解析的标准——基于(Outlook)构建。

概述(AI 翻译)

通过 Microsoft Graph API 为 Microsoft Outlook 个人账户提供 MCP 服务器。

仅限个人Microsoft账户 — @outlook.com、@hotmail.com、@live.com。工作/学校账户(Entra ID)在v1中不被支持。

免责声明: 独立开源项目。与Microsoft公司无关联、不认可或支持。“Outlook”和“Microsoft Graph”是Microsoft商标。


这是给谁的

如果你是:

  • 一个agent构建器将Outlook接入你自己的基础设施(OpenClaw、Claude代码、Cursor、自定义MCP主机),并且想要一个有类型化的工具表面——而不是需要解析的标准
  • 基于个人Microsoft账户(Outlook.com / Hotmail / Live)并希望完全控制:自带Azure应用,无企业同意流程,无共享客户端ID
  • 寻找真实覆盖——邮件、日历、联系人、待办事项、草稿、文件夹、批量操作、线程——而非仅邮件或仅日历包装
  • 注重安全:操作系统密钥圈中的令牌(macOS 上的钥匙链,Linux 上的 libsecret——除非你选择加入,否则绝不使用明文),细粒化 allow_categories,可选的 read_only 模式,零遥测

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

outlook-mcp

MCP server for Microsoft Outlook personal accounts via Microsoft Graph API.

Personal Microsoft accounts only — @outlook.com, @hotmail.com, @live.com. Work/school accounts (Entra ID) are not supported: the server is built and tested on personal accounts. Fixes that make a tool behave on a work account, without changing what a personal account sees, are welcome.

Disclaimer: Independent open-source project. Not affiliated with, endorsed by, or supported by Microsoft Corporation. “Outlook” and “Microsoft Graph” are trademarks of Microsoft.


Who this is for

You’ll like this if you’re:

  • An agent builder wiring Outlook into your own infra (OpenClaw, Claude Code, Cursor, custom MCP host) and want a typed tool surface — not stdout you have to parse
  • Building on personal Microsoft accounts (Outlook.com / Hotmail / Live) and want full control: BYO Azure app, no enterprise consent flow, no shared client ID
  • Looking for real coverage — mail, calendar, contacts, to-do, drafts, folders, batch ops, threading — instead of a mail-only or calendar-only wrapper
  • Security-conscious: tokens in the OS keyring (Keychain on macOS, libsecret on Linux – never cleartext unless you opt in), granular allow_categories, optional read_only mode, zero telemetry

This isn’t for you if you need work/school M365 accounts (use Microsoft’s official tooling — Entra ID auth and admin-consent flows are out of scope here), or if a basic mail-only client would suffice (this has 77 tools — way more than you need for “read my inbox”).

How it differs from other Outlook tools you’ll find

This is the only first-class MCP server in the personal-Outlook space — most alternatives are bash scripts or skill-shaped CLI wrappers the agent shells out to. That distinction matters: the agent gets typed tool schemas with structured args/returns, not stdout it has to parse. Other things you won’t find elsewhere: /$batch-optimized triage (10-20× faster on bulk ops), recursive folder ops with name resolution, granular per-category permissions, multiple mailboxes (one server per account via OUTLOOK_MCP_CONFIG_DIR), and full attachment write paths including >3MB upload sessions for drafts and calendar events.


What This Enables

Give your AI agent full Outlook access. Example prompts that just work:

  • “Summarize my unread email from the past 24 hours and flag anything time-sensitive.”
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "outlook": { "command": "outlook-mcp" } } }