Skip to content
Gemini CLI

M365 Graph MCP for Gemini CLI

work.mcps/m365-graph

Manage Microsoft 365 email, calendar, contacts and inbox rules via the Graph API with OAuth 2.0.

client:Gemini CLI transport:streamable-http

Install M365 Graph MCP in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "m365-graph": {
      "httpUrl": "https://mcps.work/mcp"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

M365 Graph MCP in other clients