Microsoft 365 MCP 与 API 接入

团队应用鉴权:oauth

通过 Microsoft Graph 访问 Outlook 邮件与日历、联系人、OneDrive/SharePoint 文件、To Do、Planner 与 Teams 聊天。

本地 Microsoft 365 MCP 配置

每台设备存放明文密钥

  • 原始 Microsoft 365 Token 被复制到本地配置文件
  • 每位成员在每台电脑都需要重复安装配置
  • 每次对话都要注入数十个工具 Schema 占满上下文
通过 Duang 金库接入 Microsoft 365

一次连接,随时一键吊销

  • 每团队独立信封加密保存凭证
  • 本地磁盘与大模型提示词中零明文密钥
  • 全团队共享同一个远程 MCP 端点
发给 Agent 对话直接发给 Claude Code、OpenClaw、OpenCode、Grok Bot、Antigravity、Hermes 或 Pi

set up https://duang.ai/SKILL.md

全部操作(205)

操作价格
GET graph.microsoft.com/v1.0/chats

List chats

自备 Key
POST graph.microsoft.com/v1.0/chats

Create chat

自备 Key
GET graph.microsoft.com/v1.0/chats/{chat-id}

Get chat

自备 Key
PATCH graph.microsoft.com/v1.0/chats/{chat-id}

Update chat

自备 Key
DELETE graph.microsoft.com/v1.0/chats/{chat-id}

Delete chat

自备 Key
GET graph.microsoft.com/v1.0/chats/{chat-id}/messages

List messages in a chat

自备 Key
POST graph.microsoft.com/v1.0/chats/{chat-id}/messages

Send message in a chat

自备 Key
GET graph.microsoft.com/v1.0/chats/{chat-id}/messages/{chatMessage-id}

Get chatMessage in a channel or chat

自备 Key
PATCH graph.microsoft.com/v1.0/chats/{chat-id}/messages/{chatMessage-id}

Update the navigation property messages in chats

自备 Key
DELETE graph.microsoft.com/v1.0/chats/{chat-id}/messages/{chatMessage-id}

Delete navigation property messages for chats

自备 Key
GET graph.microsoft.com/v1.0/chats/{chat-id}/members

List conversationMembers

自备 Key
POST graph.microsoft.com/v1.0/chats/{chat-id}/members

Add member to a chat

自备 Key
GET graph.microsoft.com/v1.0/chats/{chat-id}/members/{conversationMember-id}

Get conversationMember in a chat

自备 Key
PATCH graph.microsoft.com/v1.0/chats/{chat-id}/members/{conversationMember-id}

Update the navigation property members in chats

自备 Key
DELETE graph.microsoft.com/v1.0/chats/{chat-id}/members/{conversationMember-id}

Remove member from chat

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}

Get entity from drives by key

自备 Key
PATCH graph.microsoft.com/v1.0/drives/{drive-id}

Update entity in drives

自备 Key
DELETE graph.microsoft.com/v1.0/drives/{drive-id}

Delete entity from drives

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}

Get items from drives

自备 Key
PATCH graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}

Update the navigation property items in drives

自备 Key
DELETE graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}

Delete navigation property items for drives

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/children

List children of a driveItem

自备 Key
POST graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/children

Create new navigation property to children for drives

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/children/{driveItem-id1}

Get children from drives

自备 Key
POST graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/copy

Invoke action copy

自备 Key
POST graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/createLink

Invoke action createLink

自备 Key
POST graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/createUploadSession

Invoke action createUploadSession

自备 Key
POST graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/invite

Invoke action invite

自备 Key
POST graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/preview

Invoke action preview

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/permissions

Get permissions from drives

自备 Key
POST graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/permissions

Create new navigation property to permissions for drives

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}

Get permissions from drives

自备 Key
PATCH graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}

Update the navigation property permissions in drives

自备 Key
DELETE graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}

Delete navigation property permissions for drives

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/thumbnails

Get thumbnails from drives

自备 Key
POST graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/thumbnails

Create new navigation property to thumbnails for drives

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/thumbnails/{thumbnailSet-id}

Get thumbnails from drives

自备 Key
PATCH graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/thumbnails/{thumbnailSet-id}

Update the navigation property thumbnails in drives

自备 Key
DELETE graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/thumbnails/{thumbnailSet-id}

Delete navigation property thumbnails for drives

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/versions

Get versions from drives

自备 Key
POST graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/versions

Create new navigation property to versions for drives

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/versions/{driveItemVersion-id}

Get versions from drives

自备 Key
PATCH graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/versions/{driveItemVersion-id}

Update the navigation property versions in drives

自备 Key
DELETE graph.microsoft.com/v1.0/drives/{drive-id}/items/{driveItem-id}/versions/{driveItemVersion-id}

Delete navigation property versions for drives

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}/root

Get root from drives

自备 Key
GET graph.microsoft.com/v1.0/drives/{drive-id}/list

Get list from drives

自备 Key
PATCH graph.microsoft.com/v1.0/drives/{drive-id}/list

Update the navigation property list in drives

自备 Key
DELETE graph.microsoft.com/v1.0/drives/{drive-id}/list

Delete navigation property list for drives

自备 Key
GET graph.microsoft.com/v1.0/groups/{group-id}/members

List group members

自备 Key
GET graph.microsoft.com/v1.0/groups/{group-id}/owners

List group owners

自备 Key
GET graph.microsoft.com/v1.0/groups

List groups

自备 Key
POST graph.microsoft.com/v1.0/groups

Create group

自备 Key
GET graph.microsoft.com/v1.0/groups/{group-id}

Get group

自备 Key
PATCH graph.microsoft.com/v1.0/groups/{group-id}

Upsert group

自备 Key
DELETE graph.microsoft.com/v1.0/groups/{group-id}

Delete group

自备 Key
GET graph.microsoft.com/v1.0/me/calendar

Get calendar

自备 Key
PATCH graph.microsoft.com/v1.0/me/calendar

Update calendar

自备 Key
GET graph.microsoft.com/v1.0/me/calendars

List calendars

自备 Key
POST graph.microsoft.com/v1.0/me/calendars

Create calendar

自备 Key
GET graph.microsoft.com/v1.0/me/calendars/{calendar-id}

Get calendars from me

自备 Key
已展示 60 / 205 个操作,在上方输入关键词可检索全部。

常见问题

如何在 Claude Code 或 Cursor 中接入 Microsoft 365?

通过 Duang 远程 MCP 网关(https://api.duang.ai/mcp)一键连接,即可让 AI Agent 调用 Microsoft 365 全部 205 个操作,无需本地维护 MCP 插件或明文密钥。

通过 Duang 接入 Microsoft 365 需要额外付费吗?

团队应用接入永久 $0 平台费。凭证加密封存于团队金库,永不进入模型上下文。

我的 Microsoft 365 密钥会暴露给大模型吗?

不会。密钥仅在 Duang 服务端出站请求时解密注入,本地配置文件与大模型上下文中均不包含明文密钥。

相关团队应用