
Outlook Classic
io.github.jli-software由 GitHub 帳號 jli-software 發布v1.3.1更新於 Oct 29, 2026
Mail, calendar and contacts of classic Outlook on Windows via COM. Single EXE, no Graph app.
概覽
本機 Windows MCP 伺服器,透過 COM 讓助理讀取、搜尋和整理傳統版 Outlook 的郵件、行事曆與聯絡人,不需 Graph 或 Azure。
- 可以做什麼
- 列出、搜尋、讀取並同步各資料夾郵件,管理資料夾、已讀狀態、分類和移動
- 建立、修改、回覆和轉寄草稿,列出並儲存附件,僅在啟用傳送時傳送草稿
- 搜尋、解析並檢視聯絡人和公司通訊錄
- 列出、建立、修改和刪除約會,以草稿形式回覆邀請,查詢同事的忙碌空閒時間
- 回報已登入信箱、Outlook 版本和伺服器設定
- 適用情境
- 適合在已登入傳統版 Outlook 的 Windows 電腦上,讓 AI 助理整理信箱、撰寫回覆草稿、查詢同事或管理行事曆,尤其適用於 Microsoft Graph 被原則封鎖的環境。
- 執行需求
- Windows 上安裝並登入傳統版 Outlook(Win32 桌面版);新版 Outlook 沒有 COM 介面。以單一本機 EXE 執行,需以一般使用者身分而非系統管理員執行,並搭配 Claude Desktop、Claude Code、Codex、Cursor 或 VS Code 等 MCP 用戶端。不需 Azure 應用程式、權杖或 API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Outlook Classic,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Outlook Classic MCP
An MCP server for Microsoft Outlook — the classic desktop app for Windows.
Let Claude, Codex and other AI assistants read, search and organize your mailbox and calendar,
look up colleagues and write drafts for you — through the Outlook that is already signed in on your PC.
Why
- No Azure app, no Graph API, no tokens. It talks to your running Outlook via COM and uses the session you are already signed in with. Nothing to register, no admin consent.
- Works where Microsoft Graph is blocked — e.g. by Conditional Access or token protection policies. If Outlook works on your PC, this works.
- Local only. Your mail never leaves your machine except to the AI client you use.
- Sends only if you allow it. Out of the box everything outgoing becomes a draft you
review and send yourself — meeting invitations and replies to invitations included.
Sending is an explicit opt-in (
--allow-send), and even then only drafts go out. - Audit log. Every change the assistant makes — drafts, sends, moves, deletes, calendar — is logged locally as one JSON line, without the message text.
- Files stay fenced in. Attachments can only be added from — and saved to — your user
profile and
%TEMP%, so a crafted email can't talk the assistant into attaching arbitrary files. - One small EXE. No Python, no PowerShell, no runtime, no background service.
Requirements
- Windows with classic Outlook (Outlook for Microsoft 365 / 2016 / 2019 / 2021 desktop, the Win32 app) set up with your mailbox. The new Outlook (“Outlook for Windows”, olk.exe) has no COM interface — see Using the new Outlook? below.
- An MCP client: Claude Desktop, Claude Code, Codex, Cursor, VS Code, …
- Run it as your normal user, not elevated (an admin process cannot attach to your Outlook).
Install
In PowerShell:
This downloads the latest release to %LOCALAPPDATA%\Programs\outlook-classic-mcp,
checks its SHA-256 and registers it as server outlook in Claude Desktop,
Claude Code and Codex. Restart your clients — done.
Claude Desktop only: download outlook-classic-mcp.mcpb from the
latest release
and open it — Claude Desktop installs it as an extension.
Manual install
- Download
outlook-classic-mcp-windows-x64.exefrom the latest release and save it asoutlook-classic-mcp.exewherever you like. - Register it:
Existing configs are kept; a
.outlook-classic-mcp.bakbackup is written first.
Windows SmartScreen may warn about the unsigned EXE — “More info → Run anyway”.
Other MCP clients (Cursor, VS Code, Windsurf, …)
Add a stdio server to your client's MCP config:
What you can ask
“Summarize my unread mail from today.” “Find the invoice from Contoso in all folders and save the PDF.” “Draft a reply to Anna's last mail: Thursday works, 10am.” “Move all newsletters from this week to Archive and mark them read.” “What's Anna Smith's email and department? Draft her an invite for Friday.” “What's on my calendar this week? When are Anna and Beat both free on Tuesday?” “Move my 2pm dentist appointment to Thursday and set a reminder 1 hour before.”
Tools
Without --allow-send there is no send tool at all. In the calendar this means: a
new meeting stays unsent until you click Send in Outlook, a response to an invitation
lands in Drafts, and changing or deleting a meeting does not notify anyone — deleting a
meeting you organize whose invitations were already sent is refused, so attendees aren't
left with a ghost meeting (cancel it in Outlook instead).
Times go in and out as ISO 8601 in your local time (2026-10-29T14:00); a date alone
(2026-10-29) makes an all-day event. An offset (+01:00, Z) is converted to local time.
Email addresses always come back as SMTP addresses ([email protected]), also for
Exchange senders and directory entries — never as /O=…/CN=….
Sending
Sending is off by default. To allow it, register the server with
install --allow-send (or add "--allow-send" after "serve" in your client's args)
and restart the client. Running install without the flag turns it off again.
With sending on, the assistant still writes a draft first; mail_send_draft then sends it,
and the tool tells the assistant to do so only after you have confirmed that exact draft.
It refuses anything that is not an email or a meeting response in your Drafts folder,
and it sends nothing if a recipient can't be resolved. Meetings are never sent by the
server — invitations, updates and cancellations stay with you in Outlook.
Sent mail first goes to the Outbox; classic Outlook delivers it on its next sync (with Outlook running, within seconds).
Outlook security prompt: Outlook may show a warning that “a program is trying to send an email on your behalf” (the Object Model Guard). On PCs with an up-to-date, recognized antivirus this normally doesn't appear; where it does, sending waits for your click and times out after 90 s. Admins can control it with the Outlook policy Programmatic Access Security.
Audit log
Every action that changes something is appended as one JSON line to
%LOCALAPPDATA%\outlook-classic-mcp\audit.log:
It records time, tool, IDs, recipients, subject and the result — never the message text.
The file rotates at 5 MB (audit.log.1). Set OUTLOOK_MCP_AUDIT_LOG in the server's
environment to another path, or to off. outlook_whoami shows where it is written.
Attachment folders
mail_reply (attachments) and mail_save_attachment (dir) only accept paths under
your user profile (%USERPROFILE%) or %TEMP%; anything else is refused. To lift this,
set OUTLOOK_MCP_ALLOW_ANY_PATH=1 in the server's environment, e.g.
Using the new Outlook?
You can keep working in the new Outlook. The classic Outlook only has to be installed and should run now and then, because this server reads its local cache:
- Best: start classic Outlook minimized with Windows. You won't notice it, and the cache stays fresh. Turn off its desktop notifications so you don't get every mail twice (File → Options → Mail → Display a Desktop Alert).
- On demand: ask the assistant to run
mail_syncfirst.
If classic Outlook is closed, the server starts it invisibly and releases it again after 5 minutes without a call.
Troubleshooting
Build from source
Pure Go (no CGO), using go-ole for COM and mcp-go for MCP.
Disclaimer
This is an independent open-source project. It is not affiliated with, endorsed by or sponsored by Microsoft. “Microsoft” and “Outlook” are trademarks of the Microsoft group of companies.
License
來源:README.md,提交 05b822c
工具
0版本歷史
1- v1.3.1最新Oct 29, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分