Mitigate AI Platform

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

FieldValue
Integration TypeMCP
NameMicrosoft OneDrive
URLhttps://ms365-onedrive.mcp.mitigate.dev/mcp
Transport TypeStreamable HTTP
Authentication TypeOAuth 2.1
OAuth Scopesopenid 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:

  1. Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator.
  2. Browse to IdentityApplicationsEnterprise applicationsAll applications.
  3. Search for Mitigate AI Platform and select it.
  4. Select Permissions under Security.
  5. Review the permissions and select Grant admin consent.

OAuth Scopes

See all available scopes in the Microsoft Graph permissions reference.

ScopeDescription
openidEnables OpenID Connect sign-in
profileAccess to the user's basic profile information
offline_accessAllows token refresh without re-prompting the user
Files.ReadWriteRead 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

On this page