Outlook MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Outlook MCP Server show me my 5 most recent unread emails"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Outlook MCP Server
Microsoft Graph APIを使用してOutlookメールにアクセスするためのModel Context Protocol (MCP)サーバーです。
機能
Outlookメールの一覧取得
メールの詳細取得
メール検索
既読/未読の切り替え
メール削除
Related MCP server: Outlook MCP Server
セットアップ
1. 依存関係のインストール
npm install2. ビルド
npm run build使用方法
Stdio Transport(ローカル使用)
npm startHTTP/SSE Transport(リモートMCP用)
node dist/http-server.jsサーバーはhttp://localhost:3000で起動します。
MCPエンドポイント: http://localhost:3000/mcp
アクセストークンの取得
Microsoft Graph APIのアクセストークンが必要です。以下の方法で取得できます:
Microsoftアカウントでサインイン
「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 devTypeScriptの変更を監視して自動的に再起動します。
Available Tools
6 toolsdelete_emailC
Delete an email
Inputs: message_id (required).
get_emailC
Get detailed information about a specific email
Inputs: message_id (required).
list_emailsC
List emails from Outlook inbox
Inputs: top, skip, filter, search, +1 more.
mark_as_readB
Mark an email as read or unread
Inputs: message_id (required), is_read.
search_emailsC
Search for emails using a search query
Inputs: query (required), top.
set_access_tokenB
Set the Microsoft Graph API access token for Outlook access
Inputs: access_token (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct action (auth, list, get, search, flag, delete), but list_emails and search_emails overlap conceptually since an empty/naive query could return the same results. The descriptions do help differentiate them, so misselection risk is low but not zero.
All tools use snake_case with a clear verb-first pattern (list_emails, get_email, search_emails, delete_email, set_access_token). mark_as_read is the only one without an explicit noun, but it's still readable and consistent in style.
Six tools is well-scoped for a focused inbox-management server, with each tool earning its place. It sits at the lean end of the ideal range, which is fine but leaves little room for lifecycle coverage.
Read, search, flag, and delete operations are covered, but the domain is notably missing compose/send, reply/forward, and folder/move operations. Agents can read and triage mail but hit a dead end on anything that requires outgoing mail.
Maintenance
Related MCP Connectors
Search Gmail and Outlook, save drafts, manage email rules, and view email stats.
Email: search, read, fetch attachments; attach files when the MCP client supports inputs.
Manage Microsoft 365 email, calendar, contacts and inbox rules via the Graph API with OAuth 2.0.
Read email/chat conversations, messages, contacts and teams; draft, send and update threads.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables AI assistants to manage Microsoft Outlook email and calendar through the Microsoft Graph API, including reading, sending, searching emails, and handling calendar events.4333MIT
- FlicenseNot gradedqualityDmaintenanceProvides programmatic access to Microsoft Outlook mailboxes, enabling AI assistants to search, analyze, and extract insights from emails in personal and shared mailboxes.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with Microsoft 365 Outlook Mail, allowing email operations via natural language.82 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage Microsoft Outlook emails through the Microsoft Graph API, supporting operations like listing, reading, sending, and moving emails.MIT