Creativity · MCP — server
MCP OneDrive Server
The MCP OneDrive Server uses Microsoft Graph to expose OneDrive personal and OneDrive for Business as structured tools: list children, download content, upload bytes, search, and create sharing links. Auth uses Azure AD app registration with delegated or application permissions and respects Microsoft 365 sharing policies.
MCP facts
- Kind
- server
- Ecosystem
- anthropic-mcp
- Language
- TypeScript / Python
- Transports
- stdio, http
Capabilities
- Tools: list_children, download_item, upload_item, search_drive, create_sharing_link
- Resources: onedrive://drive/{id}/item/{item}
- Auth: Microsoft Graph OAuth 2.0 (Files.ReadWrite.All, Sites.Read.All)
Install
npx -y @community/mcp-server-onedrive Configuration
{
"mcpServers": {
"onedrive": {
"command": "npx",
"args": ["-y", "@community/mcp-server-onedrive"],
"env": {
"MS_TENANT_ID": "${MS_TENANT_ID}",
"MS_CLIENT_ID": "${MS_CLIENT_ID}",
"MS_CLIENT_SECRET": "${MS_CLIENT_SECRET}"
}
}
}
} Frequently asked questions
Does it work with OneDrive for Business?
Yes — both OneDrive personal (Microsoft account) and OneDrive for Business (work/school account) are accessed through the same Microsoft Graph endpoints.
What permissions does the Azure AD app need?
At minimum Files.ReadWrite for the user's own drive. For multi-user scenarios use delegated permissions with offline_access for refresh tokens.
Can it open Office documents?
It downloads the raw bytes. For rendered content, pair it with the SharePoint or Microsoft Graph Search MCP servers that return extracted text.
Sources
- Microsoft Graph — OneDrive API — accessed 2026-04-20
- Model Context Protocol — accessed 2026-04-20
- MCP servers directory — accessed 2026-04-20