Microsoft Teams
The Microsoft Teams connector indexes channel messages into the local SQLite index and exposes read tools for teams, channels, chats, and messages, plus two HITL-gated write tools for posting to channels and chats.
What’s indexed
Section titled “What’s indexed”- Service id:
teams - Item types:
message(channel messages; external id format<teamId>:<channelId>:<messageId>)
Authenticate
Section titled “Authenticate”nimbus connector auth teamsOAuth (Microsoft Graph). The Gateway resolves a short-lived access token via the Microsoft OAuth flow (getValidMicrosoftAccessToken) and injects it into the connector spawn as MICROSOFT_OAUTH_ACCESS_TOKEN.
Read tools (no HITL)
Section titled “Read tools (no HITL)”| Tool | Purpose |
|---|---|
teams_channel_list |
List channels in a team (standard + private the app can read). |
teams_channel_messages |
List recent messages in a team channel (not delta; for interactive reads). |
teams_chat_list |
List 1:1 and group chats for the signed-in user. |
teams_chat_messages |
List messages in a chat. |
teams_team_list |
List Microsoft Teams the signed-in user has joined (pagination via nextLink). |
Write tools (HITL-gated)
Section titled “Write tools (HITL-gated)”Every tool below requires interactive consent through the Gateway HITL gate before it executes.
| Tool | Purpose |
|---|---|
teams_message_post |
Post a message to a team channel. |
teams_message_post_chat |
Post a message to a chat. |
Remote content in a model-written message is refused. When the model (or an MCP client’s proposal) posts a channel or chat message with contentType set to anything other than text, Nimbus reads the body as HTML and refuses it, before it asks you, if showing the message would load remote content: an external image (including Teams emoji or sticker markup copied from another message; use the emoji character instead), a CSS url( or @import, a <link>, <iframe> or <base>, an <attachment> card, an SVG image or srcset. A message sent as text is never scanned, and plain links (<a href>) are allowed and shown to you verbatim. The refusal is the same fixed message every time and repeats nothing from the message.
ChatOps bot: typed confirmation
Section titled “ChatOps bot: typed confirmation”If you run the ChatOps bot, a write that needs a typed confirmation (for example a pull request merge) arrives as an Adaptive Card with a text field and Approve and Reject buttons. The resource owner types the confirm text shown on the card exactly; only that text approves, and typing approve in the conversation does not. No extra Teams app setting is needed: the card’s submit reaches the same messaging endpoint as your messages.