Skip to main content
9 – 17 UHR +49 8031 3508270 LUITPOLDSTR. 9, 83022 ROSENHEIM
DE / EN
CompanyGPT Integration MCP server: streamable HTTP

Use Microsoft OneDrive with AI via MCP

OneDrive is the personal file storage in Microsoft 365 – home to drafts, analyses and shared documents that often matter more day to day than any archive. CompanyGPT connects OneDrive through the companyM365 addon, which runs as an MCP server inside your own environment.

What is Microsoft OneDrive?

Microsoft OneDrive is the Microsoft 365 cloud storage for personal and shared files. Technically it builds on the same platform as SharePoint, adding device synchronization, version history and granular sharing of individual files or folders.

For AI agents, OneDrive is where daily work takes shape before it moves into official repositories. Anyone who wants analyses, drafts or presentations retrieved and interpreted therefore needs access that mirrors individual sharing precisely.

Connection at a Glance

MCP server
innFactory companyM365 – operated in your CompanyGPT environment
Transport
Streamable HTTP
Authentication
Entra ID (OAuth 2.0, access on behalf of the user)
Operating model
SaaS (Microsoft 365)
Permissions
Own OneDrive and explicitly shared files only
Alternative
Microsoft Work IQ OneDrive – a server of its own, separate from Work IQ SharePoint (preview, Copilot license per user, personal OneDrive only)

How to Connect Microsoft OneDrive to CompanyGPT

The connection is established by companyM365, our addon for Microsoft 365. It is operated as an MCP server over streamable HTTP inside your CompanyGPT environment and reads files through Microsoft Graph. A Microsoft 365 Copilot license is not required.

Every user signs in with their own Microsoft account via Entra ID. The agent then acts on their behalf and sees only their OneDrive plus the files shared with them. Your IT registers the application once in the Entra ID tenant and grants the necessary consent; releasing the integration to specific roles and groups is handled in CompanyGPT.

Microsoft’s own route is Work IQ OneDrive from the Agent 365 catalog – a server of its own, separate from the Work IQ server for SharePoint. It is in preview, requires a Copilot license per user and, according to the catalog, is limited to the user’s personal OneDrive. If files should be made available directly in the AI environment independently of Microsoft 365, companyFILES is an additional option.

Typical Use Cases

How AI agents in CompanyGPT work with Microsoft OneDrive

Find files again

Instead of browsing folders, the employee describes the content they are looking for – the agent locates the matching file and names its location.

Prepare documents

Several stored documents are condensed into a short briefing for a manager, for example ahead of a decision.

Build on existing material

An existing presentation or concept draft serves as the starting point for a new version that the agent develops along your instructions.

Frequently Asked Questions

Microsoft OneDrive and AI – the most important answers

Is there an official MCP server for OneDrive?

Microsoft's Agent 365 catalog lists Work IQ OneDrive as a server of its own, separate from the Work IQ server for SharePoint – currently in preview, requiring a Microsoft 365 Copilot license per user and, according to the catalog, limited to the user's personal OneDrive. CompanyGPT connects OneDrive primarily through the companyM365 addon, without Copilot licenses.

Does the agent access every employee's OneDrive?

No. Access is tied to the signed-in user's account. Visible are that user's own OneDrive and files explicitly shared with them.

How is the integration set up?

companyM365 is provisioned in your CompanyGPT environment and registered once as an application in Entra ID. Employees then connect their Microsoft account themselves, and your administrators release the integration to the desired groups.

Are files permanently copied into the AI?

No. Content is retrieved from OneDrive for the request at hand. Making documents permanently available inside the AI environment is a separate, deliberate step you design via companyRAG or companyFILES.

What does this mean for data protection?

Your files stay in your Microsoft 365 tenant and CompanyGPT runs in your own cloud tenant. Since OneDrive holds personal working files, a clear rule on which roles may use the integration is advisable.

Microsoft OneDrive and Your AI – GDPR-Compliant with CompanyGPT

CompanyGPT is the enterprise AI assistant in your own cloud tenant: all relevant AI models, your company data and integrations like Microsoft OneDrive – centrally managed, with roles and permissions. We set up the connection together with you.

Microsoft OneDrive is a trademark of its respective owner (Microsoft). Its mention describes compatibility and does not imply any partnership or endorsement. Availability and scope of the connection depend on the respective vendor.