Claude Outlook MCP Tool

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Used as the JavaScript runtime to execute the MCP server code.

  • Required as the operating system environment for running the MCP tool with macOS-specific Outlook integration.

クロード Outlook MCP ツール

これは、Claude が macOS 用 Microsoft Outlook と対話できるようにするモデル コンテキスト プロトコル (MCP) ツールです。

特徴

  • 郵便:
    • 未読メールと通常のメールを読む
    • キーワードでメールを検索する
    • 宛先、CC、BCC の受信者を指定してメールを送信する
    • HTML形式のメールを送信する
    • メールにファイルを添付する
    • メールフォルダの一覧
  • カレンダー:
    • 今日のイベントを見る
    • 今後のイベントを見る
    • イベントを検索
    • 新しいカレンダーイベントを作成する
  • 連絡先:
    • 連絡先リスト
    • 名前で連絡先を検索

前提条件

インストール

  1. このリポジトリをクローンします:
git clone https://github.com/syedazharmbnr1/claude-outlook-mcp.git cd claude-outlook-mcp
  1. 依存関係をインストールします:
bun install
  1. スクリプトが実行可能であることを確認します。
chmod +x index.ts
  1. Claude Desktop の設定を更新します。

このツールを含めるように、 claude_desktop_config.jsonファイル ( ~/Library/Application Support/Claude/claude_desktop_config.jsonにあります) を編集します。

{ "mcpServers": { "outlook-mcp": { "command": "/Users/YOURUSERNAME/.bun/bin/bun", "args": ["run", "/path/to/claude-outlook-mcp/index.ts"] } } }

YOURUSERNAME実際の macOS ユーザー名に置き換え、このリポジトリのクローンを作成した場所へのパスを調整してください。

  1. Claudeデスクトップアプリを再起動します
  2. 権限を付与する:
    • システム環境設定 > プライバシーとセキュリティ > プライバシーに移動します
    • ターミナル(またはお好みのターミナルアプリ)にアクセシビリティ機能へのアクセスを許可する
    • ツールを初めて使用するときに許可を求めるプロンプトが表示される場合があります

使用法

インストールが完了すると、次のような質問をすることで、Claude から直接 Outlook ツールを使用できるようになります。

  • 「Outlook で未読メールを確認できますか?」
  • 「四半期レポートをOutlookのメールから検索する」
  • 「「明日の会議」という件名でjohn@example.comにメールを送信してください」
  • 「今日のカレンダーには何が入ってるの?」
  • 「明日の午後2時に会議を作成」
  • 「ジェーン・スミスの連絡先情報を見つける」

メール操作

Check my unread emails in Outlook
Send an email to alex@example.com with subject "Project Update" and the following body: Here's the latest update on our project. We've completed phase 1 and are moving on to phase 2.
Send an HTML email to team@example.com with subject "Weekly Report" and attach the quarterly_results.pdf file
Search my emails for "budget meeting"

カレンダー操作

What events do I have today?
Create a calendar event for a team meeting tomorrow from 2pm to 3pm
Show me my upcoming events for the next 2 weeks

連絡先

List all my Outlook contacts
Search for contact information for Jane Smith

高度な機能

HTML メールサポート

isHtmlパラメータを true に設定すると、リッチ HTML 形式の電子メールを送信できます。

Send an HTML email to john@example.com with the subject "Project Update" and body "<h1>Project Update</h1><p>We've made <b>significant progress</b> on the project.</p>"

ファイル添付

attachmentsファイルパラメータにファイルパスを指定することで、メールにファイルを添付できます。

Send an email to jane@example.com with subject "Monthly Report" and attach the reports/march_2025.pdf file

添付ファイルで最良の結果を得るには:

  • 可能な場合は絶対ファイルパスを使用する
  • MCPツールを実行しているプロセスがファイルにアクセスできることを確認します。
  • 添付ファイルは強力なエラー検出機能で自動的に処理されます

トラブルシューティング

添付ファイルで問題が発生した場合:

  • ファイルが存在し、読み取り可能かどうかを確認します
  • 相対パスではなく絶対ファイルパスを使用する
  • プロセスを実行しているユーザーにファイルの読み取り権限があることを確認してください

Cannot find module '@modelcontextprotocol/sdk/server/index.js'エラーが発生した場合:

  1. すべての依存関係をインストールするには、 bun install実行したことを確認してください。
  2. MCP SDK を明示的にインストールしてみてください。
    bun add @modelcontextprotocol/sdk@^1.5.0
  3. モジュールが node_modules ディレクトリに存在するかどうかを確認します。
    ls -la node_modules/@modelcontextprotocol/sdk/server/

エラーが解決しない場合は、Bun を使用して新しいプロジェクトを作成してみてください。

mkdir -p ~/yourpath/claude-outlook-mcp cd ~/yourpath/claude-outlook-mcp bun init -y

次に、package.json ファイルと index.ts ファイルを新しいディレクトリにコピーして、次を実行します。

bun install bun run index.ts

新しい場所を指すように claude_desktop_config.json を更新します。

ライセンス

マサチューセッツ工科大学

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Claude が macOS 版 Microsoft Outlook と対話できるようにするモデル コンテキスト プロトコル ツール。これにより、ユーザーは電子メールの読み取り/送信、カレンダー イベントの管理、自然言語コマンドによる連絡先へのアクセスが可能になります。

  1. Features
    1. Prerequisites
      1. Installation
        1. Usage
          1. Examples
            1. Email Operations
            2. Calendar Operations
            3. Contact Operations
          2. Advanced Features
            1. HTML Email Support
            2. File Attachments
          3. Troubleshooting
            1. License
              ID: 0j71n92wnh