# Microsoft OneDrive MCP Server: Governed AI Access

Microsoft OneDrive's MCP server includes 11 different actions available to any connected model or AI agent. When registered with Barndoor, you can ensure centralized governance, visibility, and control across every AI agent your team uses.

**Tools** **11**  
**Capabilities** **[Create](/content/integration-capability/create/index.html), [Delete](/content/integration-capability/delete/index.html), [Read](/content/integration-capability/read/index.html), [Update](/content/integration-capability/update/index.html)**  
**Category** **[Microsoft 365](/content/integration-category/microsoft-365/index.html)**  
**Type** **Barndoor Hosted**

## What can AI agents do with the Microsoft OneDrive MCP server?

### Tools Available

| Tool Name            | Access Type | Description                                                 |
|----------------------|-------------|-------------------------------------------------------------|
| get_drive_item       | read        | Retrieve metadata for a OneDrive file or folder by item ID.|
| list_item_children    | read        | List child items under a OneDrive folder.                  |
| create_child_item    | create      | Create a new child folder item under a OneDrive parent item.|
| update_drive_item     | update      | Update OneDrive item metadata such as name or parent reference.|
| delete_drive_item     | delete      | Delete a OneDrive item by ID.                               |
| create_share_link     | create      | Create a share link for a OneDrive item.                    |

[See full list →](https://docs.barndoor.ai/mcp-servers/onedrive)

## Use cases for Microsoft OneDrive

- **File Navigation**
  - Browse folder contents
  - Retrieve file metadata
  - List available drives

- **File Management**
  - Create folders and items
  - Copy files to new locations
  - Delete unwanted items

- **Sharing Collaboration**
  - Create share links for items
  - List items shared with me
  - Update item metadata

- **Drive Overview**
  - Access root drive container
  - Get signed-in user drive
  - Navigate drive hierarchy

## What are the risks of using the Microsoft OneDrive MCP without an AI gateway?

- **Uncontrolled reads** — AI agents can pull data out of Microsoft OneDrive with no visibility into what was accessed.
- **Ungoverned writes** — agents can create or modify records in Microsoft OneDrive with no approval step.
- **Destructive actions** — agents can delete or overwrite Microsoft OneDrive data with no approval gate or audit trail.

## Why connect Microsoft OneDrive with the Barndoor AI gateway?

Barndoor MCP Governance is the gateway between your AI agents and the tools they use.

| At a glance | Available? |
|-------------|------------|
| Fine-grained access controls policies per agent, team, role, user, MCP server and tool call | Yes |
| Approval required before write/destructive actions | Yes (configurable per role) |
| Full audit log (reads and writes) | Yes |
| Sensitive data detection before it reaches a model or agent | Yes |
| Instant access revocation | Yes |
| SOC 2 Type II compliant | Yes |

- **Centralized MCP management** — One place to manage and control every MCP server across the organization.
- **Universal connection** — One universal URL across every AI provider.
- **Fine-grained access controls** — Set access policies based on identities, agent profiles, tool-access, context, and data fields.
- **Protect sensitive data** — Keeps sensitive data from reaching an AI agent with various protection methods.
- **Observability** — Real-time reporting and dashboards for visibility.
- **Enterprise-grade security** — Stay compliant with audit trails and logging.

## Getting started with Microsoft OneDrive in Barndoor

1. Connect the Microsoft OneDrive MCP server once.
2. Define your policies.
3. Go live across every AI client.

## Frequently asked questions

- **What is MCP?**
  - MCP (Model Context Protocol) enables AI models and agents to connect to external tools through a common interface.

- **Is Barndoor secure?**
  - Yes, it is SOC 2 Type II compliant and enforces fine-grained access control.

- **How are Microsoft OneDrive schema changes handled?**
  - Barndoor tracks tool and schema changes and applies deny-by-default access until approved.

- **Can I deploy custom-built MCP servers?**
  - Yes, Barndoor supports customer-built MCPs.

## Connect Microsoft OneDrive to your AI agents with Barndoor.

Join AI-forward enterprises using Barndoor MCP Governance to manage and secure Microsoft OneDrive integrations with AI and AI agents.
