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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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