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

MCP onedrive sharepoint

MCP server by ftaricano Verified · gh:ftaricano

Gives AI agents and shell scripts access to OneDrive and SharePoint document libraries through Microsoft Graph. It ships a core set of ten tools and uses app-only authentication.

  • Score 57
  • 9 stars
  • MIT
  • Updated

Install MCP onedrive sharepoint

Built from the published package, never by AI.

claude mcp add mcp-onedrive-sharepoint -- npx -y mcp-onedrive-sharepoint

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

Step-by-step: install MCP onedrive sharepoint 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 mcp-onedrive-sharepoint block.

About

The MCP OneDrive/SharePoint Server gives AI agents access to OneDrive and SharePoint document libraries through Microsoft Graph. It exposes a core set of ten tools for listing, searching, downloading, uploading and creating folders. A matching ods CLI runs the same tools from a terminal, and tool results are JSON, so they can be piped into jq.

It authenticates as an app with MSAL client credentials and keeps tokens in memory. Request URLs are checked against graph.microsoft.com before the token is attached, and local file access is limited to one root directory. Delete, share, permission and raw Graph tools are opt-in through the full profile. It suits teams automating document workflows with AI agents or shell scripts.

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

Tools it gives your assistant

  • health_checkChecks authentication and Graph connectivity.
  • list_drivesLists accessible drives, covering OneDrive and SharePoint document libraries.
  • discover_sitesSearches SharePoint sites visible to the app.
  • resolve_siteResolves a site from an alias, siteId or site URL.
  • list_filesLists files and folders in a drive path, with pagination.
  • search_filesSearches files and folders in a drive, with pagination.
  • get_file_metadataGets metadata, and optionally versions, for a file or folder.
  • download_fileDownloads a file, optionally writing it to a local path.
  • upload_fileUploads a local file to a drive path with a conflict behavior setting.
  • create_folderCreates a folder in a drive.

What you need

  • Node.js 20+
  • Microsoft Entra ID app registration with Files.ReadWrite.All and Sites.ReadWrite.All application permissions
  • Admin consent for the app permissions
  • Tenant ID, client ID and client secret set as environment variables

Try asking

  • List the files in the /Reports folder of the Acme SharePoint site.
  • Search my OneDrive for files that mention the Q2 budget.
  • Upload report.txt to the Documents folder in the Acme drive.

Good to know

  • Default core profile exposes only ten tools; delete, share and permission tools need the full profile.
  • Upload with single-attempt policy only supports simple uploads under 4 MiB.
  • Uses app-only authentication; the ods auth command exits because delegated token persistence is disabled.
  • batch_operations is not in either profile and is a raw Graph escape hatch behind an experimental flag.

Security check

A

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

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

Alternatives to MCP onedrive sharepoint

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

MCP onedrive sharepoint: common questions

Does it need a Microsoft 365 account?

It needs a Microsoft Entra ID app registration with application permissions and admin consent, plus a tenant ID, client ID and client secret. The tenant must be a specific UUID, not common.

Can it delete files?

Delete tools such as delete_item are not in the default core profile. They are available only when MCP_TOOL_PROFILE is set to full.

How does it protect the access token?

Requests are checked against https://graph.microsoft.com before the token is attached. Tokens are kept in memory and nothing is written to disk.

How do I install MCP onedrive sharepoint?

In Claude Code run claude mcp add mcp-onedrive-sharepoint -- npx -y mcp-onedrive-sharepoint. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is MCP onedrive sharepoint the official server?

MCP onedrive sharepoint is published by gh:ftaricano from its verified domain in the official MCP Registry.

Is MCP onedrive sharepoint free?

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

Is MCP onedrive sharepoint safe to use?

It scores 57 of 100. Grades: maintenance A, licence A, 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 MCP onedrive sharepoint?

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

Does MCP onedrive sharepoint 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.

MCP onedrive sharepoint Install

Add to stack

Loading.