Skip to content
PluginStats

@chat-adapter/teams weekly downloads statistics

By chat-adapter (14 listings) · npm · AI SDKs

Microsoft Teams adapter for Chat SDK — Bot Framework webhooks, Adaptive Cards, and Graph API

View on npm Fresh · Dec 6, 2026

@chat-adapter/teams has 1,107,219 recorded weekly downloads on npm, an increase of 39.7% over the past 30 days, ranking #284 of 3,247 tracked listings.

Weekly downloads
1,107,219
Official API · Dec 5, 2026
7-day growth
+17.5%
+165K weekly downloads
30-day growth
+39.7%
+314.8K weekly downloads
90-day growth
+795%
+983.5K weekly downloads
Rank
#284
▲ 4 in 7 days

About @chat-adapter/teams

Microsoft Teams adapter for Chat SDK

@chat-adapter/teams

npm package: @chat-adapter/teams

Agent Stack MIT License

Microsoft Teams adapter for Chat SDK.

Documentation: chat-sdk.dev/adapters/official/teams · Guides: vercel.com/kb/chat-sdk

Installation

pnpm add @chat-adapter/teams

Scaffold with the CLI

To scaffold a new Microsoft Teams bot with this adapter preselected:

npx create-chat-sdk@latest my-bot --adapter teams memory

Visit the adapters directory to see other available official and vendor-official adapters.

Quick start

For managed credentials and webhook verification, see Vercel Connect.

The adapter auto-detects TEAMS_APP_ID, TEAMS_APP_PASSWORD, and TEAMS_APP_TENANT_ID from environment variables:

import { Chat } from "chat";
import { createTeamsAdapter } from "@chat-adapter/teams";

const bot = new Chat({
  userName: "mybot",
  adapters: {
    teams: createTeamsAdapter({
      appType: "SingleTenant",
    }),
  },
});

bot.onNewMention(async (thread, message) => {
  await thread.post("Hello from Teams!");
});

Configuration

All options are auto-detected from environment variables when not provided. Internally, the adapter maps these options to the Teams SDK (@microsoft/teams.apps).

OptionRequiredDescription
appIdNo*Azure Bot App ID or sync/async resolver. Auto-detected from TEAMS_APP_ID
appPasswordNo**Azure Bot App Password. Auto-detected from TEAMS_APP_PASSWORD
federatedNo**Federated (workload identity) authentication config
tokenNo**Custom (scope, tenantId?) token factory for Bot Framework and Microsoft Graph
webhookVerifierNoCustom raw-body verifier that replaces Microsoft JWT verification
appTypeNo"MultiTenant" or "SingleTenant" (default: "MultiTenant")
appTenantIdFor SingleTenantAzure AD Tenant ID. Auto-detected from TEAMS_APP_TENANT_ID
userNameNoBot display name (default: "bot")
apiUrlNoOverride the Teams API base URL (e.g. for GCC-High or sovereign-cloud deployments). Auto-detected from TEAMS_API_URL
loggerNoLogger instance (defaults to ConsoleLogger("info"))

*appId is required — either via config or TEAMS_APP_ID env var.

**One authentication method is required: appPassword, federated, or token. token takes precedence over federated, which takes precedence over appPassword.

Authentication

Use Vercel Connect to manage the bot identity and tokens, or configure Microsoft app credentials directly.

Option A — Vercel Connect

Use Vercel Connect to resolve the bot's app ID and request short-lived tokens for Bot Framework and Microsoft Graph:

import { createTeamsAdapter } from "@chat-adapter/teams";
import { connectTeamsAdapter } from "@vercel/connect/chat";

const teams = createTeamsAdapter({
  ...connectTeamsAdapter("microsoft-teams/acme-teams"),
});

The helper resolves appId during initialization and supplies a scope-aware token callback. It also verifies Connect-forwarded webhooks with Vercel OIDC instead of Microsoft's native JWT. Enable trigger forwarding to /api/webhooks/teams and omit TEAMS_APP_ID and TEAMS_APP_PASSWORD when using the helper.

The callback requests separate tokens for https://api.botframework.com/.default and https://graph.microsoft.com/.default. Graph reads still require the appropriate installation and consent permissions; Connect uses the bot's home tenant for managed tokens.

An appId resolver runs once during successful initialization. Call await bot.initialize() before using adapter methods directly; Chat initializes automatically before handling webhooks. botUserId becomes available after initialization when using a resolver.

A custom webhookVerifier receives the incoming request and its raw body. Return a truthy value to accept, or return a falsy value or throw to reject with HTTP 401. Without a verifier, the adapter retains Microsoft's native JWT verification.

Option B — Microsoft app credentials

The Teams CLI handles AAD app registration, client secret generation, bot registration, and Teams channel setup in one command.

npm install -g @microsoft/teams.cli
1. Create the app
teams login
teams status          # verify auth + sideloading permissions
teams app create --name "My Bot" --endpoint "https://your-domain.com/api/webhooks/teams" --env .env

[!TIP] For local development, use a tunnel (e.g. devtunnel, ngrok) to expose your local server.

Credentials (CLIENT_ID, CLIENT_SECRET, TENANT_ID) are written to .env. Rename them to match the adapter:

TEAMS_APP_ID=<CLIENT_ID>
TEAMS_APP_PASSWORD=<CLIENT_SECRET>
TEAMS_APP_TENANT_ID=<TENANT_ID>
2. Install in Teams

Get a direct install link:

teams app get <appId> --install-link

Or download the app package for sideloading:

teams app package download <appId> -o my-bot.zip

Then in Teams: Apps > Manage your apps > Upload an app > Upload a custom app.

3. Verify…

Description from the npm listing.

  • chat
  • chat-sdk
  • chatbot
  • teams
  • microsoft-teams
  • microsoft
  • bot
  • adapter
  • bot-framework
  • messaging
  • ai-agent
  • ai-sdk
  • vercel

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@chat-adapter/teams weekly downloads on npm, last 90 days: 1,107,219 weekly downloads as of Dec 5, 2026, +795% over 90 days.@chat-adapter/teamsWeekly downloads on npm · Last 90 days1,107,219downloads / week+795% over 90 days0200K400K600K800K1M1.2MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@chat-adapter/teams weekly downloads on npm, last 90 days: 1,107,219 weekly downloads as of Dec 5, 2026, +795% over 90 days.

7/30/90-day growth

@chat-adapter/teams weekly downloads growth on npm: +17.5% over 7 days, +39.7% over 30 days, +795% over 90 days.@chat-adapter/teamsWeekly downloads growth on npm1,107,219downloads / week now7-day growth+165,023 weekly downloads+17.5%30-day growth+314,826 weekly downloads+39.7%90-day growth+983,500 weekly downloads+795%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@chat-adapter/teams weekly downloads growth on npm: +17.5% over 7 days, +39.7% over 30 days, +795% over 90 days.

Ranking history

@chat-adapter/teams npm ranking history: currently #284 (by weekly downloads).@chat-adapter/teamsnpm ranking · by weekly downloads · Last 90 days#284current rank#280#300#320#340#360#380#400#420Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@chat-adapter/teams npm ranking history: currently #284 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 15, #4 (overall #284)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 1, #12 (overall #12)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for @chat-adapter/teams
Date (UTC)Weekly downloadsChange vs. previous
1,107,219+16.3K
1,090,876+79.1K
1,011,755+70.5K
941,270+27.7K
913,618-798
914,416-23.7K
938,154-4K
942,196-35.3K
977,532-19.3K
996,784-17.5K
1,014,249+15K
999,231+36.5K
962,707+19.8K
942,916—

Similar npm AI SDKs plugins

All 20 @chat-adapter/teams alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@chat-adapter/teams. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.