# OneDrive MCP connector

Connect OneDrive to Elaichi and Claude, ChatGPT, Cursor, Microsoft Copilot, or any MCP client can browse your drives, search files and folders, read documents, and check who a file is shared with, all inside each person's own OneDrive access.

Source: https://elaichi.ai/connectors/onedrive/

## Facts

| | |
| --- | --- |
| Application | OneDrive |
| Category | Cloud Storage |
| AI tools | 20 |
| Authentication | Connects over OAuth |
| Bring your own OAuth app | Yes |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once OneDrive is connected

- List files added to the Contracts folder this week.
- Who has permissions on the FY25 Budget workbook?
- Search OneDrive for the latest vendor onboarding deck.

## Connect OneDrive in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick OneDrive.
2. Optionally set Share with, then press Connect.
3. Supply your own OneDrive app, then approve. OneDrive needs an OAuth app you register yourself, so bring its client ID and secret. One person does this once for the organization.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which OneDrive tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## OneDrive MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## OneDrive MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. In a terminal, run `claude mcp add` with the endpoint.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## OneDrive MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## OneDrive MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## OneDrive MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect OneDrive to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a OneDrive tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with OneDrive through Elaichi

### Find the right proposal before a call

Sales. Ask for the latest pricing deck or proposal for an account and get the file from OneDrive without hunting through folders. Pull the key points into your notes while the call is still fresh.

### Pull the answer out of a guide

Support. Search OneDrive for the setup guide or troubleshooting document a customer needs and read the relevant section back in plain language. Reply with the exact steps instead of a link to a folder.

### Check who can see a shared folder

Operations. Look up the sharing on a vendor contract or process document and see which people and links have access. Spot files that are shared wider than they should be before an audit does.

### Locate last quarter's spreadsheets fast

Finance. Search across OneDrive for budget files, invoices, and reconciliations by name or content and open the version you need. Summarize the totals from a spreadsheet without downloading it yourself.

### Gather onboarding documents for a new hire

HR. List the policy handbooks, benefits summaries, and forms sitting in the HR drive and pull together what a new starter needs. Confirm each file is current before sending it on.

### Read a contract clause on demand

Legal. Find a signed agreement in OneDrive by counterparty and have the renewal, termination, or liability clause read back to you. Compare the wording across several agreements in one sitting.

## Elaichi vs Zapier MCP vs Composio for OneDrive

All three can connect OneDrive to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over OneDrive tools | Allow or restrict single OneDrive tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per OneDrive call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect OneDrive to Claude?

First connect OneDrive in Elaichi, then in Claude go to Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. OneDrive connects over OAuth, but it needs an app registration created once inside your Microsoft account, so an administrator brings that client ID and secret to Elaichi a single time. After that, each person simply signs in to their Microsoft account in the browser and nobody else ever handles a key.

### Does OneDrive work with ChatGPT and Cursor as well as Claude?

Yes. Once OneDrive is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent. You connect OneDrive once and every client picks it up.

### What can an AI agent actually do with my OneDrive data?

With OneDrive connected, an agent can list your drives and folders, search files by name or content, open a document and read or summarize it, and download a file when you ask for it. It can also look up which people in your organization have access to a file and who the users in your OneDrive are. This connector reads from OneDrive; it does not create, edit, move, or delete files.

### Does connecting OneDrive give the AI access to every file in the company?

No. Every request to OneDrive runs as the person who signed in, so the agent can only see the drives, folders, and shared files that person can already open in OneDrive. Elaichi can narrow that further, for example limiting a team to search and read only, but it can never widen access beyond what OneDrive already grants.

### Can my team share one OneDrive connection?

Yes. One person sets up the OneDrive connection in Elaichi, including the one-time app registration, and shares it with a team so nobody else handles a client ID or secret. Each teammate still signs in to OneDrive as themselves, so their access stays their own and the audit log names the actual person behind every file opened.

### Can I stop an agent from deleting or changing things in OneDrive?

This OneDrive connector only browses, searches, reads, and downloads, so there are no delete or edit actions for an agent to reach in the first place. On top of that, Elaichi restrictions work per action, so you can also switch off downloads or permission lookups for a given role. A restricted action still appears in Elaichi's tool search, flagged as restricted, but Claude, ChatGPT, Cursor or Microsoft Copilot cannot run it, whatever the prompt says.

### What happens to a OneDrive connection when someone leaves?

When you offboard a person in Elaichi, their access to OneDrive through every connected client ends immediately. A shared OneDrive connection keeps working for everyone else on the team. If you ever want to remove OneDrive entirely, disconnecting it once in Elaichi removes it from Claude, ChatGPT, Cursor, Microsoft Copilot, and every other client at the same time.

### Does the OneDrive MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. OneDrive is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for OneDrive?

Yes. Both let Claude, ChatGPT or Cursor use OneDrive. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every OneDrive call.

### How is Elaichi different from Composio for OneDrive?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to OneDrive: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 20 OneDrive tools

Every tool below is callable through https://api.elaichi.ai/mcp once OneDrive is connected, subject to the toolbox it is in and the restrictions on the caller.

