プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Microsoft 365 Mail

作者:mindstoneバージョン 0.4.1i★ –iパソコンで動く
レジストリ名io.github.mindstone/mcp-server-microsoft-mail

インストール

概要

作者による説明(英語の原文)

Microsoft 365 Outlook mail via Graph: read, search, send, reply, forward, draft, move, delete.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: チャット・メール
  • 入力が必要なもの:MS_CLIENT_ID, MS_CONFIG_DIR

インストール

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

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: MS_CLIENT_ID, MS_CONFIG_DIR, MS_ACCOUNT_EMAIL, MS_MCP_PACKAGE_ID, MICROSOFT_REQUEST_TIMEOUT_MS, MCP_WORKSPACE_PATH

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "microsoft-mail": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-mail"
      ],
      "env": {
        "MS_CLIENT_ID": "your-value",
        "MS_CONFIG_DIR": "your-value",
        "MS_ACCOUNT_EMAIL": "your-value",
        "MS_MCP_PACKAGE_ID": "your-value",
        "MICROSOFT_REQUEST_TIMEOUT_MS": "your-value",
        "MCP_WORKSPACE_PATH": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add microsoft-mail --env MS_CLIENT_ID=your-value --env MS_CONFIG_DIR=your-value --env MS_ACCOUNT_EMAIL=your-value --env MS_MCP_PACKAGE_ID=your-value --env MICROSOFT_REQUEST_TIMEOUT_MS=your-value --env MCP_WORKSPACE_PATH=your-value -- npx -y @mindstone/mcp-server-microsoft-mail

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "microsoft-mail": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-mail"
      ],
      "env": {
        "MS_CLIENT_ID": "your-value",
        "MS_CONFIG_DIR": "your-value",
        "MS_ACCOUNT_EMAIL": "your-value",
        "MS_MCP_PACKAGE_ID": "your-value",
        "MICROSOFT_REQUEST_TIMEOUT_MS": "your-value",
        "MCP_WORKSPACE_PATH": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "microsoft-mail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-mail"
      ],
      "env": {
        "MS_CLIENT_ID": "your-value",
        "MS_CONFIG_DIR": "your-value",
        "MS_ACCOUNT_EMAIL": "your-value",
        "MS_MCP_PACKAGE_ID": "your-value",
        "MICROSOFT_REQUEST_TIMEOUT_MS": "your-value",
        "MCP_WORKSPACE_PATH": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • MS_CLIENT_ID 必須 env
    Microsoft Entra (Azure AD) application client ID
  • MS_CONFIG_DIR 必須 env
    Path to the per-user Microsoft config directory (credentials/, accounts.json)
  • MS_ACCOUNT_EMAIL env
    Account email when running in multi-account per-instance mode (falls back to the first account in accounts.json)
  • MS_MCP_PACKAGE_ID env
    Logical package ID surfaced in error responses
  • MICROSOFT_REQUEST_TIMEOUT_MS env
    Override the upstream Microsoft Graph request timeout in milliseconds (max 300000 = 5 min)
  • MCP_WORKSPACE_PATH env
    Workspace root where download_attachment saves files (falls back to the OS temp directory when unset)

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

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

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

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

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

よくある質問

Microsoft 365 Mailは安全ですか?

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

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

入力が必要なもの:MS_CLIENT_ID, MS_CONFIG_DIR

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:Vexa, emailmd, MCP WhatsApp Cloud

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

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

Vexa

作者:Vexa-ai

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

クラウドで動く★ 2,949Apache-2.02 か月前更新
インストール

emailmd

作者:anypost

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

パソコンでもクラウドでも★ 1,385MIT31 日前更新
インストール

MCP WhatsApp Cloud

作者:codespar

MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API

パソコンで動く★ 277MIT5 か月前更新
インストール

作者のREADME

READMEを開く

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

@mindstone/mcp-server-microsoft-mail

Microsoft 365 Outlook Mail MCP server — list, search, read, send, reply, forward, draft, move, and delete email, download attachments, read threads, triage (read/flag), and manage out-of-office replies via the Microsoft Graph API.

*Cohort-style Microsoft 365 mail MCP. Host owns the OAuth flow, this server reads per-account tokens off disk, and each tool fails closed with a structured auth_required envelope so the host can drive reauth.*

Status

  • Version: 0.4.1 · npm
  • Auth: OAuth (host-orchestrated) (MS_CLIENT_ID)
  • Tools: 22 (messages, folders, drafts, attachments, threads, settings)
  • Surface: cloud-api
  • Machine-readable: STATUS.json
  • Shared library: @mindstone/mcp-server-microsoft-shared

Why this exists

When we ported this in May 2026, Microsoft's own Graph MCP lineup did not yet ship a stand-alone Outlook Mail server, and the community options at the time each ran their own browser-callback server during OAuth — which our host application already does, with credentials it has already negotiated for the rest of the cohort. We pulled the bundled connector out of MindstoneRebel as a 1:1 port so the same five-connector Microsoft 365 cohort (mail, calendar, files, teams, SharePoint) shares a single OAuth surface, a single shared-library package for token persistence, request timeouts, and the structured auth_required envelope the host already knows how to recover from. This connector owns the cohort's authentication tool (authenticate_microsoft_account); the other four connectors reuse the credentials it negotiates.

Example interaction

"List my five most recent unread emails from Alice and reply to the latest one with 'thanks, will read tonight'."

Tools the host calls:

  1. search_emails — from:alice@example.com isRead:false, top 5.
  2. reply_to_email — sends a reply on the top-result message ID with the supplied body.

Response (trimmed):

{

"matches": [ { "id": "AAMkAD...", "subject": "Q3 planning", "from": "alice@example.com", "receivedDateTime": "2026-05-19T09:14:11Z" } ], "reply": { "id": "AAMkAD...", "isDraft": false } }

Requirements

  • Node.js 20+
  • npm
  • A host application that performs the Microsoft OAuth flow and writes per-account token files into ${MS_CONFIG_DIR}/credentials/${sanitised-email}.token.json and an ${MS_CONFIG_DIR}/accounts.json index. This server reads those files; it does not initiate OAuth itself.

One-click install

After clicking the button, your host will prompt you to fill: MS_CLIENT_ID, MS_CONFIG_DIR, MS_MCP_PACKAGE_ID, MICROSOFT_REQUEST_TIMEOUT_MS.

Manual config for Claude Desktop / Claude Code / Goose / Continue.dev (Microsoft 365 Mail)

{

"mcpServers": { "Microsoft 365 Mail": { "command": "npx", "args": [ "-y", "@mindstone/mcp-server-microsoft-mail" ], "env": { "MS_CLIENT_ID": "", "MS_CONFIG_DIR": "", "MS_MCP_PACKAGE_ID": "Microsoft365Mail", "MICROSOFT_REQUEST_TIMEOUT_MS": "60000" } } } }

Quick Start

Install & build
cd <path-to-repo>/connectors/microsoft-mail

npm install npm run build

npx (once published)
npx -y @mindstone/mcp-server-microsoft-mail
Local
node dist/index.js

Configuration

This server runs alongside a host application that owns the Microsoft 365 OAuth flow. The host writes credentials to disk; this server reads them.

Required environment variables
NameDescription
MS_CLIENT_IDMicrosoft Entra (Azure AD) application client ID.
MS_CONFIG_DIRPath to the per-user Microsoft config directory (credentials/, accounts.json).
Optional environment variables
NameDescriptionDefault
MS_ACCOUNT_EMAILAccount email when running in multi-account per-instance mode.First account in accounts.json.
MS_MCP_PACKAGE_IDLogical package ID surfaced in error responses.Microsoft365Mail
MICROSOFT_REQUEST_TIMEOUT_MSOverride the upstream Microsoft Graph request timeout (max 300000 ms).60000
MICROSOFT_DISABLE_REFRESHSet to 1 to disable token refresh on this surface. Tools fail closed with the structured auth_required response so the host can drive reauth. Cloud surfaces set this to 1.unset
MCP_WORKSPACE_PATHWorkspace root where download_attachment saves files.OS temp directory

Host configuration examples

Claude Desktop / Cursor
{

"mcpServers": { "Microsoft365Mail": { "command": "npx", "args": ["-y", "@mindstone/mcp-server-microsoft-mail"], "env": { "MS_CLIENT_ID": "your-entra-application-client-id", "MS_CONFIG_DIR": "/absolute/path/to/microsoft-config" } } } }

Until the host has written ${MS_CONFIG_DIR}/credentials/ .token.json and ${MS_CONFIG_DIR}/accounts.json, every tool call returns the structured auth_required response (the host's MCP service recognises this shape and dispatches to its registered Microsoft 365 OAuth orchestrator).

Local development (no npm publish needed)
{

"mcpServers": { "Microsoft365Mail": { "command": "node", "args": [" /connectors/microsoft-mail/dist/index.js"], "env": { "MS_CLIENT_ID": "your-entra-application-client-id", "MS_CONFIG_DIR": "/absolute/path/to/microsoft-config" } } } }

Tools (22)

ToolDescription
authenticate_microsoft_accountEmit the structured auth_required handoff so the host runs the Microsoft 365 OAuth flow.
list_emailsList emails in a folder, ordered by most recent (see ordering note below).
get_emailRead a single email by message ID.
list_attachmentsList attachment metadata (ID, name, type, size) for a message.
download_attachmentSave a file attachment into the workspace (or OS temp directory).
send_emailSend a new email message (supports CC and BCC).
compose_emailOpen an editable draft in an interactive compose view; nothing is sent until the user clicks Send, and Save draft stores it in Drafts instead.
search_emailsSearch emails using Microsoft Search syntax.
get_conversationList messages in a thread, oldest first (see ordering note below).
reply_to_emailReply (or reply-all) to an existing email.
forward_emailForward an email to additional recipients.
delete_emailMove an email to Deleted Items, or hard-delete it.
list_foldersList mail folders.
move_emailMove an email to a different folder.
create_reply_draftSave a draft reply to an existing email.
create_draftSave a new standalone draft email (supports CC and BCC).
send_draftSend an existing draft.
update_draftUpdate a draft's subject, body, recipients, or importance.
mark_email_readMark an email as read or unread.
set_email_flagFlag an email for follow-up, complete it, or clear the flag.
get_automatic_repliesRead the out-of-office configuration (requires MailboxSettings.Read).
set_automatic_repliesTurn out-of-office replies on/off or schedule them (requires MailboxSettings.ReadWrite).
Compose send status

In hosts that remember send status, sending an email closes its other compose copies. Reloaded cards show "Email sent" with the send time and hide Reopen because they do not have the sent contents. The copy used to send keeps its posted contents in a read-only sent view, including when confirmation follows a lost reply. After an error or block reply, a later sent status from another copy shows only the sent bar, without this copy's contents. While a send is in progress, other copies show “Sending…” with Send, Retry, Cancel and Save draft (where available) disabled. Replies to this copy’s own requests keep those controls locked until the other send ends. If the send ends without a confirmed outcome, those copies return to editing and keep any earlier uncertainty. A copy waiting for its own Send reply keeps its sending view. Sent views stay read-only, and uncertainty remains until a send is confirmed. After an error or missing confirmation, check whether the email was sent before using Retry; the notice stays visible while editing and returns on Reopen. Collapsing the card does not resolve that uncertainty. Policy-block explanations stay visible while editing with Send disabled. Cancel says "Nothing sent" only when no send may have gone through, including a not-dispatched failure before the request left the device.

When sending is blocked by your settings, your organization or security policy, the card hides Retry and keeps Cancel. If the server is stopped, Retry remains available.

Send requests declare _meta: { 'mcp-app/cardOutcome': 'sent' } to supporting hosts. Draft saves do not declare a send outcome; Cancel after a draft-save timeout says "Nothing sent" unless an earlier send remains uncertain.

Graph permissions

Mail tools run on the Mail.ReadWrite + Mail.Send delegated grants. The automatic-replies tools additionally need MailboxSettings.Read / MailboxSettings.ReadWrite; in many organizations an administrator must approve that permission, and the tools return a guidance envelope (rather than a raw Graph 403) when the connected account lacks it.

Ordering and validation notes
  • Filtered listing is page-local. Microsoft Graph rejects $filter combined with $orderby, so when list_emails is called with a filter (and always for get_conversation) the connector sorts only the returned pag

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

PopNxに聞く