
Outlook
io.github.rlrghb由 GitHub 账号 rlrghb 发布v1.16.1更新于 Oct 24, 2026
Outlook & OneDrive MCP: personal & enterprise tools for mail, calendar, contacts, tasks, files
概览
本地 MCP 服务器兼命令行工具,通过 Microsoft Graph 让助手访问 Outlook 邮件、日历、联系人、任务和 OneDrive。
- 可以做什么
- 读取和搜索邮件,获取邮件 ID、主题和发件人,并通过 Microsoft Graph 同步邮箱及其他资源的变更,支持 JSON、TSV 或表格输出,可限制返回字段。查看指定天数的日历事件。搜索和列出联系人。列出任务列表并浏览 OneDrive 文件。起草、回复、全部回复、发送和转发邮件,包括带内嵌图片的 HTML 草稿;写操作仅在明确选择加入后通过 MCP 暴露。可将外部邮件、日历、联系人和文件文本标记为不可信内容,供智能体更安全地使用。
- 适用场景
- 适合让助手处理个人 Outlook.com 或企业 Microsoft 365 账户:整理和搜索邮件、查看近期日历事件、查找联系人、管理任务、浏览 OneDrive,或准备草稿和回复。可通过禁用写入、发送和交互提示的参数进行无人值守的只读运行。
- 运行要求
- 作为本地进程运行;可通过 Homebrew、Go 或 npm 包 olkcli 安装,后者提供 olk 命令。需要通过命令行的 auth login 登录,工作或学校账户可使用企业选项。macOS 升级后可能请求钥匙串访问权限。需要访问 Microsoft Graph 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Outlook,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
olk — Microsoft Outlook in Your Terminal
olk is a scriptable CLI and MCP server for Outlook mail, calendars, contacts,
tasks, and OneDrive through Microsoft Graph. It works with personal Outlook.com
accounts and enterprise Microsoft 365 accounts.
Install
The npm package is olkcli; the installed command is olk:
See macOS notes if macOS asks for Keychain access after an upgrade.
Quick start
For work/school accounts and enterprise-only features:
Common commands
See the command reference for all commands and flags.
Inline images in HTML drafts
Use a cid: URL in the HTML and supply the matching image with repeatable
--inline CID=PATH flags. This works for new drafts and true threaded reply or
reply-all drafts:
Each CID must be unique and referenced by the HTML. Files must be images and
each must be under 3 MB, the Microsoft Graph simple-attachment limit. Draft
commands do not send mail; immediate sends and forwards do not accept
--inline.
Output and scripting
Results are written to stdout; diagnostics and prompts go to stderr.
Output modes are JSON (--json), TSV (--plain), and aligned tables by
default. Use --concise to omit large bodies/previews and --select to limit
fields where supported. See scripting and sync.
Safety defaults
- Use
--no-write --no-send --no-inputfor unattended read-only runs. - MCP exposes curated tools and requires explicit opt-in for mutations.
- External mail, calendar, contact, and file text can be wrapped with
--wrap-untrustedfor agent-safe consumption. - Refresh tokens are stored in the OS keychain; access tokens are kept in memory only.
Read the security and privacy guide before connecting an agent or sharing logs.
Documentation
- Command reference
- Authentication and accounts
- Scripting and synchronization
- MCP and AI agents
- Security and privacy
- Enterprise app setup
- Development and releases
- Agent instructions
Contributing
See development and releases for repository structure, validation, CI, and publishing details.
License
See LICENSE.
来源:README.md,提交 6228443
工具
0版本历史
4- v1.16.1最新Oct 12, 2026
- v1.15.1Sep 26, 2026
- v1.15.0Sep 24, 2026
- v1.14.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分