- **List all OneDrive me** (List). Retrieves the profile information of the currently authenticated user, including their ID, name, email, and userPrincipalName
- **List all OneDrive drives** (List). List drives for a user in OneDrive. Requires user_id. Returns id, driveType, name, and owner with user id and displayName for each drive.
- **Get single OneDrive drive by ID** (Get). Get a drive by id in OneDrive. Returns id, driveType, owner user id and displayName, and quota details including deleted, fileCount, remaining, state, and total.
- **List all OneDrive drive items** (List). List DriveItem by drive_id and item_id in OneDrive. Returns an array of driveItem objects including name, size, and folder childCount if applicable.
- **Get single OneDrive drive item by ID** (Get). Get metadata for a specific DriveItem by id in OneDrive using drive_id and id. Returns fields like createdBy, createdDateTime, cTag, eTag, folder childCount, id, lastModifiedBy, lastModifiedDateTime, name, size, and webUrl.
- **OneDrive drive items download** (Download). Internal download-passthrough helper: fetches a pre-signed file URL (from a drive item's @microsoft.graph.downloadUrl) via truto_base and truto_path. Not intended for direct agent use — to download a file's content, use the drive item content download tool (get by file id) instead.
- **List all OneDrive search** (List). Run a search query in OneDrive with a JSON body containing requests specifying entityTypes, contentSources, region, query, from, size, and fields. Returns search terms, hits with hitId, rank, summary, and resource details.
- **Get single OneDrive drive item content download by ID** (Get). Download the contents of a DriveItem file in OneDrive using id. Returns a 302 redirect to a pre-authenticated download URL in the Location header.
- **List all OneDrive drive item permissions** (List). List effective sharing permissions on a DriveItem in OneDrive by id. Returns permissions including roles, link details, grantedTo user info, and inheritedFrom ancestor reference.
- **List all OneDrive users** (List). List users in OneDrive. Returns user properties including businessPhones, displayName, givenName, id, jobTitle, mail, mobilePhone, officeLocation, preferredLanguage, surname, and userPrincipalName. NOTE: Microsoft Graph directory endpoints only accept $-prefixed OData parameters, which cannot be passed through MCP tools — server-side select/filter/search are unavailable here; list users and filter client-side.
- **Get single OneDrive user by ID** (Get). Get information about a specific user in OneDrive. Requires id. Returns default user properties including businessPhones, displayName, givenName, id, jobTitle, mail, mobilePhone, officeLocation, preferredLanguage, surname, and userPrincipalName. NOTE: Microsoft Graph directory endpoints only accept $-prefixed OData parameters, which cannot be passed through MCP tools — server-side select/filter/search are unavailable here; list users and filter client-side.
- **List all OneDrive search drive items** (List). Search DriveItems in OneDrive root drive using query q. Returns matching DriveItems with id, name, folder info, and searchResult.onClickTelemetryUrl fields.
- **List all OneDrive root** (List). Get metadata for the root DriveItem in OneDrive. Returns fields including id, name, size, createdBy, lastModifiedBy, createdDateTime, lastModifiedDateTime, folder childCount, and webUrl.
- **List all OneDrive subscriptions** (List). List active Microsoft Graph subscriptions in OneDrive. Returns: id, applicationId, changeType, clientState, creatorId, encryptionCertificate, encryptionCertificateId, expirationDateTime, includeResourceData, latestSupportedTlsVersion, lifecycleNotificationUrl, notificationQueryOptions, notificationUrl, notificationUrlAppId, resource.
- **Get single OneDrive subscription by ID** (Get). Get a Microsoft Graph change-notification subscription by id. The id must be the subscription GUID returned by subscriptions.list or subscriptions.create - it is NOT a site, drive, list or item id. Passing anything else returns 400 "SubscriptionId Guid format is invalid or contained all zeros". Required: id.
- **Create a OneDrive subscription** (Create). Create a Microsoft Graph subscription to receive change notifications when OneDrive data changes. Returns the created subscription including id, changeType, resource, notificationUrl, and expirationDateTime. Required: changeType, notificationUrl, resource, expirationDateTime.
- **Update a OneDrive subscription by ID** (Update). Update a Microsoft Graph subscription's expirationDateTime for renewal and/or notificationUrl for delivery. Returns the updated subscription including id, changeType, resource, notificationUrl, and expirationDateTime. Required: id.
- **Delete a OneDrive subscription by ID** (Delete). Delete a Microsoft Graph subscription by id to stop receiving change notifications. Returns an empty 204 response on success. Required: id.
- **OneDrive subscriptions reauthorize** (Action). Reauthorize a Microsoft Graph subscription when you receive a reauthorizationRequired challenge. Returns an empty 204 response on success. Required: id.
- **List all OneDrive drive items delta** (List). Track incremental changes to items in a OneDrive drive using a delta query on the drive root. Pass token from the previous @odata.nextLink or @odata.deltaLink to continue, or token=latest to get only a fresh @odata.deltaLink. Returns: value (changed items; deleted items carry a deleted facet), @odata.nextLink while more pages exist, and @odata.deltaLink on the last page. Required: drive_id.
