プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Office Outlook MCP

作者:chrischallバージョン 0.13.0i★ 1iパソコンで動くリポジトリ ↗
レジストリ名io.github.chrischall/office-outlook-mcp

インストール方法

What it does

Outlook / Microsoft 365 for Claude — triage mail, reply, answer invites and book meetings, confirmed

  • Connects パソコンで動く
  • Account or key Needs OUTLOOK_ACCESS_TOKEN, MCP_CONFIRM_SECRET
  • Category チャット・メール

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気25/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア37/100

品質: 基本チェック 2/3 項目に合格(表示のみ、並び順には不使用) · 勢い: 88 (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Office Outlook MCP をインストールして。https://mcp.popnx.com/i/chrischall-office-outlook-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 2/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

Office Outlook MCP のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Office Outlook MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "office-outlook": { "command": "npx", "args": [ "-y", "@chrischall/office-outlook-mcp" ], "env": { "OUTLOOK_ACCESS_TOKEN": "your-value", "MCP_CONFIRM_SECRET": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) OUTLOOK_ACCESS_TOKEN, MCP_CONFIRM_SECRET は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Office Outlook MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. Office Outlook MCP に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    キーの取り方は下の提供元 README にあります

  3. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  4. この設定を貼り付けて保存

    {
      "mcpServers": {
        "office-outlook": {
          "command": "npx",
          "args": [
            "-y",
            "@chrischall/office-outlook-mcp"
          ],
          "env": {
            "OUTLOOK_ACCESS_TOKEN": "your-value",
            "MCP_CONFIRM_SECRET": "your-value"
          }
        }
      }
    }

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. Claude を終了してもう一度開く

  6. 試してみる

    Office Outlook MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Office Outlook MCP を使っていると言うか、回答に Office Outlook MCP のツール名が出れば接続成功です

追加の設定 14 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • OUTLOOK_DISABLE_FETCHPROXY '1' に設定するとブラウザーでのキャプチャを無効にします。OUTLOOK_ACCESS_TOKEN が必要です
    英語の原文を見るSet to '1' to disable browser capture, requiring OUTLOOK_ACCESS_TOKEN.
  • OUTLOOK_API_BASE Override the Outlook REST base URL. Defaults to https://outlook.office.com/api/v2.0.
  • OUTLOOK_WS_PORT トークン取得に使用する fetchproxy concentrator のポート。デフォルトは 37149 で、フリート全体で共有されるポートです。
    英語の原文を見るfetchproxy concentrator port used for token capture. Defaults to 37149, the fleet-wide shared port.
  • OUTLOOK_WEB_HOST サインイン済みタブが使用する Outlook Web のホスト:outlook.cloud.microsoft(デフォルト)、または従来のアプリを使用しているテナント向けの outlook.office.com。ブラウザブリッジに宣言されるのはこの1つのホストのみです。
    英語の原文を見るWhich Outlook Web host your signed-in tab is on: outlook.cloud.microsoft (default) or outlook.office.com for a tenant still on the legacy app. Only this one host is declared to the browser bridge.
  • OUTLOOK_CAPTURE_TIMEOUT Outlook のタブが、トークンを読み取れるリクエストを送信するまで待つ秒数。デフォルトは 30。
    英語の原文を見るSeconds to wait for the Outlook tab to make a request we can read a token from. Defaults to 30.
  • OUTLOOK_TOKEN_CACHE 'false' に設定すると、実行間で取得済みトークンをキャッシュしなくなります。既定値は true です。
    英語の原文を見るSet to 'false' to stop caching the captured token between runs. Defaults to true.
  • OUTLOOK_TOKEN_FILE キャッシュされたトークンファイルへのパス。デフォルトは /.office-outlook-mcp/token.json です。
    英語の原文を見るPath to the cached token file. Defaults to ~/.office-outlook-mcp/token.json.
  • OUTLOOK_OUTPUT_DIR Absolute directory where outlook_export_messages and outlook_export_events write their files. Defaults to ~/Downloads/office-outlook-mcp. When set, a per-call dest must be inside it.
  • FETCHPROXY_WS_HOST Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIR fetchproxy の長期ID鍵ペアが保存される絶対パス(デフォルト /.fetchproxy/identity/)
    英語の原文を見るAbsolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).
  • MCP_CONFIRM_MODE What outlook_send_message, outlook_reply, outlook_respond_to_invite and the other write tools do on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop): "ask-user" (default: t…
  • MCP_CONFIRM_ELICITATION "off" では確認プロンプトを一切表示しないため、すべてのクライアントが MCP_CONFIRM_MODE の流れになります。プロンプトを表示できると言いながら実際には表示しないクライアントに設定します。デフォルトは on です
    英語の原文を見る"off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can show prompts but never does. Defaults to on.
  • MCP_CONFIRM_TTL_SECONDS confirmToken が有効である時間(秒)。既定値は 600 です。
    英語の原文を見るHow long a confirmToken stays valid, in seconds. Defaults to 600.
  • OUTLOOK_COPILOT_MSAL_CACHE opencode-m365 login が書き込み、outlook_ask_copilot が読み取る MSAL トークンキャッシュのパス。デフォルトは /.config/opencode-copilot/msal-cache.json。
    英語の原文を見るPath to the MSAL token cache written by `opencode-m365 login`, read by outlook_ask_copilot. Defaults to ~/.config/opencode-copilot/msal-cache.json.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Office Outlook MCP につなげません

Office Outlook MCP はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Office Outlook MCP につなげるアプリを使う

  • Office Outlook MCP のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • Office Outlook MCP のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
  • Office Outlook MCP のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
  • Office Outlook MCP のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

B · チャット・メール の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

Office Outlook MCP のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Office Outlook MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user office-outlook --env OUTLOOK_ACCESS_TOKEN=your-value --env MCP_CONFIRM_SECRET=your-value -- npx -y @chrischall/office-outlook-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) OUTLOOK_ACCESS_TOKEN, MCP_CONFIRM_SECRET は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Office Outlook MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. Office Outlook MCP に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    キーの取り方は下の提供元 README にあります

  3. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  4. このコマンドを貼り付けて Enter

    claude mcp add --scope user office-outlook --env OUTLOOK_ACCESS_TOKEN=your-value --env MCP_CONFIRM_SECRET=your-value -- npx -y @chrischall/office-outlook-mcp

    Enter の前に「your-value」を自分のキーに書き換えてください

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. Claude Code で /mcp と入力

    Office Outlook MCP が一覧にあり、接続済みと表示されれば OK です

  6. 試してみる

    Office Outlook MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Office Outlook MCP を使っていると言うか、回答に Office Outlook MCP のツール名が出れば接続成功です

