Integrate Microsoft 365 to manage Outlook email, calendar events, OneDrive files, Tasks, Teams chats, and user profiles via Microsoft Graph and MCP protocol.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install mcp-microsoft365或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install mcp-microsoft365⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/mcp-microsoft365/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
Full Microsoft 365 integration via Model Context Protocol (MCP).
- Name: MCP-Microsoft365 - Supported account types: Single tenant (recommended) - Redirect URI: http://localhost:3000/callback
Add 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-microsoft365
# Install 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": "[email protected]"
}
}
}
}
# List recent emails
mcporter call m365.m365_mail_list top:5
# Send email
mcporter call m365.m365_mail_send to:"[email protected]" subject:"Hello" body:"<p>Hi!</p>"
# Search
mcporter call m365.m365_mail_search query:"important"
# List events
mcporter call m365.m365_calendar_list top:10
# Create 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_list
# Search 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 | |------|-------------| | m365_mail_list | List emails | | m365_mail_read | Read email by ID | | m365_mail_send | Send email | | m365_mail_search | Search emails | | m365_calendar_list | List events | | m365_calendar_create | Create event | | m365_calendar_availability | Check free/busy | | m365_files_list | List files | | m365_files_search | Search files | | m365_files_read | Read file content | | m365_files_info | Get file metadata | | m365_tasks_lists | List task lists | | m365_tasks_list | List tasks | | m365_tasks_create | Create task | | m365_teams_chats | List chats | | m365_teams_messages | Read messages | | m365_teams_send | Send message | | m365_users_list | List users | | m365_user_info | Get user profile |
Mahmoud Alkhatib
MIT
安装 Microsoft 365 MCP Server 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/mcp-microsoft365/ 目录(个人级,所有项目可用),或 .claude/skills/mcp-microsoft365/(项目级)。重启 AI 客户端后,用 /mcp-microsoft365 主动调用,或让 AI 根据上下文自动发现并使用。
Microsoft 365 MCP Server 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
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.
Microsoft 365 MCP Server 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。