ai-ms365

Route Microsoft 365 requests to MS Graph MCP tools for mail, calendar, Teams, and files.

Updated May 17, 2026
One-click install
npx skills add https://github.com/bennoloeffler/claude-code-personal-agent-plugins-skills --skill ai-ms365
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-ms365
Source: https://github.com/bennoloeffler/claude-code-personal-agent-plugins-skills/tree/main/plugins/ai-ms365/skills/ai-ms365
Command: npx skills add https://github.com/bennoloeffler/claude-code-personal-agent-plugins-skills --skill ai-ms365

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps users complete Microsoft 365 tasks (mail, calendar, Teams, SharePoint/OneDrive, and directory lookups) inside Claude Code by routing requests to the correct MCP tools and handling MS login requirements safely.

Core Features & Use Cases

  • MCP tool routing for Microsoft 365: Chooses the right mcp__ms365__* capability for reading/sending mail, listing or creating calendar events, posting to Teams, and searching/downloading/uploading files from OneDrive/SharePoint.
  • Authentication guidance with safe workflows: Detects when login is missing/expired and instructs users to complete the required terminal-based device-code login instead of attempting a broken cowork login path.
  • Guardrails for destructive actions: Requires confirmation before sending/deleting/moving items and provides patterns for summarizing results (e.g., “last N emails” or “what’s on my calendar”).

Quick Start

Tell the assistant “Send an Outlook email to [email protected] about the Q3 status, with this message body: ‘Hi Alex…’” and it will guide you through confirmation and then call the appropriate MS365 mail tools.

Frequently Asked Questions about ai-ms365

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Can I send Outlook emails and schedule calendar events from the terminal?

Yes, you can send Outlook emails and schedule calendar events directly from the terminal. The system routes requests to Microsoft Graph MCP tools, executing both read and write workflows for mail and calendar operations.

How do I authenticate Microsoft 365 MCP tools when login fails?

To authenticate Microsoft 365 MCP tools when login fails, complete a terminal-based device-code login. The system detects missing or expired tokens and instructs you to use this device-code flow instead of attempting broken cowork login paths.

Does Microsoft 365 MCP tool routing support SharePoint and OneDrive file searches?

Microsoft 365 MCP tool routing supports SharePoint and OneDrive file searches. It routes requests to the correct MS Graph capabilities to search, download, and upload files across your drives.

What guardrails exist for destructive actions like deleting emails or posting Teams messages?

For destructive actions like deleting emails or posting Teams messages, the system enforces guardrails by requiring explicit user confirmation. It prompts you to verify sending, deleting, or moving items before executing the command.

Do I need ISO-8601 dates to schedule Microsoft 365 calendar events via MCP?

Yes, you need ISO-8601 dates to schedule Microsoft 365 calendar events via MCP. The system requires strict ISO-8601 date handling to ensure calendar events and meeting schedules are processed correctly.