Skip to main content

Microsoft 365 Mail

io.github.mindstone/mcp-server-microsoft-mail

v0.4.3Updated Nov 22, 2026stdio · npm

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

Install

Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add mcp-server-microsoft-mail -e 'MS_CLIENT_ID=<your-ms-client-id>' -e 'MS_CONFIG_DIR=<your-ms-config-dir>' -e MS_MCP_PACKAGE_ID=Microsoft365Mail -e MICROSOFT_REQUEST_TIMEOUT_MS=60000 -- npx -y @mindstone/[email protected]

Configuration

6 settings.

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

Listed in the official MCP Registry since Nov 22, 2026. Mirrored daily; last checked Nov 26, 2026.