Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Microsoft Teams (TUI, CLI & MCP)

by BiteFoundryversion 0.9.3i★ 0iRuns on your computerOfficial site ↗

How to install

What it does

Microsoft Teams MCP server, CLI, and TUI in Rust with local SQLite FTS5 cache.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Chat & email

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Microsoft Teams (TUI, CLI & MCP). Follow https://mcp.popnx.com/i/bitefoundry-teams.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 24, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Docker on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Microsoft Teams (TUI, CLI & MCP) for Claude on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "teams": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/bitefoundry/teams:0.9.3" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Microsoft Teams (TUI, CLI & MCP) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "teams": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/bitefoundry/teams:0.9.3"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Microsoft Teams (TUI, CLI & MCP) and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Microsoft Teams (TUI, CLI & MCP) or shows a Microsoft Teams (TUI, CLI & MCP) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TEAMS_CLIENT_ID Microsoft Entra ID (Azure AD) desktop application client ID.
  • TEAMS_TENANT_ID Microsoft Entra tenant ID or 'organizations' / 'common'.
  • TEAMS_TOKEN_FILE Path to a file containing a Microsoft Graph bearer token (read live on demand).

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Microsoft Teams (TUI, CLI & MCP) yet

Microsoft Teams (TUI, CLI & MCP) runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Microsoft Teams (TUI, CLI & MCP)

  • Install Docker on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Docker on your computer first (one time)
  • Install Docker on your computer first (one time)
  • Install Docker on your computer first (one time)

B · Others in Chat & email that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Docker on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Microsoft Teams (TUI, CLI & MCP) for Claude Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user teams -- docker run -i --rm ghcr.io/bitefoundry/teams:0.9.3 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Microsoft Teams (TUI, CLI & MCP) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user teams -- docker run -i --rm ghcr.io/bitefoundry/teams:0.9.3
  4. Type /mcp in Claude Code

    You should see Microsoft Teams (TUI, CLI & MCP) listed as connected

  5. Try it

    Use Microsoft Teams (TUI, CLI & MCP) and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Microsoft Teams (TUI, CLI & MCP) or shows a Microsoft Teams (TUI, CLI & MCP) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TEAMS_CLIENT_ID Microsoft Entra ID (Azure AD) desktop application client ID.
  • TEAMS_TENANT_ID Microsoft Entra tenant ID or 'organizations' / 'common'.
  • TEAMS_TOKEN_FILE Path to a file containing a Microsoft Graph bearer token (read live on demand).

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Docker on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Microsoft Teams (TUI, CLI & MCP) for Cursor on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "teams": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/bitefoundry/teams:0.9.3" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Microsoft Teams (TUI, CLI & MCP) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Microsoft Teams (TUI, CLI & MCP) and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Microsoft Teams (TUI, CLI & MCP) or shows a Microsoft Teams (TUI, CLI & MCP) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TEAMS_CLIENT_ID Microsoft Entra ID (Azure AD) desktop application client ID.
  • TEAMS_TENANT_ID Microsoft Entra tenant ID or 'organizations' / 'common'.
  • TEAMS_TOKEN_FILE Path to a file containing a Microsoft Graph bearer token (read live on demand).

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Docker on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Microsoft Teams (TUI, CLI & MCP) for VS Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "teams": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/bitefoundry/teams:0.9.3" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Microsoft Teams (TUI, CLI & MCP) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Microsoft Teams (TUI, CLI & MCP) and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Microsoft Teams (TUI, CLI & MCP) or shows a Microsoft Teams (TUI, CLI & MCP) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TEAMS_CLIENT_ID Microsoft Entra ID (Azure AD) desktop application client ID.
  • TEAMS_TENANT_ID Microsoft Entra tenant ID or 'organizations' / 'common'.
  • TEAMS_TOKEN_FILE Path to a file containing a Microsoft Graph bearer token (read live on demand).

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Microsoft Teams (TUI, CLI & MCP)💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user teams -- docker run -i --rm ghcr.io/bitefoundry/teams:0.9.3

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "teams": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/teams:0.9.3"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "teams": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/teams:0.9.3"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "teams": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/teams:0.9.3"
      ]
    }
  }
}

