
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 分