Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Microsoft 365 Mail

local MCP server

Installation

Terminal

claude mcp add mcp-server-microsoft-mail -e MS_CLIENT_ID=... -e MS_CONFIG_DIR=... -e MS_ACCOUNT_EMAIL=... -e MS_MCP_PACKAGE_ID=... -e MICROSOFT_REQUEST_TIMEOUT_MS=... -e MCP_WORKSPACE_PATH=... -- npx -y @mindstone/mcp-server-microsoft-mail

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

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

Fill in the environment variables with your own credentials.

Summary

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

Questions

Microsoft 365 Mail is a local MCP server distributed as the npm package @mindstone/mcp-server-microsoft-mail.

Run: claude mcp add mcp-server-microsoft-mail -e MS_CLIENT_ID=... -e MS_CONFIG_DIR=... -e MS_ACCOUNT_EMAIL=... -e MS_MCP_PACKAGE_ID=... -e MICROSOFT_REQUEST_TIMEOUT_MS=... -e MCP_WORKSPACE_PATH=... -- npx -y @mindstone/mcp-server-microsoft-mail

Run: codex mcp add mcp-server-microsoft-mail --env MS_CLIENT_ID=... --env MS_CONFIG_DIR=... --env MS_ACCOUNT_EMAIL=... --env MS_MCP_PACKAGE_ID=... --env MICROSOFT_REQUEST_TIMEOUT_MS=... --env MCP_WORKSPACE_PATH=... -- npx -y @mindstone/mcp-server-microsoft-mail

Similar MCP servers

NameStars
  1. Microsoft 365 MCP Serverio.github.Softeria/ms-365-mcp-server998
  2. imap-mcp-serverio.github.nikolausm/imap-mcp-server97
  3. Reverieai.knowall/reverie70
  4. better-code-review-graphio.github.n24q02m/better-code-review-graph69
  5. outlook-mcpio.github.littlebearapps/outlook-mcp37
  6. iFlow Searchio.github.zhengyanglsun/iflow-search32
  7. codeseekerio.github.jghiringhelli/codeseeker20
  8. multi-gmail-mcpio.github.gx-55/multi-gmail-mcp19
Buy me a coffee