Outlook MCP Server

Outlook MCP Server

Enables interaction with Outlook email through Microsoft Graph API. Supports email management operations like reading, searching, marking as read/unread, and deleting messages through natural language.

Category
Visit Server

README

Outlook MCP Server

Microsoft Graph APIを使用してOutlookメールにアクセスするためのModel Context Protocol (MCP)サーバーです。

機能

  • Outlookメールの一覧取得
  • メールの詳細取得
  • メール検索
  • 既読/未読の切り替え
  • メール削除

セットアップ

1. 依存関係のインストール

npm install

2. ビルド

npm run build

使用方法

Stdio Transport(ローカル使用)

npm start

HTTP/SSE Transport(リモートMCP用)

node dist/http-server.js

サーバーはhttp://localhost:3000で起動します。 MCPエンドポイント: http://localhost:3000/mcp

アクセストークンの取得

Microsoft Graph APIのアクセストークンが必要です。以下の方法で取得できます:

  1. Microsoft Graph Explorerにアクセス
  2. Microsoftアカウントでサインイン
  3. 「Access token」タブからトークンをコピー

MCP設定例

Claude Desktopでの設定 (stdio)

~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "outlook": {
      "command": "node",
      "args": ["/path/to/outlook-mcp/dist/index.js"]
    }
  }
}

HTTP Transport設定

{
  "mcpServers": {
    "outlook": {
      "transport": "http",
      "url": "http://localhost:3000/mcp"
    }
  }
}

利用可能なツール

1. set_access_token

Microsoft Graph APIのアクセストークンを設定します。

2. list_emails

メール一覧を取得します。

  • top: 取得するメール数(デフォルト: 10)
  • skip: スキップするメール数(ページネーション用)
  • filter: ODataフィルタクエリ(例: "isRead eq false")
  • orderBy: 並び順(デフォルト: "receivedDateTime DESC")
  • search: 検索クエリ

3. get_email

特定のメールの詳細を取得します。

  • message_id: メールID(必須)

4. search_emails

メールを検索します。

  • query: 検索クエリ(必須)
  • top: 最大結果数(デフォルト: 10)

5. mark_as_read

メールを既読/未読にします。

  • message_id: メールID(必須)
  • is_read: true(既読)またはfalse(未読)

6. delete_email

メールを削除します。

  • message_id: メールID(必須)

開発

npm run dev

TypeScriptの変更を監視して自動的に再起動します。

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured