0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/channels/teams
History 2026-11-12 21:12:29 +00:00
..
scripts feat(channels): Microsoft Teams provider (#25331) 2026-09-29 09:43:56 -07:00
src fix(teams): tolerate undecryptable install-store records (#29534) 2026-11-05 16:24:31 +01:00
CHANGELOG.md chore: version - exit prerelease mode 2026-11-12 21:12:29 +00:00
lint-staged.config.js chore: run oxfmt instead of prettier in the last six pre-commit configs (#29892) 2026-11-10 12:35:37 +01:00
package.json chore: version - exit prerelease mode 2026-11-12 21:12:29 +00:00
README.md docs(teams): add README and CHANGELOG for @mastra/teams (#25480) 2026-09-29 10:12:36 -07:00
tsconfig.json feat(channels): Microsoft Teams provider (#25331) 2026-09-29 09:43:56 -07:00
tsdown.config.ts feat(channels): Microsoft Teams provider (#25331) 2026-09-29 09:43:56 -07:00
vitest.config.ts feat(channels): Microsoft Teams provider (#25331) 2026-09-29 09:43:56 -07:00

@mastra/teams

@mastra/teams connects Mastra agents to Microsoft Teams through the Bot Framework. It manages bot installations, JWT-verified activity webhooks, per-agent bot provisioning via Microsoft Graph and the Teams Developer Portal, adaptive cards, and streaming replies over Mastra's channel lifecycle.

Installation

npm install @mastra/teams

Usage

Set TEAMS_APP_ID and TEAMS_APP_PASSWORD to the credentials of an existing Azure Bot registration whose messaging endpoint points at your Mastra server.

import { Mastra } from '@mastra/core/mastra';
import { TeamsProvider } from '@mastra/teams';

const teams = new TeamsProvider({
  appId: process.env.TEAMS_APP_ID,
  appPassword: process.env.TEAMS_APP_PASSWORD,
  baseUrl: 'https://your-app.example.com',
});

export const mastra = new Mastra({
  channels: { teams },
});

Documentation

Changelog

See the package changelog for version history and release notes.

Support

We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.