Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Microsoft 365 Files

local MCP server

Microsoft 365 Files is a local MCP server: Microsoft 365 OneDrive files via Graph: list, search, get, upload, download, share, read text. Install it from npm as @mindstone/mcp-server-microsoft-files.

Installation

Terminal

claude mcp add mcp-server-microsoft-files -e MS_CLIENT_ID=... -e MS_CONFIG_DIR=... -e MS_ACCOUNT_EMAIL=... -e MS_MCP_PACKAGE_ID=... -e MICROSOFT_REQUEST_TIMEOUT_MS=... -- npx -y @mindstone/mcp-server-microsoft-files

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

{
  "mcpServers": {
    "mcp-server-microsoft-files": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-files"
      ],
      "env": {
        "MS_CLIENT_ID": "...",
        "MS_CONFIG_DIR": "...",
        "MS_ACCOUNT_EMAIL": "...",
        "MS_MCP_PACKAGE_ID": "...",
        "MICROSOFT_REQUEST_TIMEOUT_MS": "..."
      }
    }
  }
}

Fill in the environment variables with your own credentials.

What you need

  • Runtime: Node.js 18+ (runs with npx).
  • MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
  • Environment variables: MS_CLIENT_ID, MS_CONFIG_DIR, MS_ACCOUNT_EMAIL, MS_MCP_PACKAGE_ID, MICROSOFT_REQUEST_TIMEOUT_MS

Summary

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

Microsoft 365 Files vs similar servers

ServerStarsTypeAPI keyRuntime
Microsoft 365 Files12LocalYesnpm
arxiv-mcp-server3,177LocalYespypi
Microsoft 365 MCP Server998LocalNonpm
akb161LocalYesnpm
mcp-microsoft-todo12LocalYesnpm

Questions

It reads 5 environment variables: MS_CLIENT_ID, MS_CONFIG_DIR, MS_ACCOUNT_EMAIL, MS_MCP_PACKAGE_ID, MICROSOFT_REQUEST_TIMEOUT_MS. Set them in your MCP config before starting the server.

Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.

Microsoft 365 Files is a local MCP server distributed as the npm package @mindstone/mcp-server-microsoft-files.

Run: claude mcp add mcp-server-microsoft-files -e MS_CLIENT_ID=... -e MS_CONFIG_DIR=... -e MS_ACCOUNT_EMAIL=... -e MS_MCP_PACKAGE_ID=... -e MICROSOFT_REQUEST_TIMEOUT_MS=... -- npx -y @mindstone/mcp-server-microsoft-files

Run: codex mcp add mcp-server-microsoft-files --env MS_CLIENT_ID=... --env MS_CONFIG_DIR=... --env MS_ACCOUNT_EMAIL=... --env MS_MCP_PACKAGE_ID=... --env MICROSOFT_REQUEST_TIMEOUT_MS=... -- npx -y @mindstone/mcp-server-microsoft-files

Similar MCP servers

NameStars
  1. arxiv-mcp-serverio.github.blazickjp/arxiv-mcp-server3,177
  2. Microsoft 365 MCP Serverio.github.Softeria/ms-365-mcp-server998
  3. akbio.github.dnotitia/akb161
  4. mcp-microsoft-todoio.github.MAG-Cie/mcp-microsoft-todo12
  5. Repomixio.github.yamadashy/repomix29K
  6. Firecrawl MCP Serverio.github.firecrawl/firecrawl-mcp-server7,526
  7. Agent-Native Assetsio.github.BuilderIO/agent-native-assets6,874
  8. braveai.smithery/brave1,477