OneDrive MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OneDrive MCP Serverlist files in my Documents folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🔵 OneDrive MCP Server para Claude
Servidor MCP (Model Context Protocol) que conecta Claude con OneDrive a través de Microsoft Graph API para listar, buscar, crear, mover, copiar y compartir archivos directamente desde la conversación.
🛠️ Herramientas disponibles
Herramienta | Descripción |
| Lista archivos y carpetas en una ruta |
| Obtiene detalles de un archivo o carpeta |
| Crea una carpeta |
| Elimina un archivo o carpeta |
| Mueve un archivo a otra carpeta |
| Copia un archivo a otra carpeta |
| Busca archivos por nombre o contenido |
| Genera enlace para compartir (view/edit, anónimo/org) |
| Muestra espacio total, usado y disponible |
Related MCP server: Outlook MCP Server
🚀 Instalación
1. Instalar dependencias y compilar
npm install
npm run build2. Registrar una aplicación en Azure AD
Ve a https://portal.azure.com → Azure Active Directory → App registrations → New registration
Nombre:
Claude OneDrive MCPEn API permissions agrega:
Files.ReadWrite.All(Application)User.Read.All(Application)
Haz clic en Grant admin consent
En Certificates & secrets → New client secret → copia el valor
3. Configurar variables de entorno
cp .env.example .envEdita .env:
TENANT_ID=tu-tenant-id
CLIENT_ID=tu-client-id
CLIENT_SECRET=tu-client-secret
USER_EMAIL=usuario@tudominio.comPuedes encontrar el
TENANT_IDyCLIENT_IDen la página principal de tu app registrada en Azure AD.
🔌 Conectar con Claude Desktop
Edita el archivo de configuración de Claude Desktop:
Windows: %LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude_desktop_config.json
{
"mcpServers": {
"onedrive": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": ["C:\\ruta\\al\\proyecto\\dist\\index.js"],
"env": {
"TENANT_ID": "tu-tenant-id",
"CLIENT_ID": "tu-client-id",
"CLIENT_SECRET": "tu-client-secret",
"USER_EMAIL": "usuario@tudominio.com"
}
}
}
}Reinicia Claude Desktop y verás las herramientas disponibles.
🐛 Troubleshooting
Error 401: Verifica que el CLIENT_SECRET no haya expirado y que se haya otorgado admin consent.
Error 403: Asegúrate de que la app tenga permisos Files.ReadWrite.All con admin consent.
Error 404: Verifica que el USER_EMAIL sea correcto y tenga OneDrive activo.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceConnects Claude with Microsoft Outlook through the Graph API, providing comprehensive email, calendar, folder management, and rules creation capabilities.Last updated19
- Alicense-qualityCmaintenanceConnects Claude to Microsoft Outlook through the Microsoft Graph API, enabling email management (list, search, read, send) and calendar operations (list, create, accept, decline, delete events) via OAuth 2.0 authentication.Last updated1MIT
- Flicense-quality-maintenanceProvides unified access to OneDrive and SharePoint through Microsoft Graph API, enabling file operations, SharePoint list management, Excel integration, and content search across personal and business Microsoft accounts.Last updated
- AlicenseAqualityDmaintenanceProvides Claude with access to Microsoft SharePoint via the Microsoft Graph API, enabling folder management, document operations (upload, download, read, update, delete), and metadata management with secure OAuth 2.0 authentication.Last updated16MIT
Related MCP Connectors
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/emilychimbobit/BIT-OneDriveMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server