Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Microsoft 365 Mail

by mindstoneversion 0.4.1i★ –iRuns on your computer
Registry nameio.github.mindstone/mcp-server-microsoft-mail

Install

Overview

Description from the maker (original English)

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

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Chat & email
  • You need to fill in: MS_CLIENT_ID, MS_CONFIG_DIR

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: MS_CLIENT_ID, MS_CONFIG_DIR, MS_ACCOUNT_EMAIL, MS_MCP_PACKAGE_ID, MICROSOFT_REQUEST_TIMEOUT_MS, MCP_WORKSPACE_PATH

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into 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"
      }
    }
  }
}

Run this in your terminal

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

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.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"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "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"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • MS_CLIENT_ID required env
    Microsoft Entra (Azure AD) application client ID
  • MS_CONFIG_DIR required 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)

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account mindstone, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Chat & emaili

  • More stars than 0% of the other 1772 servers in this category
  • Published to the registry more recently than 98% of the other 1772 servers in this category
  • Basic checks equal to or better than 100% of the other 1772 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Microsoft 365 Mail safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: MS_CLIENT_ID, MS_CONFIG_DIR

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.4.1) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Vexa, emailmd, MCP WhatsApp Cloud

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Vexa

by Vexa-ai

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

Runs in the cloud★ 2,949Apache-2.0Updated 2 months ago
Install

emailmd

by anypost

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

Computer or cloud★ 1,385MITUpdated 31 days ago
Install

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

Runs on your computer★ 277MITUpdated 5 months ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

@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

Only the beginning is shown; read the rest in the repo

Ask PopNx