MSGraph MCP for Gemini CLI
io.github.timfurlong/msgraph-mcp
MCP server for Microsoft Graph: Outlook mail and calendar, plus read-only Microsoft Teams
client:Gemini CLI
transport:stdio
runtime:pypi
Install MSGraph MCP in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"msgraph-mcp": {
"command": "uvx",
"args": [
"msgraph-mcp-server"
],
"env": {
"MSGRAPH_MCP_CLIENT_ID": "<MSGRAPH_MCP_CLIENT_ID>",
"MSGRAPH_MCP_TENANT_ID": "<MSGRAPH_MCP_TENANT_ID>",
"MSGRAPH_MCP_TOKEN_CACHE_PATH": "<MSGRAPH_MCP_TOKEN_CACHE_PATH>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs