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.
Install MCP onedrive sharepoint
Built from the published package, never by AI.
claude mcp add mcp-onedrive-sharepoint -- npx -y mcp-onedrive-sharepointRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install MCP onedrive sharepoint in Claude Code
{
"mcpServers": {
"mcp-onedrive-sharepoint": {
"args": [
"-y",
"mcp-onedrive-sharepoint"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install MCP onedrive sharepoint in Claude Desktop
{
"mcpServers": {
"mcp-onedrive-sharepoint": {
"args": [
"-y",
"mcp-onedrive-sharepoint"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-onedrive-sharepoint": {
"args": [
"-y",
"mcp-onedrive-sharepoint"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-onedrive-sharepoint -- npx -y mcp-onedrive-sharepoint{
"mcpServers": {
"mcp-onedrive-sharepoint": {
"args": [
"-y",
"mcp-onedrive-sharepoint"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install MCP onedrive sharepoint in Antigravity CLI
gemini mcp add mcp-onedrive-sharepoint npx -y mcp-onedrive-sharepointGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
ANo 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 →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.
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.
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.
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.
pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.
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.
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.
