Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Microsoft 365 Files

MCP server by mindstone Community

Microsoft 365 Files is an MCP server that lets an AI assistant list, search, upload, download, share, and read OneDrive files via Microsoft Graph. It is listed in Mindstone's source-available mcp-servers repository.

  • Score 58
  • 15 stars
  • NOASSERTION
  • Updated

Install Microsoft 365 Files

Built from the published package, never by AI.

claude mcp add microsoft-365-files -e MS_CLIENT_ID=YOUR_MS_CLIENT_ID -e MS_CONFIG_DIR=YOUR_MS_CONFIG_DIR -- npx -y @mindstone/mcp-server-microsoft-files

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Microsoft 365 Files in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the microsoft-365-files block.

About

Microsoft 365 Files is an MCP server from Mindstone that connects an AI assistant to OneDrive files through Microsoft Graph. According to the repository, it can list, search, upload, download, share, and read OneDrive files. It reuses the Microsoft 365 OAuth surface that the host application orchestrates, so sign-in is handled by the host rather than by the connector itself.

The server is one of the connectors in the mindstone/mcp-servers monorepo, which the repository describes as source-available MCP servers that work with any MCP host, including Claude Desktop, Cursor, and Rebel. It is aimed at users who want an AI assistant to work with files stored in their Microsoft 365 OneDrive. Each server builds on its own with npm install and npm run build.

Written from the project's README and checked against it.

Tools it gives your assistant

  • listLists OneDrive files.
  • searchSearches OneDrive files.
  • uploadUploads files to OneDrive.
  • downloadDownloads OneDrive files.
  • shareShares OneDrive files.
  • read textReads the text content of OneDrive files.

What you need

  • Microsoft 365 account with OneDrive
  • Host-orchestrated Microsoft 365 OAuth
  • Node.js and npm to build the server
SettingNeededWhat it is
MS_CLIENT_IDEnvironment variableRequiredMicrosoft Entra (Azure AD) application client ID
MS_CONFIG_DIREnvironment variableRequiredPath to the per-user Microsoft config directory (credentials/, accounts.json)
MS_ACCOUNT_EMAILEnvironment variableOptionalAccount email when running in multi-account per-instance mode (falls back to the first account in accounts.json)
MS_MCP_PACKAGE_IDEnvironment variableOptionalLogical package ID surfaced in error responses Default: Microsoft365Files
MICROSOFT_REQUEST_TIMEOUT_MSEnvironment variableOptionalOverride the upstream Microsoft Graph request timeout in milliseconds (max 300000 = 5 min) Default: 60000
MICROSOFT_RENEWAL_COORDINATOR_STATEEnvironment variableOptionalOptional host renewal coordinator state file containing its loopback port and bearer token

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • List my latest OneDrive files in the Projects folder.
  • Search OneDrive for the Q3 budget spreadsheet and show its details.
  • Download the contract draft from OneDrive and read its text for me.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Microsoft 365 Files

All alternatives →
MR Office XinaTian
98

Creates, opens, edits and exports Word, Excel, PowerPoint and PDF files through the MR Office MCP server. It suits AI assistants that need to work on real office documents, with the editor shown in chat when the client supports MCP Apps.

ACA Local and remote 5.8k
kordocchrisryugj
94

Parses Korean documents such as HWP, HWPX, PDF, XLSX, DOCX and PPTX into Markdown, and writes HWPX or HWP official documents from Markdown. It runs as a library, CLI, HTTP API or MCP server for AI assistants.

AAA Local 129k/wk
Desktop Commanderwonderwhy-er
94

Desktop Commander is an MCP server that lets an AI assistant run terminal commands, edit files and manage processes on your computer. It is for developers and users who want an assistant to work with local code and text.

AAA Local 1.4M/wk
MCP Linear tacticlaunch
94

Connects AI assistants to the Linear GraphQL API so they can manage projects, issues, and documents. Built for teams that want planning and project-management workflows in Linear, beyond basic issue CRUD.

AAB Local 69k/wk
Pptx Viewer MCP ChristopherVR
94

pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.

AAB Local 50k/wk
Dsh Plugin Reactive Resume amruthpillai
94

Reactive Resume is a free, open-source resume builder with an MCP server for document management, imports, exports, checks and job application workflows. It suits people who want to write and track resumes and keep their data under their own control. The source describes the app itself and does not describe the DeepSeek Harness connection.

AAA Local 46k

Compare with MR Office, kordoc or Desktop Commander

Microsoft 365 Files: common questions

Does Microsoft 365 Files need a Microsoft 365 account?

The repository says it uses the host-orchestrated Microsoft 365 OAuth surface and Microsoft Graph to reach OneDrive files. The source does not list further account requirements.

Which MCP hosts can use this server?

The repository says the mcp-servers connectors work with any MCP host and names Claude Desktop, Cursor, and Rebel as examples.

Is the source code available?

The repository describes its MCP servers, including this one, as source-available and hosted publicly on GitHub under the mindstone organization.

How do I install Microsoft 365 Files?

In Claude Code run claude mcp add microsoft-365-files -e MS_CLIENT_ID=YOUR_MS_CLIENT_ID -e MS_CONFIG_DIR=YOUR_MS_CONFIG_DIR -- npx -y @mindstone/mcp-server-microsoft-files. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Microsoft 365 Files the official server?

Microsoft 365 Files is a community project by mindstone, not verified by a company domain.

Is Microsoft 365 Files free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is Microsoft 365 Files safe to use?

It scores 58 of 100. Grades: maintenance A, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Microsoft 365 Files?

Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.

Does Microsoft 365 Files work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Microsoft 365 Files Install

Add to stack

Loading.