outlook-mcp
outlook-mcp (拡張フォーク)
Windows 上の Microsoft Outlook 向け MCPサーバー(win32com 経由)— AI アシスタント(Claude Code や他の MCP クライアント)が、ローカルで実行中の Outlook インスタンスを通じてメール、連絡先、カレンダー、およびタスクを操作できるようにします。Azure AD も Graph API も OAuth も不要です — COM 経由で Outlook デスクトップクライアントを操作します。
これは lihaokun/outlook-mcp の拡張フォークです(PyPI: outlook-mcp-server 0.1.1、MIT)。上流は14個のツールを提供していますが、このフォークは21個を提供し、本番環境で問題となる3種類のバグを修正しています。これはPyPI には公開されていません — このリポジトリからインストールしてください(下記参照)。その後 pip install -U outlook-mcp-server を実行しないでください。実行すると PyPI 版が上書きします。
このフォークが上流 0.1.1 に対して追加する内容
新しいツール (7) — 上流にはカレンダー用の listCalendars と createEvent しかなく、タスク用は何もありませんでした:
listEvents,getEvent,updateEvent,deleteEventlistTasks,createTask,updateTask
修正点:
タイムゾーン: イベント時刻は
StartUTC/EndUTCで読み取り、astimezone()で変換します。Outlook の COM のStart/Endプロパティは、誤った+00:00オフセット付きのローカル壁時計時刻を報告するため、単純なコードではすべての予定がずれてしまいます。ロケールセーフな日付フィルター: DASL/Jet の日付リテラルは
win32api.GetDateFormat(LOCALE_USER_DEFAULT, ...)でフォーマットされます。Outlook はフィルター日付をシステムロケールで解析するため、米国形式の07/02/2026はドイツ語システムでは 2月7日として読み取られます。COM アパートメントの規律:
CoInitialize/CoUninitializeは、アドホックに呼び出されるのではなく、単一のヘルパー (_run_com) 内でバランスが取られています。--version: 実際にインストールされているバージョンを報告します(上流には常にdevを出力するタイポがありました)。
追加点:
すべてのイベントツールに
calendarPathパラメータを追加し、すべてのイベント dict に出力することで、複数/共有カレンダーにわたってイベントをアドレス指定可能にしました。イベントで
busyStatusとmeetingStatusを公開しました。createEventはcalendarIdを指定すると、保存してからアイテムを対象カレンダーに移動し、移動したアイテムを表示します。長いメッセージ本文は切り詰められ、完全な本文を取得するには
getMessage/getEventを呼び出すよう促すヒントが付けられます。
安全モデル(上流から変更なし): すべての送信アクション — sendMail、replyToMessage、forwardMessage、createEvent、タスク — は .Display() で終わり、.Send() を使うことはありません。アイテムは Outlook で開き、人間が送信をクリックします。サーバーが単独で何かを送信することはできません。
Related MCP server: MCP Outlook Tools
全ツール一覧 (21)
領域 | ツール |
アカウント/フォルダー |
|
メール |
|
連絡先 |
|
カレンダー |
|
タスク |
|
要件
クラシック Outlook デスクトップクライアントがインストールされ、構成済みの Windows(サーバーは実行中のインスタンスに接続するか、COM 経由で起動します)
Python 3.10+
インストール
pip install git+https://github.com/K4uP/outlook-mcp.gitClaude Code に登録します(ユーザースコープ):
claude mcp add --scope user outlook -- outlook-mcp-serveroutlook-mcp-server が PATH にない場合は、コンソールスクリプトのフルパスを使用してください(例: %LOCALAPPDATA%\Programs\Python\Python312\Scripts\outlook-mcp-server.exe)。その後 Claude Code を再起動し、claude mcp list で確認してください。
既知の落とし穴
mcpServers設定は~/.claude.json(ユーザースコープ)に置く必要があります —settings.jsonに置いても効果はありません。calendarPathなしのlistEventsは共有/委任カレンダーを混在させます。特定の人物の空き状況が必要な場合は、明示的なカレンダーパスを渡してください。createEvent: 既定のカレンダーではcalendarIdを省略してください。一部の Exchange 環境では、既定のカレンダーを明示的な ID で指定すると失敗します。sendMailで「送信」されたメールは表示されるだけです — Outlook ウィンドウで人間が送信ボタンを押すまで、何もマシンの外に出ません。
ライセンス
MIT — LICENSE を参照してください。オリジナル著作物の著作権 (c) 2026 lihaokun; 拡張および修正の著作権 (c) 2026 Rene S. Kaup.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseCqualityFmaintenanceA powerful MCP server that enables AI assistants to interact with Microsoft Graph API for managing Outlook emails, Calendar events, OneDrive files, and Contacts through natural language commands.3554
- Alicense-qualityFmaintenanceA Model Context Protocol server that enables AI assistants to interact with Microsoft Outlook for calendar management, email operations, and search functionality.15MIT
- Alicense-qualityDmaintenanceMCP server for email + calendar via classic Outlook on Windows (COM automation). No Azure app registration, no OAuth — it just drives the Outlook desktop client you're already signed into.48MIT
- Alicense-qualityFmaintenanceMCP server for Outlook — enables AI assistants to access email, contacts, and calendars via Windows COM interface.1MIT
Related MCP Connectors
MCP server for LeadDelta — manage LinkedIn connections and CRM data via AI assistants.
MCP server for AI dialogue using various LLM models via AceDataCloud
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/K4uP/outlook-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server