Skip to main content
Glama
Jpatching

mcp-outlook-desktop

by Jpatching

Claude と Antigravity (AGY) のための Microsoft Outlook MCP サーバー

PyPI CI

高性能な Model Context Protocol (MCP) サーバーで、Microsoft 365 Outlook のメール、カレンダー、連絡先に直接かつ安全にアクセスできます。

  • Claude Code CLI

  • Claude Desktop

  • Antigravity CLI (AGY)


🖥️ ライブターミナルデモ

> claude "Check my unread emails and prepare a draft follow-up to Alex about tomorrow's sync"

⚡ Calling Tool: outlook_list_messages(folder="inbox", unread_only=True, top=5)
✔ Found 2 unread messages:
  [1] From: Alex Mercer <alex@company.com> | Subject: Agenda for Q3 Planning Sync
  [2] From: Cloud Alerts <alerts@infra.io> | Subject: Weekly Node Health Report

⚡ Calling Tool: outlook_get_message(message_id="MSG_049281")
✔ Retrieved message safely encapsulated in <untrusted_email_body_content> boundary.

⚡ Calling Tool: outlook_create_draft(
    to_recipients=["alex@company.com"],
    subject="Re: Agenda for Q3 Planning Sync",
    body="Hi Alex,\n\nThanks for sending over the agenda. I reviewed the distributed queue items and added notes for tomorrow's sync.\n\nBest,\nJosh"
)
✔ Draft created successfully in Outlook Drafts folder (ID: DRAFT_839120)
  [Human-in-the-Loop Safe]: The draft is ready in your Outlook app for review before sending.

Related MCP server: outlook-mcp

🔒 プライバシーとセキュリティアーキテクチャ

  • 設計によるヒューマン・イン・ザ・ループ: すべての送信メッセージの下書きは、手動レビューのために Outlook の Drafts フォルダにデフォルト設定されます。未レビューの直接送信 (outlook_send_mail) には、誤送信を防ぐために明示的な confirm_send=True フラグが必要です。

  • 間接プロンプトインジェクション対策: 受信メールの本文は <untrusted_email_body_content> XML タグでカプセル化され、AI モデルが外部コンテンツを厳密に受動的データとして解析するようにします。

  • クラウドトークンゼロ / パスワード不要: Windows MAPI (win32com) を介して、実行中の Windows Outlook デスクトップアプリケーションに 100% ローカルで接続します。

  • 厳格な .gitignore: すべてのローカル設定、キャッシュ、環境は無視されます。


🚀 インストールとクイックスタート

方法1: uvx による即時実行(git clone 不要)

uv がインストールされている場合、サーバーを直接実行できます:

uvx mcp-outlook-desktop

Claude Desktop の設定 (%APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "outlook": {
      "command": "uvx",
      "args": ["mcp-outlook"]
    }
  }
}

Claude Code CLI:

claude mcp add outlook uvx mcp-outlook-desktop

方法2: pip によるローカルインストール

pip install mcp-outlook-desktop

次に、Claude Desktop の設定で:

{
  "mcpServers": {
    "outlook": {
      "command": "mcp-outlook"
    }
  }
}

方法3: ソースからクローン (C:\projects\mcp-outlook)

cd C:\projects
gh repo clone Jpatching/mcp-outlook
cd mcp-outlook
setup.bat

接続をテスト(Outlook を開いた状態で):

run.bat --status
run.bat --test

🛠️ 利用可能な MCP ツール

ツール名

パラメータ

説明

outlook_check_status

なし

Outlook への接続を確認

outlook_list_messages

folder, top, unread_only

受信トレイ、送信済み、下書きから最近のメールを一覧表示

outlook_search_messages

query, top

メールボックス全体でメッセージを検索

outlook_get_message

message_id

メール本文と送信者情報を XML 境界で安全にカプセル化して取得

outlook_create_draft

subject, body, to_recipients, reply_to_message_id

Outlook の下書きフォルダに下書きメールまたは返信下書きを作成(推奨)

outlook_send_mail

subject, body, to_recipients, confirm_send

メールを直接送信(confirm_send=True でない限り下書きに回される)

outlook_list_calendar_events

days_ahead

今後の会議と予定を一覧表示

outlook_create_calendar_event

subject, start_datetime, end_datetime, attendees, location

Outlook カレンダーに会議をスケジュール

outlook_list_folders

なし

未読数を含むメールフォルダを一覧表示

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • Governed email for AI agents (Mailbuttons / mbag.ai): sandbox inboxes, policy gate, audit log.

  • Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.

  • Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.

View all MCP Connectors

Latest Blog Posts

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/Jpatching/mcp-outlook'

If you have feedback or need assistance with the MCP directory API, please join our Discord server