Skip to content
Gemini CLI

ms onedrive mcp for Gemini CLI

io.github.0xka13b/ms-onedrive-mcp

Microsoft OneDrive MCP server — browse, read, and manage files and folders through Microsoft Graph.

client:Gemini CLI transport:stdio runtime:npm

Install ms onedrive mcp in Gemini CLI

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

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

{
  "mcpServers": {
    "ms-onedrive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ms-onedrive-mcp"
      ],
      "env": {
        "MICROSOFT_CLIENT_ID": "<MICROSOFT_CLIENT_ID>"
      }
    }
  }
}

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

ms onedrive mcp in other clients