Skip to main content
Glama

outlook-classic-windows-mcp

ローカルに構成された クラシック Outlook for Windows デスクトッププロファイルを操作するための MVP MCP サーバー。

これは Microsoft Graph、Outlook on the web、新しい Outlook for Windows、または管理者が有効化したクラウド API を使用しません。MCP サーバーが実行されているマシンで利用可能なクラシック Outlook デスクトップアプリ/プロファイルに対して、Windows COM オートメーションを使用します。これは、IT サポートに連絡したり、管理者の承認を求めたりしたくない場合に役立ちます。

注: この MCP は、私自身のワークフローと要件に固有のものです。自分の Outlook 環境とユースケースに合わせて MCP を調整するには、フォークして変更するか、コーディングエージェントに依頼することをお勧めします。

警告: Microsoft 365 ユーザー向けのクラシック Outlook for Windows は、少なくとも 2029 年までサポートされます。新しい Outlook が徐々にデフォルトまたは置き換えになります。この MCP は、近い将来/中期的にのみ有効です。長期的には、管理者がバックアップした API を使用する別の MCP を使用してください! https://learn.microsoft.com/en-us/answers/questions/5554339/when-will-classic-outlook-end を参照してください。

要件

  • Windows

  • Classic Microsoft Outlook デスクトップがインストールされ、構成されていること

  • uv

Related MCP server: outlook-mcp

インストール / 実行

cd C:\Users\muhammad.menjeni\git\outlook-classic-windows-mcp
uv sync
uv run outlook-local-mcp

MCP サーバーは stdio を話すため、MCP クライアントによって起動されることを意図しています。

Pi MCP 設定例

Pi MCP 設定に、必要に応じてパスを調整して、次のようなローカルサーバーエントリを追加します:

{
  "mcpServers": {
    "outlook-local": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\Users\\muhammad.menjeni\\git\\outlook-classic-windows-mcp",
        "run",
        "outlook-local-mcp"
      ]
    }
  }
}

ツール

search_email

Outlook メールを件名および/または本文で検索します。

引数:

  • query string: 大文字小文字を区別しない部分文字列を検索します。

  • folder string: 検索するフォルダー。デフォルト: Inbox。Inbox/Archive や Mailbox Name/Inbox のようなパスを使用できます。

  • search_scope: all、subject、または body。デフォルト: all。

  • max_results: 返す一致数。デフォルト: 10。

  • max_items: フォルダー内で検査する最新アイテム数。デフォルト: 500。

  • include_body_preview: 短い本文プレビューを含めるかどうか。デフォルト: true。

list_mail_folders

利用可能な Outlook フォルダーを一覧表示して、フォルダーパスの選択に役立てます。

create_leave_calendar_blocks

休暇レビュー用に、送信されない 2 つの Outlook カレンダーアイテムを作成します:

  1. 出席者なしの Out of Office とマークされた個人用ブロッカー。

  2. 指定された出席者を含む Free とマークされた通知ミーティング。

何も送信されません。デフォルトでは、両方のアイテムが保存され、手動レビュー/送信のために Outlook で開かれます。

引数:

  • start_time string: 開始日時。例: 2026-09-01 08:00。

  • end_time string: 終了日時。終日イベントの場合、これは排他的な終了として解釈されます。例: 2026-09-04 00:00 から 2026-09-05 00:00 まで 1 日。

  • required_attendees list/string: 追加の通知受信者。設定可能なデフォルトも使用できます。

  • subject string: デフォルトは設定から取得され、初期値は Amirul: On-Leave です。

  • body string: メッセージ本文。

  • optional_attendees list/string: オプションの通知受信者。

  • location string。

  • display boolean: 保存したアイテムを Outlook で開くかどうか。デフォルト: true。

  • confirmed boolean: 実際に Outlook カレンダーアイテムを作成するには true である必要があります。確認がない場合、ツールは提案のみを返します。

get_leave_defaults

現在の休暇デフォルトと設定パスを表示します。

set_leave_defaults

件名や通知受信者などの休暇デフォルトを永続化します。設定を書き込む前に confirmed=true が必要です。

