Skip to content

Microsoft 365 Files for Grok

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

Microsoft 365 OneDrive files via Graph: list, search, get, upload, download, share, read text.

client:Grok transport:stdio runtime:npm

Install Microsoft 365 Files 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-files": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-files"
      ],
      "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>"
      }
    }
  }
}

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 Files in other clients