# One drive

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 2146 installs
- Author: one_drive
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/one_drive
- Updated: 2025-11-19
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/one-drive

## What it 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.

## Requirements
- Remote server: `https://one_drive.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http one-drive https://one_drive.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add one-drive --url https://one_drive.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "one-drive": {
            "url": "https://one_drive.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "one-drive": {
            "type": "http",
            "url": "https://one_drive.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http one-drive https://one_drive.run.tools
```

## When to use it
- 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
- 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.

## Similar
- [Google Drive](https://affpapa.org/en/nevibecode/mcp/googledrive-google-drive.md) — MCP server · 8102 installs
- [one-drive-automation](https://affpapa.org/en/nevibecode/skills/one-drive-automation.md) — skill · ★ 3785 repo stars
- [cloudflare-one](https://affpapa.org/en/nevibecode/skills/cloudflare-one.md) — skill · 111600 installs
- [cloudflare-one-migrations](https://affpapa.org/en/nevibecode/skills/cloudflare-one-migrations.md) — skill · 107100 installs
- [gws-drive](https://affpapa.org/en/nevibecode/skills/gws-drive.md) — skill · 77700 installs
- [keeping-one-source-of-truth](https://affpapa.org/en/nevibecode/skills/keeping-one-source-of-truth.md) — skill · 25600 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
