Skip to main content
MCP server CX Codex

One drive — Claude Code MCP server: features and setup

Give an agent tools to search OneDrive, manage files and folders, and inspect sharing permissions. Useful when cloud-drive tasks belong in an assistant workflow.

no license 2,146 installs updated 2025-11-19

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http one-drive https://one_drive.run.tools
Open on GitHub

What One drive does

The server lets an agent browse folders, search for files, inspect drive and item details, download content, and find byte-identical copies across folders. It can also create folders, copy or move items, rename them, and delete them.

Separate tools handle sharing: create a link, review current permissions, or revoke an anonymous grant. Copies run asynchronously, and the server can check their status. One limitation matters for fresh files: search indexing can take seconds or minutes to catch up, so an item may not appear right after it is created.

What it helps with

  • locate a file or folder in OneDrive
  • download a file and inspect its details
  • find identical copies across folders
  • create a sharing link for an item
  • review or revoke file permissions

Example prompts for the agent

  • Find the budget.xlsx file in my OneDrive.
  • Find byte-identical files and identify the copies marked for deletion.
  • Check who can access the Reports folder and revoke its anonymous link.

How to install One drive

Platform CLI: remote server

claude mcp add --transport http one-drive https://one_drive.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about One drive

How do I install One drive in Claude Code?

Run claude mcp add --transport http one-drive https://one_drive.run.tools to add the MCP server over HTTP.

What does One drive do?

It gives an agent tools to search and browse OneDrive files, download content, manage folders, and inspect sharing access.

Why might search miss a newly created file?

OneDrive search indexing can take seconds or minutes to reflect new items.

Similar MCP servers

MCP servers catalog →

Project sponsors

Companies that keep this analytics open