Microsoft OneDrive
How to configure the Microsoft OneDrive MCP connector
The Microsoft OneDrive connector allows the chatbot to browse, read, upload, and delete files in OneDrive through Microsoft Graph API using the ms-365-mcp-server.
Connector Settings
| Field | Value |
|---|---|
| Integration Type | MCP |
| Name | Microsoft OneDrive |
| URL | https://ms365-onedrive.mcp.mitigate.dev/mcp |
| Transport Type | Streamable HTTP |
| Authentication Type | OAuth 2.1 |
| OAuth Scopes | openid profile offline_access Files.ReadWrite |
This MCP server supports Dynamic Client Registration (RFC 7591) — OAuth Client ID and Client Secret are not required.
A tenant admin must grant admin consent for the Mitigate AI Platform application before users can connect.
Application ID: bc2b3dde-4f74-483d-93c0-919c4b804b48
Use this direct link to grant consent: Grant admin consent
Or follow the manual steps:
- Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator.
- Browse to Identity → Applications → Enterprise applications → All applications.
- Search for Mitigate AI Platform and select it.
- Select Permissions under Security.
- Review the permissions and select Grant admin consent.
OAuth Scopes
See all available scopes in the Microsoft Graph permissions reference.
| Scope | Description |
|---|---|
openid | Enables OpenID Connect sign-in |
profile | Access to the user's basic profile information |
offline_access | Allows token refresh without re-prompting the user |
Files.ReadWrite | Read and write access to the user's files in OneDrive |
Usage Examples
Once connected, users can interact with OneDrive through natural language:
- "List my OneDrive files"
- "Show the contents of the Reports folder"
- "Download the latest budget spreadsheet"
- "Upload this document to my OneDrive"
- "Delete the old draft from my OneDrive"
Tools
List Drives
list-drives
Retrieve the list of drives available for the current user.
Get Drive Root Item
get-drive-root-item
Retrieve the root folder of a drive.
Parameters:
- driveId - The ID of the drive
List Folder Files
list-folder-files
List the files and subfolders within a folder in a drive.
Parameters:
- driveId - The ID of the drive
- driveItemId - The ID of the folder
Download Onedrive File Content
download-onedrive-file-content
Download the content of a file from OneDrive.
Parameters:
- driveId - The ID of the drive
- driveItemId - The ID of the file
- format - Format of the content
Upload File Content
upload-file-content
Upload or overwrite the content of a file in OneDrive.
Parameters:
- driveId - The ID of the drive
- driveItemId - The ID of the file
- body - The file content to upload
Delete Onedrive File
delete-onedrive-file
Delete a file from OneDrive.
Parameters:
- driveId - The ID of the drive
- driveItemId - The ID of the file to delete