Mcp Microsoft365
Skill by makhatib
Why use this skill?
Seamlessly connect OpenClaw AI to your Microsoft 365 suite. Automate emails, calendar events, OneDrive files, and Teams chats via MCP.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/makhatib/mcp-microsoft365What This Skill Does
The Mcp Microsoft365 skill provides a comprehensive integration between OpenClaw AI and the Microsoft 365 ecosystem using the Model Context Protocol (MCP). It acts as a powerful bridge, allowing your AI agent to interact with your professional data in Outlook, OneDrive, Microsoft Teams, and Microsoft To-Do. By leveraging the Microsoft Graph API, this skill empowers agents to manage emails, schedule calendar events, browse files, track tasks, and engage in team communications seamlessly. It is designed to automate routine administrative tasks and improve productivity by centralizing data access within the OpenClaw environment.
Installation
Installation requires Node.js 18+ and an Azure Entra ID application registration.
- Register an app in your Azure Portal under 'App registrations' and record your Client ID, Tenant ID, and Client Secret.
- Grant the necessary API permissions (Mail, Calendars, Files, Tasks, Chat, and User) and perform 'Admin Consent'.
- Clone the skill repository and run
npm installfollowed bynpm run buildto prepare the binary. - Configure your local mcporter instance by adding the server block to
config/mcporter.json, ensuring all environment variables (TENANT_ID, CLIENT_ID, CLIENT_SECRET, DEFAULT_USER) are correctly defined to authenticate with your Microsoft account.
Use Cases
This skill is perfect for busy professionals and developers who need to bridge AI with enterprise workflows. Use it to automatically draft and send email follow-ups after a meeting, monitor specific folders in OneDrive for new files, or quickly query calendar availability when scheduling deep-work blocks. It simplifies the process of aggregating information from across the Microsoft 365 suite, allowing the agent to provide status updates on pending tasks, retrieve recent team chat logs, or find documents without ever leaving the OpenClaw interface.
Example Prompts
- "Check my calendar for tomorrow and tell me if I have any gaps for a 30-minute focus session."
- "Search my recent emails for anything related to the 'Project Alpha' contract and summarize the key action items."
- "Create a new task in my 'Work' list titled 'Finalize Q4 report' with a due date of next Friday and set the importance to High."
Tips & Limitations
For optimal security, ensure the Azure app is scoped strictly to the required permissions. The skill relies on the Microsoft Graph API's rate limits, so avoid high-frequency automated requests. Note that some advanced Teams interactions may require specific organizational permissions. Always verify the DEFAULT_USER configuration to prevent accidental data leakage or cross-account access issues.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-makhatib-mcp-microsoft365": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, file-write, external-api