outlook-web-mcp-server
Click on "Install 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-web-mcp-serverfind emails from Alice about the budget report"
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 Web MCP server (unofficial)
ローカルの Outlook COM を、Outlook Web が内部利用している非公開 API に置き換える MCP サーバーです。Microsoft Graph、Outlook デスクトップ、COM、ブラウザー Cookie は 使いません。
https://outlook.cloud.microsoft/owa/service.svc は Microsoft の公開・サポート対象 API
ではありません。Outlook Web 側の変更や組織ポリシーで、予告なく動かなくなる可能性が
あります。本番の基幹連携には Microsoft Graph を推奨します。
COM 版との互換性
COM 版のツール名と主要な引数・戻り値を維持しています。
ツール | 動作 | メールボックス変更 |
| 件名・送信者を検索 | なし |
| フォルダー一覧 | なし |
| 1通の本文を取得 | なし |
| 既読・未読を変更 | あり |
| 予定を期間指定で取得 | なし |
| 返信/全員返信の下書きを保存 | 下書き追加のみ |
認証状態確認用に outlook_auth_status も追加しています。送信、削除、移動、アーカイブの
ツールは意図的に実装していません。storeId は COM の Store Entry ID ではなく、
このサーバー専用の outlook-web です。検索結果から返された値をそのまま使ってください。
Related MCP server: Playwright MCP
セットアップ
Python 3.11 以上と uv が必要です。
uv sync --dev
uv run outlook-web-mcp login
uv run outlook-web-mcp probe初回ログインでは Microsoft のデバイスコード画面が開きます。アクセストークンはメモリ内 だけで扱い、更新トークンは OS の資格情報保管庫に保存します。標準出力や MCP 応答に トークンを出しません。
サインインを別工程に分けたい場合:
uv run outlook-web-mcp login-start
# 表示されたコードでサインイン後
uv run outlook-web-mcp login-completeMCP への登録
stdio サーバーの起動コマンドは次です。
uv run outlook-web-mcp-serverクライアント設定例(パスはこのリポジトリの絶対パスへ変更):
{
"mcpServers": {
"outlook-web": {
"command": "uv",
"args": [
"--directory",
"C:\\path\\to\\outlook-web-teams-un-oficial-api",
"run",
"outlook-web-mcp-server"
]
}
}
}COM 版から切り替える
uv run outlook-web-mcp loginでこのサーバー専用の認証を1回行う。MCP クライアントの
outlook-com起動設定を、上記outlook-webの設定へ置き換える。MCP クライアントを再起動し、
outlook_auth_statusとsearch_emailsで確認する。
ツール名と引数名は維持していますが、COM 版で以前取得した emailId、folderId、
storeId は再利用できません。Web 版の検索・フォルダー一覧から ID を取り直してください。
CLI
outlook-web-mcp login # 対話ログイン
outlook-web-mcp login-start # デバイスコードを発行
outlook-web-mcp login-complete # 発行済みコードのログインを完了
outlook-web-mcp status # 秘密を含まない認証状態
outlook-web-mcp probe # メール内容を取得しない Inbox 疎通確認
outlook-web-mcp logout # 保存済み資格情報を削除
outlook-web-mcp serve # stdio MCP を起動設定
必要な場合だけ環境変数で上書きします。
変数 | 既定値 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OUTLOOK_WEB_CLIENT_ID も変更できますが、既定値は Outlook Web が公開ログイン画面で使う
ファーストパーティー クライアント ID です。組織の条件付きアクセスや同意ポリシーによって
認証できない場合があります。
開発時の確認
uv run pytest
uv run ruff check .
uv run mypy
uv build内部 API の調査結果と設計上の境界は docs/internal-api.md にあります。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables browser automation, web content extraction, and LLM-powered data transformation using Playwright. Supports session management, authentication flows, and works with local LLMs (Ollama, JAN AI) or external providers to clean and structure extracted web data.Last updated526
- AlicenseAquality-maintenanceEnables browser automation through Playwright using accessibility tree snapshots instead of screenshots. Supports web scraping, form interactions, testing, and connecting to existing browser sessions with logged-in accounts.Last updated2311,1575
- Alicense-qualityDmaintenanceEnables executing HTTP requests with automatic browser-based authentication, supporting OAuth, form login, and cookie/session management.Last updated1MIT
- AlicenseAqualityAmaintenanceEnables listing and downloading scanned letters from the Swiss ePost digital letterbox through browser automation, requiring manual SwissID login for session establishment.Last updated21865MIT
Related MCP Connectors
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Outlook Mail (Microsoft 365) MCP Pack
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ma-nakaya/outlook-web-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server