microsoft-teams-automation
它能做什么
这个工具可以自动执行 Microsoft Teams 中的任务。你可以向频道或聊天发送消息、创建在线会议、管理团队和频道,还可以搜索消息。
适用场景
- ✓向某个特定频道发送重要公告。
- ✓和同事快速约一场会议。
- ✓在聊天记录中找回一段旧对话。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/microsoft-teams-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在“Development”团队的“Projects”频道里发送一条消息,内容是“明天上午10点开规划会”。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会连接到 Microsoft Teams,并使用特定命令执行你要求的操作。在执行任务之前,它会先获取必要的信息,比如团队和频道的 ID。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Microsoft Teams Automation via Rube MCP
Automate Microsoft Teams operations through Composio's Microsoft Teams toolkit via Rube MCP.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Microsoft Teams connection via
RUBE_MANAGE_CONNECTIONSwith toolkitmicrosoft_teams - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitmicrosoft_teams - If connection is not ACTIVE, follow the returned auth link to complete Microsoft OAuth
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Send Channel Messages
When to use: User wants to post a message to a Teams channel
Tool sequence:
MICROSOFT_TEAMS_TEAMS_LIST- List teams to find target team [Prerequisite]MICROSOFT_TEAMS_TEAMS_LIST_CHANNELS- List channels in the team [Prerequisite]MICROSOFT_TEAMS_TEAMS_POST_CHANNEL_MESSAGE- Post the message [Required]
Key parameters:
team_id: UUID of the team (from TEAMS_LIST)channel_id: Channel ID (from LIST_CHANNELS, format: '19:...@thread.tacv2')content: Message text or HTMLcontent_type: 'text' or 'html'
Pitfalls:
- team_id must be a valid UUID format
- channel_id must be in thread format (e.g., '19:abc@thread.tacv2')
- TEAMS_LIST may paginate (~100 items/page); follow @odata.nextLink to find all teams
- LIST_CHANNELS can return 403 if user lacks access to the team
- Messages over ~28KB can trigger 400/413 errors; split long content
- Throttling may return 429; use exponential backoff (1s/2s/4s)
2. Send Chat Messages
When to use: User wants to send a direct or group chat message
Tool sequence:
MICROSOFT_TEAMS_CHATS_GET_ALL_CHATS- List existing chats [Optional]MICROSOFT_TEAMS_LIST_USERS- Find users for new chats [Optional]MICROSOFT_TEAMS_TEAMS_CREATE_CHAT- Create a new chat [Optional]MICROSOFT_TEAMS_TEAMS_POST_CHAT_MESSAGE- Send the message [Required]
Key parameters:
chat_id: Chat ID (from GET_ALL_CHATS or CREATE_CHAT)content: Message contentcontent_type: 'text' or 'html'chatType: 'oneOnOne' or 'group' (for CREATE_CHAT)members: Array of member objects (for CREATE_CHAT)
Pitfalls:
- CREATE_CHAT requires the authenticated user as one of the members
- oneOnOne chats return existing chat if one already exists between the two users
- group chats require at least one member with 'owner' role
- member user_odata_bind must use full Microsoft Graph URL format
- Chat filter support is very limited; filter client-side when needed
3. Create Online Meetings
When to use: User wants to schedule a Microsoft Teams meeting
Tool sequence:
MICROSOFT_TEAMS_LIST_USERS- Find participant user IDs [Optional]MICROSOFT_TEAMS_CREATE_MEETING- Create the meeting [Required]
Key parameters:
subject: Meeting titlestart_date_time: ISO 8601 start time (e.g., '2024-08-15T10:00:00Z')end_date_time: ISO 8601 end time (must be after start)participants: Array of user objects with user_id and role
Pitfalls:
- end_date_time must be strictly after start_date_time
- Participants require valid Microsoft user_id (GUID) values, not emails
- This creates a standalone meeting not linked to a calendar event
- For calendar-linked meetings, use OUTLOOK_CALENDAR_CREATE_EVENT with is_online_meeting=true
4. Manage Teams and Channels
When to use: User wants to list, create, or manage teams and channels
Tool sequence:
MICROSOFT_TEAMS_TEAMS_LIST- List all accessible teams [Required]MICROSOFT_TEAMS_GET_TEAM- Get details for a specific team [Optional]MICROSOFT_TEAMS_TEAMS_LIST_CHANNELS- List channels in a team [Optional]MICROSOFT_TEAMS_GET_CHANNEL- Get channel details [Optional]MICROSOFT_TEAMS_TEAMS_CREATE_CHANNEL- Create a new channel [Optional]MICROSOFT_TEAMS_LIST_TEAM_MEMBERS- List team members [Optional]MICROSOFT_TEAMS_ADD_MEMBER_TO_TEAM- Add a member to the team [Optional]
Key parameters:
team_id: Team UUIDchannel_id: Channel ID in thread formatfilter: OData filter string (e.g., "startsWith(displayName,'Project')")
…
常见问题
我需要安装 Microsoft Teams 吗?
不需要,你只需要有一个可用的 Microsoft Teams 账号,并授权本工具与之连接即可。
工具如何找到团队和频道?
它会使用命令列出你有权访问的所有团队和频道,然后让你选择,或根据你提供的名称来识别。
我可以给任何人发消息吗?
你可以向你是成员的频道或聊天发送消息。要创建新的聊天,你需要指定参与者。
详情
作者的原始描述
Automate Microsoft Teams tasks via Rube MCP (Composio): send messages, manage channels, create meetings, handle chats, and search messages. Always search tools first for current schemas.
热度
- GitHub 星标
- 48k
- 排名
- #5207
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。