infer_leave_recipients

最近のローカル Outlook メールを読み取り専用でスキャンして、休暇通知の候補配布リストを推測します。候補と証拠を返します。設定を書き込んだり、下書きを作成したりしません。

resolve_recipients

Outlook の受信者解決/アドレス帳を使用して、名前、メール、または配布リストを解決します。

search_contacts

名前、メール、会社、部署、または役職でローカル Outlook 連絡先フォルダーを検索します。

注記 / 制限事項

  • 最初のアクセスでは、Outlook がまだ実行されていない場合、Outlook が起動されることがあります。

  • 組織によっては、Outlook オブジェクトモデルガードのプロンプトが表示されたり、ポリシーによって自動化がブロックされたりする場合があります。

  • この MVP は、最近のフォルダーアイテムをスキャンして検索します。これはシンプルで信頼性がありますが、非常に大きなフォルダーではインデックス化された Outlook 検索ほど高速ではありません。

Available Tools

8 tools
create_leave_calendar_blocksA

Create two unsent Outlook calendar items for leave review.

Creates:

  1. A personal calendar blocker marked Out of Office with no attendees.

  2. A meeting notification marked Free with the supplied attendees.

Nothing is sent. Items are saved locally, and by default opened in Outlook for manual review and sending.

Inputs: end_time (required), start_time (required), body, all_day, +6 more. Returns: object

get_leave_defaultsA

Return configurable defaults used by create_leave_calendar_blocks.

Inputs: no named parameters. Returns: object

infer_leave_recipientsB

Infer candidate leave-notification recipients/DLs from recent local Outlook email.

This is read-only. It scans recent mail subjects/bodies/recipients for distribution lists and department/team signals, then returns candidates for user confirmation.

Inputs: folders, max_results, max_items_per_folder. Returns: object

list_mail_foldersA

List Outlook store/folder paths to help choose the folder for search_email.

Inputs: max_depth. Returns: object

resolve_recipientsB

Resolve names, emails, or distribution lists using Outlook's address book/GAL.

Inputs: recipients (required). Returns: object

search_contactsB

Search local Outlook contact folders by name, email, company, or job title.

Inputs: query (required), max_results, max_folders_depth. Returns: object

search_emailA

Search locally configured Outlook desktop email by subject and/or body.

This scans the newest max_items messages in folder and returns up to max_results matches. It uses the local Outlook profile via COM, not Microsoft Graph or Outlook Web APIs.

Inputs: query (required), folder, max_items, max_results, +2 more. Returns: object

set_leave_defaultsB

Persist leave-calendar defaults. Requires confirmed=true because this writes config.

Inputs: notification_attendees (required), subject, confirmed. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 8 tools

    Disambiguation4/5

    Tools are mostly distinct, but three recipient-related tools (resolve_recipients, search_contacts, infer_leave_recipients) could cause some confusion regarding when to use each. However, their descriptions clearly differentiate (address book resolution vs. contact folder search vs. historical email inference), and the other tools are unambiguous.

    Naming Consistency5/5

    All tool names follow a strict verb_noun snake_case pattern (e.g., get_leave_defaults, search_email, create_leave_calendar_blocks). The pattern is predictable and consistent across all 8 tools, making it easy for an agent to infer naming conventions for hypothetical tools.

    Tool Count5/5

    With 8 tools, the server is well-scoped for its domain of Outlook leave management and search. Each tool serves a distinct function in a cohesive workflow, and the count is within the ideal range without being overwhelming or sparse.

    Completeness4/5

    The tool surface covers the core leave workflow: configuration, calendar block creation, recipient inference/resolution, and search capabilities. Minor gaps exist—such as no update/delete for leave calendar blocks—but these are unsent drafts intended for manual review, so the current surface seems sufficient for the stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to read, send, and manage Outlook mail locally on Windows via COM/MAPI, without cloud APIs.
      1
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Reads and searches your local Microsoft Outlook desktop mailbox via COM, supporting folder listing, message/thread retrieval, attachment saving, bulk export, and draft creation without sending, requiring no OAuth or admin consent.
      -