追加の設定 14 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • OUTLOOK_DISABLE_FETCHPROXY '1' に設定するとブラウザーでのキャプチャを無効にします。OUTLOOK_ACCESS_TOKEN が必要です
    英語の原文を見るSet to '1' to disable browser capture, requiring OUTLOOK_ACCESS_TOKEN.
  • OUTLOOK_API_BASE Override the Outlook REST base URL. Defaults to https://outlook.office.com/api/v2.0.
  • OUTLOOK_WS_PORT トークン取得に使用する fetchproxy concentrator のポート。デフォルトは 37149 で、フリート全体で共有されるポートです。
    英語の原文を見るfetchproxy concentrator port used for token capture. Defaults to 37149, the fleet-wide shared port.
  • OUTLOOK_WEB_HOST サインイン済みタブが使用する Outlook Web のホスト:outlook.cloud.microsoft(デフォルト)、または従来のアプリを使用しているテナント向けの outlook.office.com。ブラウザブリッジに宣言されるのはこの1つのホストのみです。
    英語の原文を見るWhich Outlook Web host your signed-in tab is on: outlook.cloud.microsoft (default) or outlook.office.com for a tenant still on the legacy app. Only this one host is declared to the browser bridge.
  • OUTLOOK_CAPTURE_TIMEOUT Outlook のタブが、トークンを読み取れるリクエストを送信するまで待つ秒数。デフォルトは 30。
    英語の原文を見るSeconds to wait for the Outlook tab to make a request we can read a token from. Defaults to 30.
  • OUTLOOK_TOKEN_CACHE 'false' に設定すると、実行間で取得済みトークンをキャッシュしなくなります。既定値は true です。
    英語の原文を見るSet to 'false' to stop caching the captured token between runs. Defaults to true.
  • OUTLOOK_TOKEN_FILE キャッシュされたトークンファイルへのパス。デフォルトは /.office-outlook-mcp/token.json です。
    英語の原文を見るPath to the cached token file. Defaults to ~/.office-outlook-mcp/token.json.
  • OUTLOOK_OUTPUT_DIR Absolute directory where outlook_export_messages and outlook_export_events write their files. Defaults to ~/Downloads/office-outlook-mcp. When set, a per-call dest must be inside it.
  • FETCHPROXY_WS_HOST Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIR fetchproxy の長期ID鍵ペアが保存される絶対パス(デフォルト /.fetchproxy/identity/)
    英語の原文を見るAbsolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).
  • MCP_CONFIRM_MODE What outlook_send_message, outlook_reply, outlook_respond_to_invite and the other write tools do on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop): "ask-user" (default: t…
  • MCP_CONFIRM_ELICITATION "off" では確認プロンプトを一切表示しないため、すべてのクライアントが MCP_CONFIRM_MODE の流れになります。プロンプトを表示できると言いながら実際には表示しないクライアントに設定します。デフォルトは on です
    英語の原文を見る"off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can show prompts but never does. Defaults to on.
  • MCP_CONFIRM_TTL_SECONDS confirmToken が有効である時間(秒)。既定値は 600 です。
    英語の原文を見るHow long a confirmToken stays valid, in seconds. Defaults to 600.
  • OUTLOOK_COPILOT_MSAL_CACHE opencode-m365 login が書き込み、outlook_ask_copilot が読み取る MSAL トークンキャッシュのパス。デフォルトは /.config/opencode-copilot/msal-cache.json。
    英語の原文を見るPath to the MSAL token cache written by `opencode-m365 login`, read by outlook_ask_copilot. Defaults to ~/.config/opencode-copilot/msal-cache.json.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

Office Outlook MCP のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Office Outlook MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "office-outlook": { "command": "npx", "args": [ "-y", "@chrischall/office-outlook-mcp" ], "env": { "OUTLOOK_ACCESS_TOKEN": "your-value", "MCP_CONFIRM_SECRET": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) OUTLOOK_ACCESS_TOKEN, MCP_CONFIRM_SECRET は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Office Outlook MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. Office Outlook MCP に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    キーの取り方は下の提供元 README にあります

  3. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  4. キーを入力

    Office Outlook MCP の設定で OUTLOOK_ACCESS_TOKEN, MCP_CONFIRM_SECRET が空です。自分のキーを入れて保存します

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. Cursor の AI チャットを Agent モードで開く

  6. 試してみる

    Office Outlook MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Office Outlook MCP を使っていると言うか、回答に Office Outlook MCP のツール名が出れば接続成功です

追加の設定 14 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • OUTLOOK_DISABLE_FETCHPROXY '1' に設定するとブラウザーでのキャプチャを無効にします。OUTLOOK_ACCESS_TOKEN が必要です
    英語の原文を見るSet to '1' to disable browser capture, requiring OUTLOOK_ACCESS_TOKEN.
  • OUTLOOK_API_BASE Override the Outlook REST base URL. Defaults to https://outlook.office.com/api/v2.0.
  • OUTLOOK_WS_PORT トークン取得に使用する fetchproxy concentrator のポート。デフォルトは 37149 で、フリート全体で共有されるポートです。
    英語の原文を見るfetchproxy concentrator port used for token capture. Defaults to 37149, the fleet-wide shared port.
  • OUTLOOK_WEB_HOST サインイン済みタブが使用する Outlook Web のホスト:outlook.cloud.microsoft(デフォルト)、または従来のアプリを使用しているテナント向けの outlook.office.com。ブラウザブリッジに宣言されるのはこの1つのホストのみです。
    英語の原文を見るWhich Outlook Web host your signed-in tab is on: outlook.cloud.microsoft (default) or outlook.office.com for a tenant still on the legacy app. Only this one host is declared to the browser bridge.
  • OUTLOOK_CAPTURE_TIMEOUT Outlook のタブが、トークンを読み取れるリクエストを送信するまで待つ秒数。デフォルトは 30。
    英語の原文を見るSeconds to wait for the Outlook tab to make a request we can read a token from. Defaults to 30.
  • OUTLOOK_TOKEN_CACHE 'false' に設定すると、実行間で取得済みトークンをキャッシュしなくなります。既定値は true です。
    英語の原文を見るSet to 'false' to stop caching the captured token between runs. Defaults to true.
  • OUTLOOK_TOKEN_FILE キャッシュされたトークンファイルへのパス。デフォルトは /.office-outlook-mcp/token.json です。
    英語の原文を見るPath to the cached token file. Defaults to ~/.office-outlook-mcp/token.json.
  • OUTLOOK_OUTPUT_DIR Absolute directory where outlook_export_messages and outlook_export_events write their files. Defaults to ~/Downloads/office-outlook-mcp. When set, a per-call dest must be inside it.
  • FETCHPROXY_WS_HOST Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIR fetchproxy の長期ID鍵ペアが保存される絶対パス(デフォルト /.fetchproxy/identity/)
    英語の原文を見るAbsolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).
  • MCP_CONFIRM_MODE What outlook_send_message, outlook_reply, outlook_respond_to_invite and the other write tools do on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop): "ask-user" (default: t…
  • MCP_CONFIRM_ELICITATION "off" では確認プロンプトを一切表示しないため、すべてのクライアントが MCP_CONFIRM_MODE の流れになります。プロンプトを表示できると言いながら実際には表示しないクライアントに設定します。デフォルトは on です
    英語の原文を見る"off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can show prompts but never does. Defaults to on.
  • MCP_CONFIRM_TTL_SECONDS confirmToken が有効である時間(秒)。既定値は 600 です。
    英語の原文を見るHow long a confirmToken stays valid, in seconds. Defaults to 600.
  • OUTLOOK_COPILOT_MSAL_CACHE opencode-m365 login が書き込み、outlook_ask_copilot が読み取る MSAL トークンキャッシュのパス。デフォルトは /.config/opencode-copilot/msal-cache.json。
    英語の原文を見るPath to the MSAL token cache written by `opencode-m365 login`, read by outlook_ask_copilot. Defaults to ~/.config/opencode-copilot/msal-cache.json.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

Office Outlook MCP のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Office Outlook MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "office-outlook": { "type": "stdio", "command": "npx", "args": [ "-y", "@chrischall/office-outlook-mcp" ], "env": { "OUTLOOK_ACCESS_TOKEN": "your-value", "MCP_CONFIRM_SECRET": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) OUTLOOK_ACCESS_TOKEN, MCP_CONFIRM_SECRET は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Office Outlook MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. Office Outlook MCP に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    キーの取り方は下の提供元 README にあります

  3. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  4. キーを入力

    Office Outlook MCP の設定で OUTLOOK_ACCESS_TOKEN, MCP_CONFIRM_SECRET が空です。自分のキーを入れて保存します

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. VS Code の AI チャットを Agent モードで開く

  6. 試してみる

    Office Outlook MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Office Outlook MCP を使っていると言うか、回答に Office Outlook MCP のツール名が出れば接続成功です

追加の設定 14 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • OUTLOOK_DISABLE_FETCHPROXY '1' に設定するとブラウザーでのキャプチャを無効にします。OUTLOOK_ACCESS_TOKEN が必要です
    英語の原文を見るSet to '1' to disable browser capture, requiring OUTLOOK_ACCESS_TOKEN.
  • OUTLOOK_API_BASE Override the Outlook REST base URL. Defaults to https://outlook.office.com/api/v2.0.
  • OUTLOOK_WS_PORT トークン取得に使用する fetchproxy concentrator のポート。デフォルトは 37149 で、フリート全体で共有されるポートです。
    英語の原文を見るfetchproxy concentrator port used for token capture. Defaults to 37149, the fleet-wide shared port.
  • OUTLOOK_WEB_HOST サインイン済みタブが使用する Outlook Web のホスト:outlook.cloud.microsoft(デフォルト)、または従来のアプリを使用しているテナント向けの outlook.office.com。ブラウザブリッジに宣言されるのはこの1つのホストのみです。
    英語の原文を見るWhich Outlook Web host your signed-in tab is on: outlook.cloud.microsoft (default) or outlook.office.com for a tenant still on the legacy app. Only this one host is declared to the browser bridge.
  • OUTLOOK_CAPTURE_TIMEOUT Outlook のタブが、トークンを読み取れるリクエストを送信するまで待つ秒数。デフォルトは 30。
    英語の原文を見るSeconds to wait for the Outlook tab to make a request we can read a token from. Defaults to 30.
  • OUTLOOK_TOKEN_CACHE 'false' に設定すると、実行間で取得済みトークンをキャッシュしなくなります。既定値は true です。
    英語の原文を見るSet to 'false' to stop caching the captured token between runs. Defaults to true.
  • OUTLOOK_TOKEN_FILE キャッシュされたトークンファイルへのパス。デフォルトは /.office-outlook-mcp/token.json です。
    英語の原文を見るPath to the cached token file. Defaults to ~/.office-outlook-mcp/token.json.
  • OUTLOOK_OUTPUT_DIR Absolute directory where outlook_export_messages and outlook_export_events write their files. Defaults to ~/Downloads/office-outlook-mcp. When set, a per-call dest must be inside it.
  • FETCHPROXY_WS_HOST Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIR fetchproxy の長期ID鍵ペアが保存される絶対パス(デフォルト /.fetchproxy/identity/)
    英語の原文を見るAbsolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).
  • MCP_CONFIRM_MODE What outlook_send_message, outlook_reply, outlook_respond_to_invite and the other write tools do on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop): "ask-user" (default: t…
  • MCP_CONFIRM_ELICITATION "off" では確認プロンプトを一切表示しないため、すべてのクライアントが MCP_CONFIRM_MODE の流れになります。プロンプトを表示できると言いながら実際には表示しないクライアントに設定します。デフォルトは on です
    英語の原文を見る"off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can show prompts but never does. Defaults to on.
  • MCP_CONFIRM_TTL_SECONDS confirmToken が有効である時間(秒)。既定値は 600 です。
    英語の原文を見るHow long a confirmToken stays valid, in seconds. Defaults to 600.
  • OUTLOOK_COPILOT_MSAL_CACHE opencode-m365 login が書き込み、outlook_ask_copilot が読み取る MSAL トークンキャッシュのパス。デフォルトは /.config/opencode-copilot/msal-cache.json。
    英語の原文を見るPath to the MSAL token cache written by `opencode-m365 login`, read by outlook_ask_copilot. Defaults to ~/.config/opencode-copilot/msal-cache.json.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Office Outlook MCP を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user office-outlook --env OUTLOOK_ACCESS_TOKEN=your-value --env MCP_CONFIRM_SECRET=your-value -- npx -y @chrischall/office-outlook-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "office-outlook": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/office-outlook-mcp"
      ],
      "env": {
        "OUTLOOK_ACCESS_TOKEN": "your-value",
        "MCP_CONFIRM_SECRET": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "office-outlook": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/office-outlook-mcp"
      ],
      "env": {
        "OUTLOOK_ACCESS_TOKEN": "your-value",
        "MCP_CONFIRM_SECRET": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "office-outlook": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/office-outlook-mcp"
      ],
      "env": {
        "OUTLOOK_ACCESS_TOKEN": "your-value",
        "MCP_CONFIRM_SECRET": "your-value"
      }
    }
  }
}

