Microsoft OneDrive MCP server
Search, read, and manage files in a user's personal OneDrive.
About
Connect Tracecat to Microsoft OneDrive to search, read, and manage files for SOC analysts persisting investigation artifacts and SRE teams stashing logs. You can drop a CSV of indicators into the analyst's OneDrive or save a JSON evidence bundle next to the case notes in seconds. From there, pull a runbook the team already wrote, share files with the right recipients, and apply Microsoft Purview sensitivity labels with precision.
Setup
- 1
Sign in with OAuth
You'll authorize Tracecat to access Microsoft OneDrive on your behalf. No API keys to manage.
- 2
Select the
Microsoft OneDrivetile in the Tracecat MCP catalogOpen the
MCP catalogin your workspace, select theMicrosoft OneDrivetile, and complete the OAuth flow. - 3
Enable
Microsoft OneDrivein your agentIn your
ai.agentaction orAgents→toolstab, selectMicrosoft OneDrivefrom theMCP integrationsdropdown.
Tools
getOnedriveGet information about the user's OneDrive, including quota and owner.
findFileOrFolderInMyOnedriveSearch the user's OneDrive for a file or folder by name.
getFolderChildrenInMyOnedriveList files and folders inside a parent folder, up to 20 items.
readSmallTextFileFromMyOnedriveDownload a text file from the user's OneDrive (up to 5MB).
createSmallTextFileInMyOnedriveCreate or upload a text file to the user's OneDrive (up to 5MB).
createSmallBinaryFileInMyOnedriveCreate a binary file from base64 content (up to 5MB).
shareFileOrFolderInMyOnedriveShare a file or folder with recipients with read or write permissions.
copyFileOrFolderInMyOnedriveCopy a file or folder to another OneDrive folder asynchronously.
moveFileOrFolderInMyOnedriveMove a file or folder to another OneDrive folder asynchronously.
setSensitivityLabelOnFileInMyOnedriveApply or remove a Microsoft Purview sensitivity label on a file.