Read and write local files with configurable access controls.
- Home
- Top MCPs for Filesystem & Storage
- OneDrive & SharePoint
OneDrive & SharePoint
Search, read, and write OneDrive and SharePoint files from an AI agent — official Microsoft remote MCP.
Quick answer
What it does
Exposes Microsoft Graph OneDrive and SharePoint file operations as MCP tools that are auto-discovered from the ODSP endpoint — list and search drives, read and write files, navigate sites and document libraries, and run cross-content search across the tenant.
Best for
- Microsoft 365 file search across OneDrive + SharePoint
- Reading a SharePoint document into the agent's context
- Writing generated files to a user's OneDrive
- Tenant-scoped, Entra-enforced installs
Not for
- Non-Microsoft-365 tenants
- Clients without remote-MCP support
Setup recipe
- 1
Install
No install snippet available yet — see the project’s README for setup instructions.
- 2
Set required secrets
No credentials required — this MCP runs over stdio without authentication.
- 3
Try a minimum working prompt
Summarise a SharePoint document into a Teams-ready brief
Search SharePoint for the most recent file named "Q4 launch plan" in the Marketing site, read it, and return a 5-bullet summary I can paste into a Teams channel.Tested with: VS Code.
Tools & permissions
Tools list pending verification. The server exposes tools over MCP; we haven’t yet parsed its capability manifest into this page. Check the GitHub repo for the authoritative list.
Security & scope
- Access scope
- Read + write
- Sandbox
- Hosted by Microsoft and authenticated via Microsoft Entra. The agent's scope equals the calling user's OneDrive and SharePoint permissions inside the tenant. Conditional-access policies apply.
- Gotchas
- The remote URL embeds the tenant ID — sharing a configured install bundle leaks tenant identity; use the install button rather than passing a raw URL.
- Auto-discovered tools mean the available surface changes as Microsoft ships new Graph capabilities — review the latest tool list before relying on a specific call in an automation.
Agent prompt pack
— copy into Claude, Cursor, or ChatGPT.Recommend the best MCP servers for [task: e.g. filesystem & storage work] in [client: VS Code]. Constraints: - Prefer tools that are [official | open-source | read-only] — pick what matters for my use case. - Exclude MCPs that require [e.g. a paid plan, OAuth-only flows, remote-only transport]. - Return at most 3 picks, ranked. For each pick include: 1. One-sentence rationale. 2. The ready-to-paste install snippet for my client. 3. Any required secrets I need to create before installing. Cross-check the top-mcps.com listing: https://top-mcps.com/top-mcps-for-filesystem-storage
Compare OneDrive & SharePoint MCP vs [Box MCP] for the following job: [describe the job, e.g. "let an agent create GitHub issues on bug triage"]. Judge them on: - Setup time and complexity (what a new user hits first). - Auth model (none / API key / OAuth 2.1) and credential risk. - Transport (stdio / Streamable HTTP / SSE) and where the server runs. - Required secrets and the blast radius if they leak. - Operational risk in an unattended agent loop. - Which one is "good enough" for a weekend prototype vs. production. End with one sentence: which should I pick for my scenario, which is: [my scenario]. References: - https://top-mcps.com/mcp/onedrive - top-mcps.com listing for Box
Install the OneDrive & SharePoint MCP server for my [client: VS Code] at the default config path for that client. Use the exact install snippet published at https://top-mcps.com/mcp/onedrive (fetch https://top-mcps.com/mcp/onedrive.json for the canonical server.json if you can read URLs). Before finishing: 1. Create the required secrets (no secrets) and put them in the appropriate env block — do not hard-code them. 2. Restart or reload the client so it picks up the new server. 3. Verify the server is connected (green / running state) and at least one tool is listed. 4. If anything fails, read the client's MCP logs and report the exact error — do not silently retry. Confirm when done and list the tools the server now exposes.
Frequently asked questions
What changed
— 2 updates tracked.Refreshed install snippets and fact sheet; verified for 2026.
Initial directory listing.
More Filesystem & Storage MCPs
Other tools in the same category worth evaluating.
Read, write, and search across Notion pages, databases, and blocks.
Manage Workers, R2 buckets, DNS, and edge policies on Cloudflare.
Compared with OneDrive & SharePoint
Side-by-side breakdowns for the choices people most often weigh against this MCP.
Exploring Top MCPs for Filesystem & Storage? See all Filesystem & Storage MCPs →
