Skip to content
Back to skills

Teams Notifications

ASecurity

Microsoft Teams MCP for agent-to-human messages: progress updates, approval requests and reading replies. Use when an agent needs to notify people or get an approval through Teams.

  • 80 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 3, 2026
ai-agentsazure

Works with

  • mcp

Security analysis

A100/100

Scanned October 5, 2026

npx -y skills add monkilabs/opencastle --skill teams-notifications --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Teams Notifications?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Teams Notifications
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/monkilabs-teams-notifications/badge)](https://www.skillsdirectory.com/skills/monkilabs-teams-notifications)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: teams-notifications
description: "Microsoft Teams MCP for agent-to-human messages: progress updates, approval requests and reading replies. Use when an agent needs to notify people or get an approval through Teams."
---

# Teams Notifications

## MCP Server

URL: `https://mcp.microsoft365.com/mcp`. Auth: OAuth 2.0 (Azure AD, scopes: `Chat.ReadWrite`, `ChannelMessage.Send`).

## MCP Tools

Covers chats, messages, channels, members, and settings.

### Example MCP calls

Post a progress update:

```json
// tool: teams_messages_create
{ "channel_id": "channel-xyz", "body": "πŸ”„ TAS-42 β€” In progress β€” implementing unit tests\nFiles: 3 (PriceFilter.tsx, test, index)" }
```

Read replies in thread:

```json
// tool: teams_messages_list_replies
{ "channel_id": "channel-xyz", "thread_id": "thread-abc", "limit": 50 }
```

## Human-in-the-Loop Approval

1. **Post approval request** β€” verify the response confirms message_id:

```json
// tool: teams_messages_create
{ "channel_id": "channel-xyz", "body": "⏳ Approval Required\nTask: TAS-42 β€” Run migration on production\nReply: Approve or Reject", "threading": { "start_thread": true } }
// β†’ { "message_id": "msg-123", "thread_id": "thread-abc" }
```

   If post fails: retry once; if still failing, fall back to asking in chat only.

2. **Poll for response** (5s interval, 5 min timeout):

```js
const replies = await teams_messages_list_replies({ channel_id: channelId, thread_id: threadId, limit: 50 });
for (const r of replies || []) {
  if (/\b(approve|yes)\b/i.test(r.body)) return 'approved';
  if (/\b(reject|no)\b/i.test(r.body)) return 'rejected';
}
// Retry after 5s; timeout after 5 min β†’ post escalation message
```

3. **Acknowledge** β€” Post confirmation of the action taken and close the thread.



## Channel & Chat Conventions

### Threading Rules

- Always reply in threads; one thread per task; include tracker issue ID in every message.

## Message Formatting

### Adaptive Cards and advanced payloads

Use Adaptive Cards when structured inputs or buttons are required; otherwise post a simple threaded message.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.