Skip to content

Microsoft 365 Mail for Grok

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

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

client:Grok transport:stdio runtime:npm

Install Microsoft 365 Mail in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

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

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Microsoft 365 Mail in other clients