About
Overview
The OneDrive MCP Server enables AI agents to interact with Microsoft OneDrive and SharePoint document libraries. It provides tools for uploading and downloading files, managing folders, searching content, and sharing files through Microsoft Graph API.
Capabilities
Tools & Capabilities
⚡list_items
List files and folders in a directory
⚡get_file
Download a file's content
⚡upload_file
Upload a file to OneDrive
⚡search
Search for files across OneDrive
⚡create_folder
Create a new folder
⚡share_item
Create a sharing link for a file
Setup
Installation
bash
Install
npx -y mcp-server-onedriveExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"onedrive": {
"command": "npx",
"args": ["-y", "mcp-server-onedrive"],
"env": {
"AZURE_CLIENT_ID": "your-client-id",
"AZURE_TENANT_ID": "your-tenant-id"
}
}
}
}Quick Info
Authorcommunity
LanguageTypeScript
StatusStable
Stars★ 55
Last UpdatedFeb 12, 2026