mog - CLI for Microsoft 365 services.
mog is a CLI tool for managing Microsoft 365 services including Mail, Calendar, Drive, Contacts, Tasks, Word, Excel, and OneNote.
Tags
Updated: 2026-09-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Search and send emails
- Manage calendar events and availability
- Upload download and manage drive files
- Manage contacts and directory
- Manage tasks and task lists
- Export Word and PowerPoint files
- Read and update Excel sheets
- Manage OneNote notebooks and pages
- Manage accounts aliases and authentication
Inputs
- Microsoft 365 account credentials
- Client ID and OAuth tokens
- Command line parameters and flags
- Local files for upload or body content
- Environment variables such as MOG_ACCOUNT
Outputs
- Command line output and help documentation
- Downloaded or exported local files
- Updated Microsoft 365 cloud resources
- Local configuration token and alias files
Requirements
- Command line environment on macOS, Linux, or Windows
- Microsoft 365 account with API access
- Client ID for OAuth authentication
- Local file system read and write permissions
