# Microsoft Teams 集成

> 在 Teams 频道、个人或群聊启动 Agent，按会话类型选择继续任务的入口。

- 网址：https://funcoding.ai/agents/cursor/integrations/microsoft-teams/
- 核实日期：2026-10-07（命令、配置和价格以官方文档为准）
- 官方来源：[Cursor 官方文档：Microsoft Teams](https://cursor.com/docs/integrations/microsoft-teams)

---
在 Cursor Integrations 或 Microsoft Marketplace 安装 Cursor App，连接 GitHub、GitLab、Azure DevOps 或 Bitbucket，并完成 usage-based pricing 和隐私配置。之后在 Teams 使用 @Cursor 加提示。

## 命令和选项

@Cursor help 查看帮助，@Cursor unlink 或 @Cursor disconnect 断开个人 Cursor 账号。提示可带 repo、env/environment、branch 和 model，不把 Slack 的 pool 等参数视为 Teams 同样支持。

```text
@Cursor env="Platform Services" branch=dev Fix the login bug
```

显式选项优先于消息推断与默认值，inline 覆盖推断的模型/仓库，env 优先 repo。路由依次检查显式选项、消息内容、近期 Agent 活动、默认仓库。base branch 留空时用仓库默认分支。

## 续聊方式

频道线程中，再回复 @Cursor 可追加指令。个人聊天和群聊则从卡片 Open in Web 或 Open in Desktop 继续，不应假定和频道线程有相同续聊行为。

卡片显示已选仓库、模型、分支，并提供 Switch repository、Add follow-up、Delete、Update settings 等操作。Delete 停止并归档 Agent；Switch repository 用同一请求重新选择仓库。完成通知带结果，有 PR 时提供链接。

## 上下文与隐私

调用时读取相关 thread/chat 上下文。权限包含 identity、messageTeamMembers、ChannelMessage.Read.Group、ChatMessage.Read.Chat、ChannelSettings.Read.Group 和 TeamSettings.Read.Group，用于账号、上下文和状态回复。

支持 personal chats、team channels 和 group chats。Privacy Mode 可用，Legacy 不支持；可关闭含代码片段或路径的 Agent summary。完整云端保留边界见[隐私与保留](https://funcoding.ai/agents/cursor/cloud/privacy-retention/)。
