Microsoft 365 MCP Server
Integrate Microsoft 365 to manage Outlook email, calendar events, OneDrive files, Tasks, Teams chats, and user profiles via Microsoft Graph and MCP protocol.
Integrate Microsoft 365 to manage Outlook email, calendar events, OneDrive files, Tasks, Teams chats, and user profiles via Microsoft Graph and MCP protocol.
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Full Microsoft 365 integration via Model Context Protocol (MCP).
MCP-Microsoft365http://localhost:3000/callbackAdd these Application permissions for Microsoft Graph:
Mail.Read, Mail.Send, Mail.ReadWrite Calendars.Read, Calendars.ReadWrite Files.Read.All, Files.ReadWrite.All Tasks.Read.All, Tasks.ReadWrite.All Chat.Read.All, Chat.ReadWrite.All User.Read.All
Important: Click "Grant admin consent"
Save these values:
# Clone/download the skill cd mcp-microsoft365Install dependencies
npm install
Build
npm run build
mcporter config add m365 --stdio "node /path/to/mcp-microsoft365/dist/index.js"
Edit
config/mcporter.json to add environment variables:
{ "mcpServers": { "m365": { "command": "node /path/to/dist/index.js", "env": { "TENANT_ID": "your-tenant-id", "CLIENT_ID": "your-client-id", "CLIENT_SECRET": "your-client-secret", "DEFAULT_USER": "user@yourdomain.com" } } } }
# List recent emails mcporter call m365.m365_mail_list top:5Send email
mcporter call m365.m365_mail_send to:"recipient@email.com" subject:"Hello" body:"<p>Hi!</p>"
Search
mcporter call m365.m365_mail_search query:"important"
# List events mcporter call m365.m365_calendar_list top:10Create event with Teams meeting
mcporter call m365.m365_calendar_create subject:"Team Sync" start:"2026-01-27T10:00:00" end:"2026-01-27T11:00:00" isOnline:true
# List OneDrive root mcporter call m365.m365_files_listSearch files
mcporter call m365.m365_files_search query:"report"
# List task lists mcporter call m365.m365_tasks_lists
# List chats mcporter call m365.m365_teams_chats top:10
| Tool | Description |
|---|---|
| List emails |
| Read email by ID |
| Send email |
| Search emails |
| List events |
| Create event |
| Check free/busy |
| List files |
| Search files |
| Read file content |
| Get file metadata |
| List task lists |
| List tasks |
| Create task |
| List chats |
| Read messages |
| Send message |
| List users |
| Get user profile |
Mahmoud Alkhatib
MIT
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.