Free planRead every connected account, 100 reads a day, free forever.See pricing →

Workspace · MCP server

OneDrive MCP server

Read the client folder you choose.

MegaMCP is a hosted OneDrive MCP server that lets Claude, ChatGPT and Cursor read files in one enabled client folder and propose file renames that you approve.

Rolling outBuilt, and switching on as approvals land.What this meansRolling out means the code is built and the platform is still approving MegaMCP's app: Google, Meta, Microsoft and the one-click ad-platform sign-ins switch on as each approval lands.

Tools
4 reads, 1 write
Works with
Claude, ChatGPT, Cursor, Claude Code and VS Code
Price
Free to read, changes from $19/mo
OneDrive4 reads · 1 change
MegaMCPApproval gate
  • Claude
  • ChatGPT
  • Cursor

Live demo

Watch it work on OneDrive

Ask in plain English. Your AI reads OneDrive with real MegaMCP tools, then hands you a plan. Nothing moves until a person clicks Approve, and supported changes can be undone.

Tools in this example

  • onedrive_list_filesReads live data
  • onedrive_rename_fileProposes a change plan
See all 5 OneDrive tools
Claude · MegaMCP + OneDriveIllustrative demo
  1. You

    List this client folder's files and give the CSV a clearer name.

  2. Claude
    onedrive_list_filesDoneClients/Acmeonedrive_rename_fileWaiting for approvalplan ready

    The folder has 12 files. “export (3).csv” is last month's leads. Here's the rename.

    Rename a fileOneDrive · Clients/Acme1 change
    • Change: Nameexport (3).csvacme-leads-september.csv
    • Check passed: ETag check: stops if the file changed
  3. Claude

    Renamed.

What your AI can do

OneDrive MCP tools

Inspect, search and read supported text files inside one explicitly enabled Microsoft drive folder. This list comes straight from the running product: 4 read tools and 1 write tool.

Reads

Answer straight away. Nothing changes.

4 tools
  • Verified descendant metadata
  • Bounded folder listings and searches
  • Bounded UTF-8 text files

Changes you approve

Each one returns a plan with a diff. Nothing moves until a person approves.

1 tool
  • Reviewed file rename with ETag checks
  • Supported conditional rename reversal

OneDrive guardrail

Live parent checks enforce the chosen folder. Renames use atomic ETag checks; reads can race a concurrent file move. Uploads and sharing controls are unavailable.

Plus complete diff previews, human approvals and the flight recorder on every connection. Live changes require a paid plan.

All 5 OneDrive tools4 reads, 1 change · straight from the running product
What it doesTool idType
Inspect allowed fileonedrive_get_fileRead
List client folderonedrive_list_filesRead
Search client folderonedrive_search_filesRead
Read client text fileonedrive_read_text_fileRead
Propose file renameonedrive_rename_fileChange

Example prompts

OneDrive MCP prompts

Paste any of these into Claude, ChatGPT or Cursor once OneDrive is connected.

More OneDrive prompts
  1. “List this client folder's files.”

  2. “Read this CSV's text.”

  3. “Prepare a clearer file name for review.”

  4. “Search the folder for files with 'invoice' in the name.”

  5. “Inspect this file's size and last-modified date.”

  6. “Read this Markdown brief and summarize it.”

  7. “Rename this file to match our naming convention.”

  8. “Read this CSV export and total the spend column.”

Setup

OneDrive MCP setup in 3 steps

About two minutes for Claude, ChatGPT or Cursor. Nothing to install.

  1. Connect OneDrive

    Start a free workspace and open Connections. Microsoft Graph uses a separate file authorization from Microsoft Ads. Delegated file grants are broad at Microsoft; MegaMCP restricts tools to enabled client folders.

  2. Add MegaMCP to your AI app

    Every app uses the same server URL.

    MCP server URL
    https://megamcp.com/api/mcp
  3. Ask in plain English

    Try “List this client folder's files.” Reports answer straight away. Anything that changes OneDrive comes back as a plan for you to approve.

Safety

Hand AI the keys. Keep the brakes.

The same loop guards every MegaMCP connection: ask, see the diff, approve, undo.

Approval before every change

OneDrive write tools never touch OneDrive directly. They return a plan, and a person approves it in the dashboard, or in chat if an admin allows it.

Approval requestedOneDrive · 1 plan waitingDashboard · just now

A diff first

Every plan lists each change with its before and after values, so you see exactly what will move before it does.

Plan previewOneDrive1 change
  • Change: ValueBeforeAfter
  • Check passed: Checked again right before it applies

Undo for supported changes

Supported changes reverse through a separately reviewed undo plan. Anything that can't be undone is marked before you approve it.

Undo plan readyRestores the previous valuesReviewed like any other change

Receipts for everything

Platform checks stop stale edits, and the flight recorder logs every tool call, plan and approval, with who did it and from which AI app.

TimeEvent
09:14onedrive_get_file
09:15Plan created by Claude
09:16Approved by Ana

FAQ

OneDrive MCP server questions

Is there an official OneDrive MCP server?

Yes, with limits. As of October 2026, Microsoft offers SharePoint and OneDrive MCP servers through Agent 365, in preview for limited tenants. MegaMCP restricts tools to one enabled client folder and makes every rename a reviewed plan.

What is a OneDrive MCP server?

An MCP (Model Context Protocol) server lets AI assistants such as Claude, ChatGPT and Cursor use OneDrive through tools. MegaMCP's hosted OneDrive MCP server gives your assistant 4 read tools and 1 write tool for files in one enabled client folder, and every change waits for a human approval.

Does the OneDrive MCP server work with ChatGPT?

Yes. MegaMCP is a remote MCP server with OAuth sign-in, so one URL works in ChatGPT (as an app, with developer mode on), Claude (as a custom connector), Cursor, Claude Code and VS Code. Your AI app's own plan decides whether it can add custom MCP servers.

Can it make changes to my OneDrive account?

Yes, with your approval. It can propose file renames changes. Each one comes back as a plan with a line-by-line diff and waits for a human before anything moves. Live parent checks enforce the chosen folder. Renames use atomic ETag checks; reads can race a concurrent file move. Uploads and sharing controls are unavailable.

How do I connect OneDrive to Claude or ChatGPT?

Microsoft Graph uses a separate file authorization from Microsoft Ads. Delegated file grants are broad at Microsoft; MegaMCP restricts tools to enabled client folders. Operator app callback setup or a dedicated temporary token is required.

What does the OneDrive MCP server cost?

Reading OneDrive is free on MegaMCP's Free plan (100 reads a day, no card). Approved changes are included in every paid plan, from $19/month after a 5-day free trial, with unlimited runs and no credits. MegaMCP adds no markup: any subscription or API usage with the vendor stays between you and them.

Is my OneDrive data safe?

Your OneDrive credentials are encrypted at rest (AES-256-GCM) and bound to their connection, and MegaMCP never trains AI models on your data. Your AI only sees the accounts you switch on, members limited to certain clients only see those clients, and every tool call lands in the flight recorder.

5 days. On the house.

Put Mega to work. Your ad budget stays yours.

No credit card to start. Every workspace comes with a sandbox ad account, so you can watch the whole ask, diff, approve, undo loop before you connect anything real.

Get launch updates

New integrations, platform approvals, the occasional dark joke. One or two emails a month. Unsubscribe anytime.

Want early access? Join the waiting list →