
Microsoft Outlook Mcp
io.github.0xka13b由 GitHub 账号 0xka13b 发布v1.0.1更新于 Oct 24, 2026
Microsoft Outlook (mail) MCP server — read, search, and send email through Microsoft Graph.
发布方自己的服务:Microsoft Learn MCP
概览
让助手通过 Microsoft Graph 读取、搜索并发送 Microsoft Outlook 邮件。
- 可以做什么
- 这是 Microsoft 365 系列 MCP 服务器中的 Outlook 邮件服务器,提供 14 个封装 Microsoft Graph v1.0 API 的工具。它让助手以已登录用户的身份读取、搜索和发送邮件。会修改数据的工具带有破坏性提示,客户端可据此要求确认。它支持本地 stdio 或用于托管的 Streamable HTTP。
- 适用场景
- 当助手需要处理 Microsoft 365 邮箱时适合安装:整理、搜索、阅读或发送邮件。它适合本地桌面 MCP 客户端,HTTP 模式则适合每次请求自带 Graph 令牌的托管部署。
- 运行要求
- 需要 Node.js 20 或更高版本,通过 npx 或本地构建运行。需一次性注册 Microsoft Entra ID 应用,授予委托的 Graph 权限 Mail.ReadWrite 和 Mail.Send,以及 User.Read。设置 MICROSOFT_CLIENT_ID 并运行一次 login 命令以缓存刷新令牌;MICROSOFT_TENANT_ID 和 MICROSOFT_ACCESS_TOKEN 可选。HTTP 模式每次请求需带 Bearer 令牌。
安装
在 SourceWeft 中
- 打开 控制台中的 Microsoft Outlook Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[Outlook] [Calendar] [OneDrive] [SharePoint] [Contacts]
Microsoft MCP
Model Context Protocol servers for Microsoft 365.
Calendar · Contacts · OneDrive · Outlook · SharePoint — on the official
@modelcontextprotocol/sdk,
over stdio or Streamable HTTP.
Each server speaks the real MCP protocol and runs over either transport:
- stdio — for local MCP clients that launch the server as a subprocess (Claude Desktop, IDEs, the MCP Inspector).
- Streamable HTTP — for remote/hosted use, with the Microsoft Graph access token supplied per request via
Authorization: Bearer.
Servers
All tools are thin wrappers over the Microsoft Graph v1.0 API.
Layout
A server is just a list of tools handed to run():
confirmationPolicy ("always" for mutating/destructive tools, "never" for read-only) is surfaced to clients as MCP readOnlyHint / destructiveHint annotations.
Requirements
- Node.js >= 20
- pnpm 10 (
corepack enable)
Setup
Tests & CI
Tests live next to the code as *.test.ts and run on TypeScript source directly (no build step). The shared packages/* are covered by unit and integration tests — including a full Streamable-HTTP round-trip against a live server — and CI enforces a coverage floor on them. Each apps/* server ships an invariant suite that locks its tool surface (unique snake_case names, valid schemas and confirmation policies).
Every push and pull request to master runs CI: typecheck → build → tests with coverage. The coverage badge is regenerated from the run.
Authentication
You sign in once with your Microsoft account; the server then caches a refresh token and acquires access tokens silently from then on — no pasting, no 1-hour expiry. Sign-in uses your own Microsoft Entra ID app registration (free) so the servers act on your behalf.
1. Register an Entra ID app (one time)
-
Azure Portal → Microsoft Entra ID → App registrations → New registration. Name it anything; pick the Supported account types that fit (single-tenant, multi-tenant, and/or personal accounts).
-
Authentication → Add a platform → Mobile and desktop applications → add redirect URI
http://localhost, and set Allow public client flows to Yes (enables the--device-codefallback). -
API permissions → Add a permission → Microsoft Graph → Delegated permissions → add the scopes for the servers you use (then Grant admin consent if your tenant requires it):
All servers also use
User.Read. (offline_accessis requested automatically for refresh.) -
Copy the Application (client) ID.
2. Sign in (one time per machine)
Set MICROSOFT_CLIENT_ID, then run the server's login command. A browser opens; after you consent, the token is cached under ~/.config/microsoft-mcp/:
From then on the server refreshes tokens automatically. Use a non-default tenant with MICROSOFT_TENANT_ID (default common).
Advanced: supply your own token
To bypass the built-in flow, supply a pre-acquired Graph token directly:
- stdio: set
MICROSOFT_ACCESS_TOKEN(takes precedence over the cached sign-in). Good for quick tests — mint one withaz account get-access-token --resource https://graph.microsoft.com --query accessToken -o tsv. - HTTP: send
Authorization: Bearer <token>on eachPOST /mcprequest. Each request is stateless with its own token, so callers never share credentials — this is the model for hosted/remote deployments, which handle their own auth.
Running
stdio (e.g. Claude Desktop)
Each server is published to npm and runnable with npx — no clone or build. Sign in once first (npx -y ms-calendar-mcp login, see Authentication), then:
Or point at a local build instead of npm:
During development you can skip the build and run the TypeScript directly:
Streamable HTTP
The server exposes POST /mcp (the MCP endpoint) and GET /healthz. Point any Streamable-HTTP MCP client at http://localhost:3000/mcp with an Authorization: Bearer header.
Transport selection
Resolved in this order: --stdio / --http flag → MCP_TRANSPORT=stdio|http → default stdio.
HTTP port: --port <n> → PORT → 3000.
Environment variables
来源:README.md,提交 3791c27
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Microsoft 集成

Microsoft Learn MCP
com.microsoft官方发布者
一个免费的远程 MCP 服务器,让 AI 助手搜索微软官方 Learn 文档、查找代码示例,并把文档页面抓取为 markdown。

Playwright Cloud Browsers
com.microsoft官方发布者
远程 MCP 服务器,为 AI 智能体提供托管的 Playwright 云端浏览器,可创建会话、访问并检查页面、与页面元素交互。

Microsoft Sentinel Data Exploration
com.microsoft官方发布者
远程 Microsoft Sentinel MCP 服务器,让助手用自然语言查找相关表并从 Sentinel 数据湖检索安全数据。
Visio
com.microsoft
让助手通过桌面自动化在用户的 Windows 机器上创建、更新和读取 Microsoft Visio 图表。

Microsoft Clarity MCP
由 GitHub 账号 surendranb 发布
本地 MCP 服务器,把 Microsoft Clarity 的行为 UX 数据(暴怒点击、无效点击、快速返回、JS 错误)提供给 AI 助手分析。