自分で入力する値

  • OUTLOOK_ACCESS_TOKEN 秘密 必須 env
    事前に取得した Outlook の bearer トークン。ブラウザブリッジより優先されます。上級ユーザーや CI 専用で、トークンの有効期間は約 25 時間です。
    英語の原文を見るPre-obtained Outlook bearer token. Overrides the browser bridge. Power users / CI only; tokens last about 25 hours.
  • OUTLOOK_DISABLE_FETCHPROXY env
    '1' に設定するとブラウザーでのキャプチャを無効にします。OUTLOOK_ACCESS_TOKEN が必要です
    英語の原文を見るSet to '1' to disable browser capture, requiring OUTLOOK_ACCESS_TOKEN.
  • OUTLOOK_API_BASE env
    Override the Outlook REST base URL. Defaults to https://outlook.office.com/api/v2.0.
  • OUTLOOK_WS_PORT env
    トークン取得に使用する fetchproxy concentrator のポート。デフォルトは 37149 で、フリート全体で共有されるポートです。
    英語の原文を見るfetchproxy concentrator port used for token capture. Defaults to 37149, the fleet-wide shared port.
  • OUTLOOK_WEB_HOST env
    サインイン済みタブが使用する Outlook Web のホスト:outlook.cloud.microsoft(デフォルト)、または従来のアプリを使用しているテナント向けの outlook.office.com。ブラウザブリッジに宣言されるのはこの1つのホストのみです。
    英語の原文を見るWhich Outlook Web host your signed-in tab is on: outlook.cloud.microsoft (default) or outlook.office.com for a tenant still on the legacy app. Only this one host is declared to the browser bridge.
  • OUTLOOK_CAPTURE_TIMEOUT env
    Outlook のタブが、トークンを読み取れるリクエストを送信するまで待つ秒数。デフォルトは 30。
    英語の原文を見るSeconds to wait for the Outlook tab to make a request we can read a token from. Defaults to 30.
  • OUTLOOK_TOKEN_CACHE 秘密 env
    'false' に設定すると、実行間で取得済みトークンをキャッシュしなくなります。既定値は true です。
    英語の原文を見るSet to 'false' to stop caching the captured token between runs. Defaults to true.
  • OUTLOOK_TOKEN_FILE env
    キャッシュされたトークンファイルへのパス。デフォルトは /.office-outlook-mcp/token.json です。
    英語の原文を見るPath to the cached token file. Defaults to ~/.office-outlook-mcp/token.json.
  • OUTLOOK_OUTPUT_DIR env
    Absolute directory where outlook_export_messages and outlook_export_events write their files. Defaults to ~/Downloads/office-outlook-mcp. When set, a per-call dest must be inside it.
  • FETCHPROXY_WS_HOST env
    Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIR env
    fetchproxy の長期ID鍵ペアが保存される絶対パス(デフォルト /.fetchproxy/identity/)
    英語の原文を見るAbsolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).
  • MCP_CONFIRM_MODE env
    What outlook_send_message, outlook_reply, outlook_respond_to_invite and the other write tools do on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop): "ask-user" (default: t…
  • MCP_CONFIRM_ELICITATION env
    "off" では確認プロンプトを一切表示しないため、すべてのクライアントが MCP_CONFIRM_MODE の流れになります。プロンプトを表示できると言いながら実際には表示しないクライアントに設定します。デフォルトは on です
    英語の原文を見る"off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can show prompts but never does. Defaults to on.
  • MCP_CONFIRM_TTL_SECONDS env
    confirmToken が有効である時間(秒)。既定値は 600 です。
    英語の原文を見るHow long a confirmToken stays valid, in seconds. Defaults to 600.
  • MCP_CONFIRM_SECRET 秘密 必須 env
    confirmTokens に署名するキー。既定ではプロセスごとにランダムに生成されます。サーバー再起動後もトークンを有効にする必要がある場合にのみ設定してください。
    英語の原文を見るSigning key for confirmTokens. Random per process by default; set it only if tokens must survive a server restart.
  • OUTLOOK_COPILOT_MSAL_CACHE env
    opencode-m365 login が書き込み、outlook_ask_copilot が読み取る MSAL トークンキャッシュのパス。デフォルトは /.config/opencode-copilot/msal-cache.json。
    英語の原文を見るPath to the MSAL token cache written by `opencode-m365 login`, read by outlook_ask_copilot. Defaults to ~/.config/opencode-copilot/msal-cache.json.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
1,178/週
ライセンスi
ライセンスの記載なし
接続方法
パソコンで動く
最新バージョンi
0.13.0
レジストリ公開日i
2026年11月12日
コードの最終更新i
2026年11月12日
作者
chrischall
パッケージ
npm: @chrischall/office-outlook-mcp
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント chrischall で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:7 日前

  • ✕ 不合格

    ライセンスがある

    リポジトリにライセンスファイルが見つかりません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に @chrischall/office-outlook-mcp@0.13.0 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月15日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/chrischall-office-outlook-mcp.svg)](https://mcp.popnx.com/en/servers/chrischall-office-outlook-mcp)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

チャット・メールのほかのサーバーとの比較i

  • このカテゴリのほかの2018件のうち83%よりスターが多い
  • このカテゴリのほかの2018件のうち81%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2018件のうち50%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Office Outlook MCPは安全ですか?

当てはまる基本チェック3項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:OUTLOOK_ACCESS_TOKEN, MCP_CONFIRM_SECRET

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は7 日前、最新バージョン(0.13.0)がレジストリに届いたのは7 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

作者:anypost広く使われている↓ 5432/週★ 13945 日前更新

パソコンでもクラウドでも✓ 提供元 · emailmd.dev

Infobip MCP

Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.

作者:infobip初期★ 3613 か月前更新

クラウドで動く✓ 提供元 · infobip.com

kernelCAD

CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.

作者:w1ne初期★ 3523 日前更新

クラウドで動く✓ 提供元 · kernelcad.com
似たものと比べる
これ
Office Outlook MCP
emailmdKite Discord Bot Buildere2a — email for AI agentsInfobip MCPkernelCAD
動く場所パソコンにインストールが必要クラウドでもパソコンにインストールでも使えるクラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要はいいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえはいいいえ
基本チェック2/35/54/44/44/44/4
ライセンス–MITAGPL-3.0Apache-2.0MITMIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

office-outlook-mcp

MCP server for Outlook / Microsoft 365 — mail, folders, calendar, contacts and tasks, with confirmation-gated sending.

This project was developed and is maintained by AI (Claude Code). Use at your

own discretion.

How it authenticates

Outlook Web holds its access token in memory and sends it as Authorization: Bearer …. This server snapshots that header from your signed-in browser tab through the fetchproxy bridge, then talks to https://outlook.office.com/api/v2.0 with ordinary server-side requests.

The browser is needed only to mint the token (~25h), never to make a call. That is the whole design: no Azure app registration, no admin consent, and no browser on the request path.

Tokens are cached at ~/.office-outlook-mcp/token.json (0600), so a restart does not re-capture.

Install

npm i -g @chrischall/office-outlook-mcp

Requires the ContextMint Bridge browser extension, installed from its releases: in Chrome, unzip the chrome build and load it unpacked (chrome://extensions → Developer mode → Load unpacked). Safari is not available yet — it will ship inside the ContextMint app, which has no public download — so use Chrome for now.

ContextMint Bridge is the fetchproxy browser extension under its new name, from the same maintainer — fetchproxy's own README (#extension) points to it. Its source is public at nullnet-app/contextmint-bridge: build it yourself, or check a release zip against the .sha256 file published beside it (shasum -a 256 -c contextmint-bridge-chrome- .zip.sha256).

The extension, fpx and this server are compatible by fetchproxy protocol number (currently protocol 4), not by matching package versions. Keep the bridge and fpx current — a mismatch fails with an error naming both protocol numbers. Also install @fetchproxy/cli:

npm i -g @fetchproxy/cli

The first capture prints a 6-digit pair code to approve in the ContextMint Bridge popup; the grant persists.

Pairing

The server declares one host to the bridge — outlook.cloud.microsoft, or OUTLOOK_WEB_HOST — and the same scope on every capture, so once approved it neither re-pairs nor asks for wider grants. The bridge keeps one relay tab on that host open (it reuses yours if you already have Outlook open).

Before 0.8.2 it also declared outlook.office.com. A signed-in tab there redirects to outlook.cloud.microsoft, so the bridge opened another background tab on every capture. Upgrading changes the declared domain set, so the bridge asks to pair once more.

If you run the bridge in more than one browser or browser profile, each one is a different extension identity, and the server trusts only the one it paired with. Keep the bridge enabled in the browser you pair with (or re-pair deliberately with FETCHPROXY_TRUST_NEW_EXTENSION=1 after switching browsers).

Install in opencode

opencode reads MCP servers from opencode.json (project) or ~/.config/opencode/opencode.json (global):

{

"mcp": { "servers": { "outlook": { "type": "local", "command": ["npx", "-y", "@chrischall/office-outlook-mcp"] } } } }

That one file serves opencode 2 and current opencode 1 — verified live on 2.0.11, 1.18.31 and 1.18.28, which all connect from it.

Two things worth knowing, both measured rather than assumed:

  • Never carry both config shapes in one file. Older opencode 1 wants the servers directly under mcp ("mcp": { "outlook": { … } }), and the temptation is to write both so either version finds one. Do not: given a sibling key beside servers, opencode 2 parses the file — it still shows up in opencode debug config — and then reports *"No MCP servers configured"*. No error, no warning, every server silently gone.
  • An opencode 1 old enough to reject `servers` says so loudly (Configuration is invalid at …), so if you see that, switch that machine to the flat shape rather than combining them.

opencode 2 talks to a background service, so opencode reload before opencode mcp list after editing config.

Configuration

Everything is optional — with nothing set, the server captures from the browser.

variablepurpose
OUTLOOK_ACCESS_TOKENPre-obtained bearer token. Overrides the bridge. Power users / CI only; expires in ~25h and cannot be auto-refreshed.
OUTLOOK_DISABLE_FETCHPROXY1 to disable browser capture, requiring OUTLOOK_ACCESS_TOKEN.
OUTLOOK_API_BASEOverride the REST base URL. Defaults to https://outlook.office.com/api/v2.0.
OUTLOOK_WS_PORTfetchproxy concentrator port. Defaults to 37149, the fleet-wide shared port.
OUTLOOK_WEB_HOSTWhich Outlook Web host your signed-in tab is on: outlook.cloud.microsoft (default) or outlook.office.com for a tenant still on the legacy app. Only this one host is declared to the bridge — see Pairing.
OUTLOOK_CAPTURE_TIMEOUTSeconds to wait for the tab to make a readable request. Defaults to 30.
OUTLOOK_TOKEN_CACHEfalse to stop caching the token between runs.
OUTLOOK_TOKEN_FILEPath to the cached token. Defaults to ~/.office-outlook-mcp/token.json.
OUTLOOK_OUTPUT_DIRAbsolute directory outlook_export_messages and outlook_export_events write into, and where a local install saves the files outlook_get_attachment cannot return inline. Defaults to ~/Downloads/office-outlook-mcp (for attachments, only when ~/Downloads exists). When set, a per-call dest must be inside it. See Bulk export.

Tools

Read — outlook_list_folders, outlook_list_messages, outlook_get_message, outlook_list_unread_messages, outlook_list_attachments, outlook_get_attachment, outlook_list_events, outlook_get_event, outlook_list_calendars, outlook_find_meeting_times, outlook_get_schedule, outlook_get_profile, outlook_get_mailbox_settings, outlook_list_contacts, outlook_list_people, outlook_list_categories, outlook_list_tasks, outlook_list_rules

Write (ask you to confirm first — see Confirmations) — outlook_send_message, outlook_create_draft, outlook_update_draft, outlook_send_draft, outlook_mark_read, outlook_update_message, outlook_move_message, outlook_move_messages, outlook_batch, outlook_confirm, outlook_create_event, outlook_update_event, outlook_respond_to_invite, outlook_delete_event, outlook_reply, outlook_create_rule, outlook_update_rule, outlook_delete_rule, outlook_set_auto_reply, outlook_create_folder, outlook_update_folder (rename or move), outlook_delete_folder (permanent: the folder does not go to Deleted Items). Some skip the confirmation because nothing reaches anyone else: outlook_create_draft (the draft stays in Drafts until you send it with outlook_send_draft or from Outlook), outlook_create_folder (an empty folder is easily deleted), outlook_reply with draftOnly: true (the reply stays in Drafts), outlook_respond_to_invite with sendResponse: false, and outlook_delete_event on your own appointment with no attendees or on a meeting the organizer already cancelled (in each, only your calendar changes).

Meetings — outlook_find_meeting_times asks Outlook's Scheduling Assistant for slots when everyone is free, and outlook_get_schedule shows each person's busy blocks. Each suggested slot carries createEventArgs, which outlook_create_event accepts unchanged. outlook_create_event attaches a Microsoft Teams meeting by default and returns its join link; pass teamsMeeting: false to leave it off. outlook_update_event never changes how people join a meeting unless asked: pass teamsMeeting: true to add a Teams meeting to an event that lacks one, and the confirmation says so in plain words. Only the organizer can update a meeting. outlook_respond_to_invite accepts, tentatively accepts or declines an invite, by its message id or its event id. outlook_delete_event deletes an event you organize — one occurrence by the occurrence's id, or the whole series by its series master's id — and sends any attendees a cancellation; for an invite you received it refuses and points you at declining instead. outlook_list_events and outlook_get_event show what that decision needs in every view: MyResponse, ResponseRequested, IsOrganizer, IsCancelled, Type (SingleInstance, Occurrence, Exception or SeriesMaster), ShowAs and IsAllDay, plus SeriesMasterId in the full view.

Rules and automatic replies — outlook_list_rules shows inbox rules in the order Outlook applies them. outlook_create_rule needs at least one condition and one action; a rule that forwards or redirects mail names those recipients in its confirmation, because it keeps sending mail out until removed. outlook_update_rule sends only what you pass, and conditions, exceptions or actions replace that whole group. outlook_set_auto_reply changes only what you pass, and its confirmation shows the exact text that will go out, including stored text you did not change. Read the current auto-reply with outlook_get_mailbox_settings.

Moving many messages — outlook_move_messages moves every message in a folder (default the inbox) that matches a filter — sender addresses (from), receivedBefore / receivedAfter, isRead, subjectContains, minus exceptSubjectContains — to another folder, under one confirmation for the whole set. It only moves, never deletes. At least one condition is required. The preview shows how many match, the filter, the destination and a sample of 10; it moves at most max per call (default 1000, at most 5000), newest first, and reports the rest as remaining, so a second call moves the next set. Each call reads every matching message in the folder so remaining is exact, which takes longer in a very large folder. To run an inbox rule over mail that arrived before it, pass the rule's senders as from, its exceptions as exceptSubjectContains, and markRead: true if the rule marks mail read. Every call lists the folder afresh: if the matching mail changed before you approved, you get a new preview instead of a move. One failed message does not stop the rest; the result counts moved, failedCount (first 20 listed), markedRead and any unknown (timed out — may have moved; check before retrying).

Several changes at once — outlook_batch runs up to 100 mailbox writes (outlook_move_message, outlook_mark_read, outlook_update_message, outlook_create_rule, outlook_update_rule, outlook_delete_rule, outlook_create_folder, outlook_update_folder) under one preview and one approval, in order. An op can take an earlier op's output through refs: create a folder, then a rule that files into it with {"tool": "outlook_create_rule", "args": {…}, "refs": {"moveToFolder": "0.id"}}. It stops at the first failure and has no rollback — the result says which ops were applied, which failed and which never ran. Nothing that emails anyone (sends, replies, invites, events, drafts, automatic replies) can ride in a batch. outlook_confirm finishes any previewed write with its confirmToken alone, so the arguments need not be sent twice.

Export — outlook_export_messages (mail) and outlook_export_events (calendar) write JSONL or Markdown files, optionally with attachments, and return only where they are; see Bulk export.

Copilot — outlook_ask_copilot puts a question to Microsoft 365 Copilot with your mailbox as context; see Microsoft 365 Copilot.

Diagnostics — outlook_healthcheck

Every read tool takes `view: compact | full |

冒頭だけを表示しています。続きはリポジトリで読めます