Microsoft 365 Files MCP Server

Microsoft 365 OneDrive Files MCP server - list, search, get, download, upload, delete, move, copy, share files, manage sharing permissions and version history, review file activity, and read text and Office document contents via the Microsoft Graph API. Its 20 documented tools cover file, files.

People connecting productivity tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

One of 41 MCP servers published from mindstone/mcp-servers. Stars and repository activity are shared across all of them. See all 41 →

VERIFIED ACTIVE

LAST COMMIT 2026-08-19 · VERIFIED 2026-08-25

NOASSERTION · TypeScript servers · how we verify → /methodology

01 · Install Microsoft 365 Files

before you install - you'll need

Set MS_CLIENT_ID, MS_CONFIG_DIR, MS_MCP_PACKAGE_ID, MICROSOFT_REQUEST_TIMEOUT_MS before connecting.

Claude Code

claude mcp add mindstone-mcp-servers-connectors-microso -- npx -y @mindstone/mcp-server-microsoft-files

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "mindstone-mcp-servers-connectors-microso": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-files"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license no standard license detected - usage rights unclear; check the repo before commercial use

npm package @mindstone/mcp-server-microsoft-files - published under the repo owner's npm scope (@mindstone)

registry namespace io.github.mindstone is GitHub-verified and matches the repo owner

03 · What Microsoft 365 Files can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can list files and folders in OneDrive (root by default), get metadata for a specific file or folder, get a short-lived download URL for a file, and search for files in OneDrive by name or content.

Capability map

Tools grouped from the project's README - what Microsoft 365 Files lets an agent do.

File

14 tools - e.g. Get metadata for a specific file or folder.; Get a short-lived download URL for a file.; Upload a file to OneDrive (text up to 4 MB; binary as base64 up to 10 MB via a resumable upload session).

get_file · download_file · upload_file · delete_file · move_file · copy_file…

read & search

3 tools - e.g. List recently accessed files.; List files shared with you by others.; Extract the text of a Word (.docx) or PowerPoint (.pptx) file directly.

get_recent · get_shared · read_document

Files

2 tools - e.g. List files and folders in OneDrive (root by default).; Search for files in OneDrive by name or content.

list_files · search_files

create & write

1 tool - e.g. Create a new folder in OneDrive.

create_folder

04 · Who maintains Microsoft 365 Files

Microsoft 365 Files is maintained by mindstone. We track 41 MCP servers from mindstone - 41 actively maintained, 10 combined GitHub stars, oldest repo from Apr 2026. Full record: all servers from mindstone.

  1. OpenAI Image OpenAI image generation MCP server for Model Context Protocol hosts ★ 10
  2. Google Workspace Google Workspace MCP server for Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, and more ★ 10
  3. Slack Slack MCP server: channels, messages, threads, reactions, users, files, and scheduled messages ★ 10
  4. HubSpot HubSpot CRM: contacts, deals, tickets, line items, properties, marketing, files, workflows, threads ★ 10
  5. Gamma Gamma AI presentation generation MCP server for Model Context Protocol hosts ★ 10
  6. Browser Automation Browser automation MCP server: navigate, fill forms, click, screenshot, and manage tabs ★ 10

05 · Facts

category
productivity - actively maintained as of 2026-08-25.
registry
io.github.mindstone/mcp-server-microsoft-files (active, first published 2026-05-21 · 4 versions)
packages
npm:@mindstone/mcp-server-microsoft-files

06 · Microsoft 365 Files FAQ

Is Microsoft 365 Files still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-19. We re-verify nightly.

What can Microsoft 365 Files do?

With this server connected, an agent can list files and folders in OneDrive (root by default), get metadata for a specific file or folder, get a short-lived download URL for a file, and search for files in OneDrive by name or content.

How do I install Microsoft 365 Files?

Run `npx -y @mindstone/mcp-server-microsoft-files`. The README documents 4 environment variables (MS_CLIENT_ID, MS_CONFIG_DIR, MS_MCP_PACKAGE_ID…) to set first. Set MS_CLIENT_ID, MS_CONFIG_DIR, MS_MCP_PACKAGE_ID, MICROSOFT_REQUEST_TIMEOUT_MS before connecting. You can also paste the ready-made client config above.

Does Microsoft 365 Files run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Microsoft 365 Files