Values you fill in

  • TEAMS_CLIENT_ID env
    Microsoft Entra ID (Azure AD) desktop application client ID.
  • TEAMS_TENANT_ID env
    Microsoft Entra tenant ID or 'organizations' / 'common'.
  • TEAMS_TOKEN_FILE env
    Path to a file containing a Microsoft Graph bearer token (read live on demand).

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.BiteFoundry/teams
Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
0.9.3
Published to registryi
Nov 24, 2026
Code last changedi
Nov 25, 2026
Maker
BiteFoundry
Packages
oci: ghcr.io/bitefoundry/teams:0.9.3
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account BiteFoundry, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked: only npm and PyPI packages with a version can be checked

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/bitefoundry-teams.svg)](https://mcp.popnx.com/en/servers/bitefoundry-teams)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Chat & emaili

  • More stars than 0% of the other 2184 servers in this category
  • Published to the registry more recently than 95% of the other 2184 servers in this category
  • Basic checks equal to or better than 99% of the other 2184 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Microsoft Teams (TUI, CLI & MCP) safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.9.3) reached the registry 2 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker on your computer.

What can I use instead?

In the same category: MoeMail, emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

MoeMail

Disposable email for AI agents: create a mailbox, wait for the code, clean up. Hosted, no install.

by beilunyangWidely used★ 2.8KUpdated 2 days ago

Connect now (has URL) · sign-in✓ service owner · moemail.app

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

by anypostWidely used↓ 5.4K/wk★ 1.4KUpdated 12 days ago

Connect now (has URL)3 tools · light✓ service owner · emailmd.dev

Kite Discord Bot Builder

Build and fix Discord bots from a chat. Kite hosts them 24/7, with no code to deploy.

by merlinfuchsGrowing★ 333 Stars for the whole repoUpdated 29 days ago

Connect now (has URL) · sign-in✓ service owner · kite.onl

e2a — email for AI agents

Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.

by tokencanopyGrowing★ 200 Stars for the whole repoUpdated 4 months ago

Connect now (has URL) · sign-in✓ service owner · e2a.dev

Infobip MCP

Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.

by infobipEarly★ 36Updated 13 months ago

Connect now (has URL) · sign-in✓ service owner · infobip.com
Compared with similar ones
This one
Microsoft Teams (TUI, CLI & MCP)
MoeMailemailmdKite Discord Bot Buildere2a — email for AI agentsInfobip MCP
Runs whereInstalls on your computerRuns in the cloud, nothing to installCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoYes
Basic checks3/34/45/54/44/44/4
LicenseMITMITMITAGPL-3.0Apache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

teams

Read Microsoft Teams chats and channel threads, send Markdown messages, and search cached conversations from the terminal.

BiteFoundry · Latest release notes


Highlights

PillarWhat You Get
Minimal-Chrome TUI3-tier responsive ratatui layout (Wide / Medium / Narrow), Composer-First workflow, side-by-side Thread Drawer, Link Extractor (u), zoxide File Picker (Ctrl+F), Unified Ctrl+K Omni-Switcher, Cozy/Compact density (Ctrl+D), and multi-depth themes (Midnight Dark, Daylight Light, ANSI 256/16, NO_COLOR).
High-Res Terminal ImagesNative inline rendering for attachments & pasted hostedContents screenshots across Kitty, iTerm2 (`OSC 1337`), Sixel (`DCS q`), and 24-bit Half-Blocks (`▀`) universal fallback with live zoom (+/-/0) and protocol switching (p).
Local SQLite FTS5 + IPC DaemonBundled SQLite WAL + FTS5 cache (cache.db) with @odata.nextLink deep history cursors, offline hybrid search (teams search), and cached CLI reads via teams daemon.
4-in-1 Agent InterfaceOne static binary (Windows, macOS, Linux GLIBC 2.28 / AlmaLinux 8+) delivers TUI, scriptable CLI (`--json`), Axum HTTP REST API (`teams serve`), and stdio MCP server (`teams mcp`, 16 tools).

Quick Start

# 1. Install the native CLI via npm

npm i -g @bitefoundry/teams

2. Sign in with the desktop application registered by your organization

teams login --client-id YOUR_CLIENT_ID --tenant-id YOUR_TENANT_ID

3. Launch the interactive TUI

