OneDrive for your AI agent

Give Claude Code, Cursor, Codex or your own agent OneDrive through one MCP URL and one key. Your team signs in to OneDrive once and the agent never holds a token. Reads run at once; anything that changes OneDrive waits for your approval.

101
OneDrive actions your agent gets as tools
1 URL
one endpoint, one key per agent
60/min
calls per key, hard caps on top
0
OneDrive credentials inside your agent

Actions

What your agent can do in OneDrive

A sample of the 101 actions. Your agent sees the full list with tools/list.

Reads · run at once

  • Download a file
  • Download file by path
  • Download item as format
  • Download Item Thumbnail
  • Download Drive Item Version Content
  • Download Thumbnail by Path
  • Get document comments
  • Get Drive

Writes · wait for your approval

  • Add Workbook Worksheet
  • Calculate Workbook
  • Check In Drive Item
  • Checkout Drive Item
  • Clear Workbook Range
  • Close Workbook Session
  • Copy Item
  • Create Drive Item Permission

Quickstart

Connect OneDrive to your agent in two minutes

  1. Create your account and connect OneDrive with its normal sign-in page.
  2. Open Developers and create an agent key (you can limit it to OneDrive).
  3. Add the server to your client:

Claude Code · Terminal

claude mcp add --transport http vellarin https://hub.vellarin.ai/api/hub/mcp --header "Authorization: Bearer <key>"

Cursor · ~/.cursor/mcp.json (or .cursor/mcp.json in a project)

{
  "mcpServers": {
    "vellarin": {
      "url": "https://hub.vellarin.ai/api/hub/mcp",
      "headers": {
        "Authorization": "Bearer ${env:VELLARIN_HUB_KEY}"
      }
    }
  }
}

Codex · ~/.codex/config.toml

[mcp_servers.vellarin]
url = "https://hub.vellarin.ai/api/hub/mcp"
bearer_token_env_var = "VELLARIN_HUB_KEY"

Questions

OneDrive and AI agents

How do I connect OneDrive to Claude Code, Cursor or Codex?

Create a free Vellarin account, connect OneDrive with its normal sign-in, create an agent key on the Developers page and add the Vellarin Hub MCP server to your client with one line. Your agent then sees the OneDrive actions as tools.

Can my agent change things in OneDrive without asking me?

No. Read actions run at once. Any action that sends, creates, changes or deletes something in OneDrive waits for the workspace owner's approval and then runs exactly once.

Does my agent get my OneDrive password or token?

No. The sign-in lives on the server side. Your agent holds only a Vellarin Hub key, which you can scope to OneDrive alone, cap per day and per month, and revoke at any moment.

What does it cost?

Hub Free includes 500 app calls a month and 1 agent key, with no card. Over the cap the answer is "upgrade or wait", never a charge.

More apps behind the same key

All apps →

OneDrive is a trademark of its owner. Vellarin Hub is an independent product and is not affiliated with or endorsed by it.