
Ms Onedrive Mcp
Let your coding agent list, read, and manage OneDrive files and folders without leaving the chat.
Overview
ms-onedrive-mcp is a MCP server for the Build phase that browses, reads, and manages OneDrive files and folders through Microsoft Graph.
What is this MCP server?
- Browse OneDrive folders and files through Microsoft Graph from any MCP-capable agent
- Read and manage cloud files without building a custom Graph client in your repo
- Stdio npm transport (ms-onedrive-mcp v1.0.1) for Claude Code, Cursor, and similar hosts
- One-time `npx -y ms-onedrive-mcp login` flow caches refresh token after Entra sign-in
- Requires MICROSOFT_CLIENT_ID for a public client Entra app you register
- Published server version 1.0.1 on npm identifier ms-onedrive-mcp
- Stdio transport; 1 documented environment variable (MICROSOFT_CLIENT_ID)
- Repository source: github.com/0xka13b/microsoft-mcps
What problem does it solve?
Agents cannot see OneDrive content unless you paste paths, download files manually, or maintain a bespoke Graph integration.
Who is it for?
Solo builders on Microsoft 365 who want agents to read or organize OneDrive docs during build and docs workflows.
Skip if: Teams on Google Drive only, air-gapped repos with no cloud sign-in, or builders who need SharePoint sites and lists instead of personal drives.
What do I get? / Deliverables
After you register the MCP server and complete login, your agent can query and manage OneDrive assets in natural-language workflows.
- Cached Microsoft refresh token after one-time package login
- Agent-callable OneDrive browse, read, and manage operations via Graph
- Repeatable MCP stdio integration in your agent configuration
Recommended MCP Servers
Journey fit
Cloud file access is wired during product build when agents need live documents, assets, or shared specs from Microsoft 365. OneDrive is an external Microsoft Graph integration, not app UI—integrations is the canonical shelf for MCP connectors.
How it compares
MCP Graph connector for OneDrive, not a local filesystem skill or a full Microsoft 365 admin toolkit.
Common Questions / FAQ
Who is ms-onedrive-mcp for?
Indie developers and small teams using Claude Code, Cursor, or other MCP hosts who store specs and assets in OneDrive and want agent access via Graph.
When should I use ms-onedrive-mcp?
Use it during build or docs work when an agent must list folders, open file contents, or perform allowed file operations without you switching to the browser.
How do I add ms-onedrive-mcp to my agent?
Add the npm stdio server ms-onedrive-mcp to your host MCP config, set MICROSOFT_CLIENT_ID, run `npx -y ms-onedrive-mcp login` once, then restart the agent.