mcpbeat Sign in

Microsoft 365 Files MCP Server

local only

Microsoft 365 Files runs on your own machine — the client starts it, so there is no endpoint to ping. 75 installs a week from npm. Last commit 2 Nov 2026.

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

Installs per day peak 25 · avg 9 · +63% w/w
a month agotoday
75
Installs / week
npm · @mindstone/mcp-server-microsoft-files
14
Stars
2 open issues
2 Nov 2026
Last commit
2 releases in 90 days
FSL-1.1-MIT
License
TypeScript

What the code does

We read the source, 22 h ago · rules 995398eba69f

A tool parameter reaches a dangerous call

A value the model can set ends up inside a file or shell call. That is not a flaw by itself — for a terminal server it is the job — but it is where things go wrong when it is not.

A tool parameter reaches a file or shell call replace_workspace_document.document_id → connectors/pandadoc/src/tools/documents.ts:891
          fs.writeFileSync(outFd, pdfBuffer);
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs an external command connectors/office/src/index.ts:403
    const child = spawn(process.execPath, [script], {
  if (isUnder(resolvedAbs, sshDir)) return { hit: true, reason: '~/.ssh/** is sensitive' };
Page loads a third-party script connectors/office/src/addin/taskpane.html:10
  <script src="https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js"></script>
    const entries = fs.readdirSync(workspacePath, { withFileTypes: true });

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

A tool parameter here reaches a dangerous call

That is not a flaw by itself — but it is where things go wrong when it is not the job. We re-read this code on every release. Watch it and you hear from us the day another one appears.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mcp-server-microsoft-files -e 'MS_CLIENT_ID=<MS_CLIENT_ID>' -e 'MS_CONFIG_DIR=<MS_CONFIG_DIR>' -- npx -y @mindstone/mcp-server-microsoft-files
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-microsoft-files": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-files"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_CONFIG_DIR": "<MS_CONFIG_DIR>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-server-microsoft-files]
command = "npx"
args = ["-y", "@mindstone/mcp-server-microsoft-files"]
env = { MS_CLIENT_ID = "<MS_CLIENT_ID>", MS_CONFIG_DIR = "<MS_CONFIG_DIR>" }
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-microsoft-files": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-files"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_CONFIG_DIR": "<MS_CONFIG_DIR>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "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>"
      }
    }
  }
}

Put your own values in place of <MS_CLIENT_ID> (Microsoft Entra (Azure AD) application client ID), <MS_CONFIG_DIR> (Path to the per-user Microsoft config directory (credentials/, accounts.json)). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: MS_ACCOUNT_EMAIL (Account email when running in multi-account per-instance mode (falls back to the first account in accounts.json)), MS_MCP_PACKAGE_ID (Logical package ID surfaced in error responses), MICROSOFT_REQUEST_TIMEOUT_MS (Override the upstream Microsoft Graph request timeout in milliseconds (max 300000 = 5 min)).

Alternatives to Microsoft 365 Files

same job, measured the same way
MCP Outlook
by dockndevai

Outlook mail and OneDrive files via Microsoft Graph — read, search, send and organize.

121 installs/wk local only
Driveport
by cloudcorprecords

Google Drive files: search, list, read, upload, download, folders and trash, as MCP tools.

local only
Google Drive MCP
by a1-x-tech

MCP server for the Google Drive API: search, upload, download, organize and share files.

94 installs/wk local only
Ms Onedrive MCP
by 0xka13b

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

64 installs/wk local only
NAVER MYBOX
by java-jaydev

List, search, download and upload files in a NAVER MYBOX (네이버 마이박스) cloud drive.

87 installs/wk local only
Google Drive
by domdomegg

Allow AI systems to list, search, upload, download, and manage files and folders in Google Drive.

346 installs/wk local only
Onedrive
by pipeworx-io

OneDrive (Microsoft Graph) MCP Pack

346 installs/wk 50 tools answering
Gogcli MCP Drive
by chrischall

Google Drive via gogcli for Claude — search, upload, download, permissions

548 installs/wk local only

Microsoft 365 Files — questions

Answers built from our own checks of this server.

Why is there no uptime for Microsoft 365 Files?
Microsoft 365 Files runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @mindstone/mcp-server-microsoft-files was installed 75 times last week.
How do I connect Microsoft 365 Files?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @mindstone/mcp-server-microsoft-files straight from npm; nothing to host, nothing to sign up for.
How many people use Microsoft 365 Files?
The npm package @mindstone/mcp-server-microsoft-files was installed 75 times in the last week. Week over week that is +63%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Microsoft 365 Files open source?
No, and the distinction matters: its licence is declared as FSL-1.1-MIT. That makes it source-available — you can read the code, but the terms are the author's own, not one of the recognised open-source licences. Read them before you build on it.