outlook-legacy-mcp
Outlook Legacy MCP
Claude Desktop を Windows COM オートメーションを通じてレガシー Microsoft Outlook インストールに接続します。
このプロジェクトは、最新の Outlook/Microsoft 365 統合が利用できない、または実用的でない Outlook 2007 および類似のレガシーデスクトップ Outlook 環境向けに特別に設計されています。
動作の仕組み
Claude Desktop
|
| MCP
v
Outlook Legacy MCP Server
|
| Windows COM / MAPI
v
Microsoft Outlook Desktop
|
v
Configured Outlook Mail ProfileMCP サーバーは Windows コンピューター上でローカルに実行されます。Exchange、IMAP、SMTP、または Microsoft Graph に直接接続することはありません。
Related MCP server: Microsoft 365 MCP Server
主な特徴: MCP に Outlook 資格情報を保存しない
サーバーは以下を要求または保存しません:
Outlook ユーザー名
Outlook パスワード
Exchange サーバーの詳細
IMAP/SMTP 資格情報
Microsoft Graph 資格情報
OAuth トークン
代わりに、ローカルの Windows マシンに既に設定されている Outlook デスクトップアプリケーションとメールプロファイルを使用します。
現在の MCP ツール
ツール | 説明 |
| 受信トレイまたはトップレベルフォルダーから最近のメッセージを一覧表示します |
| 特定のメールの内容を読み取ります |
| メールの下書きを作成して保存します |
| Outlook を通じてメールを送信します |
要件
Windows
Microsoft Outlook 2007 またはその他の COM 互換のデスクトップ Outlook バージョン
Python 3.10+
Claude Desktop
設定済みの Outlook メールプロファイル
プロファイルが設定されるように、Outlook はコンピューター上で少なくとも一度は開かれている必要があります。
インストール
リポジトリをクローンします:
git clone https://github.com/jatinpurba/outlook-legacy-mcp.git
cd outlook-legacy-mcp依存関係をインストールします:
pip install -r requirements.txt直接インストールすることもできます:
pip install pywin32 mcpClaude Desktop の設定
Claude Desktop の設定ファイルを開きます:
%APPDATA%\Claude\claude_desktop_config.json以下の MCP サーバーエントリを追加します。パスをコンピューター上の Python ファイルの実際の場所に置き換えてください:
{
"mcpServers": {
"outlook-legacy": {
"command": "python",
"args": [
"C:\\path\\to\\outlook-legacy-mcp\\outlook_mcp_server.py"
]
}
}
}設定を保存し、Claude Desktop を完全に再起動します。
その後、Outlook ツールが Claude で利用可能になります。
プロンプトの例
接続後、Claude に次のようなことを尋ねることができます:
Show me my latest 10 emails.Show me my unread emails.Read the latest email from John.Create a draft response to this email.Create a draft email to customer@example.com with the subject
"Project Update".send_email を使用する際は特に注意してください。設定済みの Outlook アカウントを通じてメッセージを送信するためです。
セキュリティとプライバシー
この MCP サーバーは Windows コンピューター上でローカルに実行されます。
MCP 自体は Outlook の資格情報を収集または保存しません。ローカルにインストールされた Outlook アプリケーションを通じて Outlook プロファイルにアクセスします。
ただし、MCP ツールはメールボックスのコンテンツにアクセスし、メールを送信できます。信頼できるコンピューター上でのみサーバーを実行してください。
自動送信を使用する前に、AI システムによって生成されたメッセージの受信者、件名、および内容を確認してください。
プログラムがユーザーに代わってメールを送信しようとすると、Outlook がセキュリティプロンプトを表示する場合があります。これは Outlook のセキュリティ機能です。
制限事項
Windows のみ
デスクトップ Outlook が必要
設定済みの Outlook プロファイルが必要
Outlook Windows COM オートメーションを使用
サーバーサイド/ヘッドレス展開ではなくローカル使用を想定
COM 操作には Outlook が実行中または起動可能である必要がある場合があります
メール送信時に Outlook のセキュリティプロンプトが表示される場合があります
現在の実装はメール操作に焦点を当てています
なぜ Microsoft Graph ではないのか?
Microsoft Graph は、最新の Microsoft 365 環境にとって優れたオプションです。
このプロジェクトは別のユースケースを対象としています: レガシーデスクトップ Outlook です。
Outlook 2007 または、最新の Outlook/Graph ベースの統合が利用できない、または実用的でない別のレガシー環境を使用している場合、このプロジェクトはローカルの COM ベースの MCP ブリッジを提供します。
アーキテクチャ
サーバーは Python、pywin32、Outlook COM オートメーション、および MCP Python SDK を使用します。
MCP サーバーは COM を通じて Outlook アプリケーションを取得し、その MAPI 名前空間にアクセスします。したがって、別のメールサーバー認証フローを実装するのではなく、マシン上に既に設定されている Outlook プロファイルを使用します。
開発
依存関係をインストールします:
pip install -r requirements.txtサーバーを実行します:
python outlook_mcp_server.pyサーバーは、Claude Desktop などの MCP 互換クライアントによって起動されることを想定しています。
貢献
問題報告、改善提案、互換性レポート、プルリクエストを歓迎します。
別のレガシー Outlook バージョンでプロジェクトをテストした場合は、問題報告に Outlook のバージョンと Windows のバージョンを含めてください。
ライセンス
MIT ライセンス。LICENSE を参照してください。
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
- FlicenseNot gradedqualityDmaintenanceConnects Claude with Microsoft Outlook through the Graph API, providing comprehensive email, calendar, folder management, and rules creation capabilities.19
- FlicenseNot gradedqualityCmaintenanceProvides Claude Desktop and Claude Code with access to Microsoft 365 email and calendar services via the Microsoft Graph API. It enables users to manage emails, search folders, schedule calendar events, and check availability through natural language commands.
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage Microsoft Outlook emails, calendar events, contacts, and folders via COM automation.1MIT
- AlicenseNot gradedqualityAmaintenanceConnects Claude Desktop to a local email client, enabling AI-powered email reading, searching, drafting, and organization while preventing sending or permanent deletion.1Apache 2.0
Related MCP Connectors
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Drive your real WhatsApp inbox from Claude — send, reply, label, assign, and triage via TimelinesAI.
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/jatinpurba/outlook-legacy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server