Onedrive MCP
MCP server by joescars Verified · npm:@joescars
Onedrive MCP searches, inspects, and downloads files from a personal Microsoft OneDrive account for AI assistants. It is read-only and aimed at users of personal Microsoft accounts and consumer OneDrive.
Install Onedrive MCP
Built from the published package, never by AI.
claude mcp add onedrive-mcp -- npx -y @joescars/onedrive-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"onedrive-mcp": {
"args": [
"-y",
"@joescars/onedrive-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"onedrive-mcp": {
"args": [
"-y",
"@joescars/onedrive-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"onedrive-mcp": {
"args": [
"-y",
"@joescars/onedrive-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add onedrive-mcp -- npx -y @joescars/onedrive-mcp{
"mcpServers": {
"onedrive-mcp": {
"args": [
"-y",
"@joescars/onedrive-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add onedrive-mcp npx -y @joescars/onedrive-mcpGemini 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 onedrive-mcp block.
About
Onedrive MCP is a local Model Context Protocol server for searching, inspecting, and downloading files from a personal Microsoft OneDrive account. It provides five read-style tools and only makes HTTP GET requests to Microsoft Graph, so it cannot upload, edit, rename, move, or delete OneDrive content. Downloads are saved to the local machine, and existing files are never overwritten.
The server is installed with npx, which runs the matching Python package through Astral uv. Each user supplies their own Microsoft Entra application client ID and signs in with Microsoft's device-code flow. The project is intended for personal Microsoft accounts and consumer OneDrive, not OneDrive for Business or SharePoint.
Written from the project's README and checked against it.
Tools it gives your assistant
search_onedriveSearches by file name or indexed content, one page at a time.list_folderLists a folder's children with bounded pagination.get_item_metadataInspects metadata for a file or folder.download_fileDownloads a file locally without overwriting an existing file.get_drive_infoReads drive, owner, and quota information.
What you need
- A personal Microsoft account
- A Microsoft Entra app registration with its own client ID
- Node.js 18 or newer
- Astral uv
- Linux is the supported production platform
Try asking
- Search my OneDrive for files about the 2024 budget.
- List the files in my /Documents folder.
- Download /Documents/report.pdf to my local machine.
Good to know
- Read-only: it cannot upload, edit, rename, move, or delete files.
- Targets personal Microsoft accounts; OneDrive for Business and SharePoint are outside default scope.
- Linux is the supported production platform; Windows is for development only.
- The token cache is not encrypted.
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 Onedrive MCP
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
Onedrive MCP: common questions
Can this MCP server change or delete files in OneDrive?
No. The server is read-only, exposes five read-style tools, and only makes HTTP GET requests to Microsoft Graph.
Does Onedrive MCP work with OneDrive for Business or SharePoint?
The source says these are outside the project's default scope. It targets personal Microsoft accounts and consumer OneDrive.
Which operating systems are supported?
Linux is the supported production platform. Windows and other non-POSIX systems are for development only, because POSIX file modes do not establish Windows ACLs.
How do I install Onedrive MCP?
In Claude Code run claude mcp add onedrive-mcp -- npx -y @joescars/onedrive-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Onedrive MCP the official server?
Onedrive MCP is published by npm:@joescars from its verified domain in the official MCP Registry.
Is Onedrive MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Onedrive MCP safe to use?
It scores 64 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 Onedrive MCP?
Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.
Does Onedrive MCP 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.