teams

teams read "Release Room" --json

Read a conversation in compact JSON. The response identifies omitted fields and distinguishes loaded thread replies from the total. For full detail, add --full in the CLI or pass compact: false to get_messages and get_thread in MCP.

IT administrators can register the app, select delegated permissions and verify a sign-in in Entra. For the public Microsoft Graph Command Line Tools client, run teams login. Company app registration guide

Update a global npm install with npm install -g @bitefoundry/teams@latest. For a standalone binary from GitHub Releases, use teams update. To build from source, run cargo build --release --locked.

External Token Brokers & Custom Entra ID Apps: Supports TEAMS_ACCESS_TOKEN, TEAMS_TOKEN_FILE, TEAMS_TOKEN_REFRESH_CMD (including az account get-access-token), and custom --client-id / --tenant-id. Run teams whoami or teams doctor --probe for instant JWT scope diagnostics.

Corporate TLS-inspecting proxies: Teams trusts the bundled Mozilla roots and the OS certificate store. If requests still fail with tls_untrusted_certificate, export the corporate root CA as PEM and set TEAMS_EXTRA_CA_PEM= (SSL_CERT_FILE and NODE_EXTRA_CA_CERTS are also read). See docs/ENTERPRISE.md.


Keybindings Cheat Sheet

KeyContextAction
Ctrl+KGlobalOmni-Switcher / Command Palette (> commands, # channels, @ chats, / search)
1 / 2 / 3 (Alt+1..3)GlobalSwitch Chats / Teams / Activity (@mentions) tabs
j / k / ↑ / ↓Nav / ChatNavigate conversations, messages, or thread replies
i / EnterChat / ComposerFocus Composer (Enter sends, Shift+Enter newline, Ctrl+V pastes clipboard image)
t / Alt+TChat / ThreadOpen right-side Thread Drawer / toggle Composer target (Thread vs Channel)
r / + / y / DelChat / ThreadQuote-reply / add reaction / copy message / delete own message
u / hChat / ThreadOpen Link Extractor overlay (Enter open, y copy) / toggle inline href URLs
v / Alt+vChat / ComposerOpen high-res Inline Image Preview (+/-/0 zoom, p protocol, d save)
Ctrl+F / Ctrl+OGlobalOpen built-in File Picker (with z zoxide quick-jump) / send file by path
o / HChatLoad older message page (o) / deep history backfill (H)
/ / Ctrl+N / Ctrl+PGlobalSearch local FTS5 cache / new chat / update Presence status
Ctrl+D / Ctrl+BGlobalToggle Cozy / Compact density / toggle left sidebar
Ctrl+, / ? / Ctrl+QGlobalSettings / full help overlay / safe quit

CLI, HTTP API & MCP

CLI Examples
# List chats, read history, and send Markdown with @mentions or attachments

teams chats --limit 50 --json teams read "Acme Engineering/platform-release" --limit 30 teams send "Acme Engineering/platform-release" "v2.4.0 canary is green!" --subject "Release Update" teams reply "Acme Engineering/platform-release" 1700000000000 "Confirmed zero 5xx spikes." teams send-file "Elena Park" ./latency-p99.png --inline --caption "P99 latency benchmark"

Read a cached thread and edit a post you sent

teams thread "Acme Engineering/platform-release" 1700000000000 --offline --limit 2 --json teams edit "Acme Engineering/platform-release" 1700000000000 --find "STATE: STAGED" --replace "STATE: READY" teams edit "Acme Engineering/platform-release" 1700000000000 --subject "Canary rollout" teams update-chat "Release handoff" --topic "Canary war room"

Paginate members, channels, and teams (JSON defaults to 50 per page) and search directory users

teams members "Acme Engineering/platform-release" --limit 50 --json teams users "Alice" --limit 10 --json teams channels "Acme Engineering" --limit 50 --cursor 50-1795260879123 --json teams teams --limit 50 --cursor 50-1795260879123 --json

Offline FTS5 search, deep history sync, presence, and background daemon

teams search "connection pooling" --json teams sync --chats 100 --depth 100 teams presence --set DoNotDisturb --expiration-mins 60 teams daemon start

teams edit TARGET MSG_ID MARKDOWN replaces the entire body. --find and --replace edit one exact occurrence in a single text node of the latest body, preserving links, mentions, images, and attachment references. A missing, repeated, or cross-tag match fails before the write. Channel edits require a signed-in author's delegated token with ChannelMessage.ReadWrite (or legacy Group.ReadWrite.All). Chat edits use Chat.ReadWrite. Graph returns an error when permissions or Teams policy deny the edit. Microsoft Graph message update

teams edit --subject changes the plain-text title of a channel root post you sent. Use the subject option by itself for a PATCH containing only subject. teams update-chat --topic changes an existing group chat's title using delegated Chat.ReadWrite. Topics allow up to 250 characters and exclude colons. Microsoft Graph chat update

read --json, read --thread --json, and thread --json return compact objects by default with top-level omitted (omitted mention/reaction counts and field names) and a hint command; compact messages also include links ([{ "text", "url" }]) when links in body_html do not appear verbatim in body_plain. Pass --json --full for complete conversation and message objects (--compact remains a compatibility alias). In a thread, --limit caps the replies while including the root separately, and responses report thread.returned, thread.has_more, and thread.root.reply_count (the total reply count when known, or null when truncated). Use --offline after an online thread read that covered the requested replies.

send --json, reply --json, and send-file --json also return compact acknowledgements by default (ok, conversation.{conv_key,title,team_name?}, message.{msg_id,created_at,mentions?,attachments?}, plus reply_to or path/inline); pass --json --full for complete conversation and message objects.

Markdown sent via send / reply converts **bold**, *italic*, `code` , ~~strike~~, [label](url), > quote, fenced code blocks, single-level - bullet lists, and @mentions. Headings (#), tables (|...|), _italic_, nested lists, and numbered lists are sent verbatim.

When any --json command fails at runtime (exit 1), stdout emits a single JSON line {"ok":false,"error":{"code":"...","message":"..."}} alongside the existing stderr Error: ... message (error.code is one of target_ambiguous with candidates, target_not_found, not_signed_in, token_expired with details on whoami, permission_denied with http_status: 403, unauthorized with http_status: 401, not_found with http_status: 404, or error). Usage/flag errors from argument parsing exit with code 2 and print usage text on stderr without stdout JSON.

For members, channels, and teams, passing --cursor reads the next page directly from the local SQLite cache without calling Microsoft Graph. A verified empty member list (0 members from a completed fetch) returns members: [] even with --offline, whereas an unfetched conversation fails with an error until fetched online. teams users searches directory users by display name or email prefix (startswith).

Local HTTP REST API (teams serve)

Start an Axum JSON server on 127.0.0.1:8788. Every route except /health needs a Bearer token: pass --token , or use the random one teams serve prints to stderr at start-up (--allow-keyless turns authentication off on loopback). Browser origins must be allowed one by one with --cors-origin ; requests with a foreign Host or Origin get 403.

teams serve --port 8788 --token "$TEAMS_API_TOKEN"

curl http://127.0.0.1:8788/conversations -H "Authorization: Bearer $TEAMS_API_TOKEN" curl -X POST http://127.0.0.1:8788/conversations/Elena%20Park/messages \ -H "Authorization: Bearer $TEAMS_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{"markdown":"Build is green — ready to ship!"}'

Full endpoint & schema docs: [docs/API.md](docs/API.md) · [docs/openapi.yaml](docs/openapi.yaml)

MCP Server (teams mcp)

Exposes 16 Microsoft Teams tools (list_chats, create_chat, update_chat, list_teams_channels, get_messages, get_thread, send_message, reply_message, send_file, download_attachment, edit_message, delete_message, search_messages, list_members, search_users, get_presence) over newline-delimited stdio JSON-RPC 2.0:

# Claude Code

claude mcp add teams -- teams mcp

// Claude Desktop / Cursor / Windsurf MCP config

{ "mcpServers": { "teams": { "command": "teams", "args": ["mcp"] } } }

Full tool schemas & client setups: [docs/MCP.md](docs/MCP.md) · [docs/NPM.md](docs/NPM.md)


@bitefoundry Enterprise Terminal Suite

PackageCommandDomainInterfaces

| `@bitefoundry/teams` *(

Only the beginning is shown; read the rest in the repo