Repository navigation
Releases
v0.9.2
Prebuilt pure Microsoft Teams binary (teams / teams.exe) — CLI, TUI, HTTP API, and MCP server.
Changes
This release tightens the MCP tool surface and upgrades tool schema metadata for higher agent selection accuracy.
MCP
- Focused 16-tool surface: removed
react_message,mark_read, andset_presencefromteams mcpto keep agent prompts lean and prevent accidental unread-state or presence changes. Reactions, read receipts, and presence updates remain available in the CLI, TUI, and local HTTP API. - Full MCP annotations and schema coverage: added standard MCP
annotations(title,readOnlyHint,destructiveHint,idempotentHint,openWorldHint), explicit usage guidance between sibling tools, permission/cost disclosures, and 100% parameter descriptions across all 16 MCP tools.
Full Changelog: v0.9.1...v0.9.2
v0.9.1
Prebuilt pure Microsoft Teams binary (teams / teams.exe) — CLI, TUI, HTTP API, and MCP server.
Changes
- Uploads: small-file uploads now use
conflictBehavior=rename, like large uploads, so sending a second file with the same name no longer replaces the first. - Write retries: POST requests are retried only on 429/503. A 502/504 is reported instead of replayed, so a message is no longer posted twice.
teams serve: a loopback server without--tokengenerates a random bearer token per session and prints it once to stderr (--allow-keylessopts out). Requests must name the loopback host, and anOriginis accepted only from the API itself or an exact--cors-originvalue.- Sync and cache: a throttled or failed
$batchchat stays dirty and is fetched again. A deleted channel (404) leaves the background rotation without stalling the batch. Teams and channels that Graph no longer lists are removed from the cache. Chat list cursors re-read the page they stopped in. Local pins survive a refresh. - History: the TUI no longer reports "all older messages loaded" while older cached rows remain. A plain
teams readno longer resets a deeper history cursor. Jumping to a search hit loads the history down to it. The thread drawer leaves the loading state when a refresh fails. - Profiles and daemon: each
TEAMS_CONFIG_DIRprofile has its own keyring entry.logoutstops the daemon, andloginreplaces a daemon signed in as another account. A one-offTEAMS_*environment override is no longer written intoconfig.toml. - Corporate proxies: the OS certificate store is now trusted alongside the bundled roots. Extra PEM roots can be added with
TEAMS_EXTRA_CA_PEM,SSL_CERT_FILEorNODE_EXTRA_CA_CERTS. An untrusted-certificate failure reportstls_untrusted_certificatewith a recovery hint, andteams doctorlists the extra CA sources. Seedocs/ENTERPRISE.md. - Hardening: Graph credentials are sent only to the configured Graph origin, so a foreign
@odata.nextLinkfails. Chat creation works for addresses with a quote and for guest UPNs. The TUI opens onlyhttp,httpsandmailtolinks. - MCP: the descriptions of request-heavy tools state their Graph request cost.
Compatibility
teams serve(breaking): a tokenless request with a non-loopbackHostor a foreignOrigingets 403. Clients that reach the port through a reverse proxy or a custom hostname must use--token. Non-loopback binds always require--token, andTEAMS_ALLOW_INSECURE_SERVEno longer overrides this. Without a token, anout_diroutside the download directory gets 400 (TEAMS_SERVE_ALLOW_ANY_OUT_DIR=1restores the old behaviour). Attachment download and message delete with a body needContent-Type: application/json(415 otherwise). Wildcard CORS is gone: pass--cors-originfor each browser origin.error.code:permission_deniedis now decided by the HTTP status, so some errors previously reported aspermission_deniednow reportnot_foundorerror.export --include-threadsexits non-zero when reply fetches fail. The partial export is still written, and the failed threads are listed inincomplete_threads(JSON) and on stderr.- A custom-directory profile that stored its token in the shared keyring slot reads its
credentials.jsoncopy on first run, so no new login is expected. The default profile is unchanged. - Environment overrides already saved into
config.tomlby earlier versions are not removed. Edit the file to remove them.
Full Changelog: v0.9.0...v0.9.1
v0.9.0
Prebuilt pure Microsoft Teams binary (teams / teams.exe) — CLI, TUI, HTTP API, and MCP server.
Changes
Sending to a chat or channel by name now reports ambiguous matches. Replies check the requested message, and message edits preserve mention data. Find people with teams users <QUERY> or MCP search_users.
Compatibility
send,reply, andsend-filenow return a compact acknowledgement with--json. Usemessage.msg_idfor the sent message ID, or add--fullfor the complete message and conversation. The matching MCP toolssend_message,reply_message, andsend_fileaccept"compact": falsefor the full response.- When
whoami --jsonfinds an expired token, readerror.codefortoken_expiredanderror.detailsfor the account and expiry information previously at the top level.
Full Changelog: v0.8.0...v0.9.0
v0.8.0
Prebuilt pure Microsoft Teams binary (teams / teams.exe) — CLI, TUI, HTTP API, and MCP server.
CLI and MCP conversation reads now return compact JSON by default. Responses identify omitted fields and provide a full-read hint. For expanded detail, use teams read <chat> --json --full or set compact: false in MCP.
Thread replies distinguish the loaded portion from the total. Member lists can be paged from cache and distinguish an empty team from a team whose membership has never been fetched.
Joined-team refreshes preserve cached channels when an individual channel request fails. Quoted messages retain attribution and preview text.
Full Changelog: v0.7.11...v0.8.0
v0.7.11
Prebuilt pure Microsoft Teams binary (teams / teams.exe) — CLI, TUI, HTTP API, and MCP server.
Resolve chat names containing slashes to the intended conversation. Quoted replies appear once, and message links and mentions retain their targets.
History reads preserve subsecond ordering and overlapping pages. Deleted messages stay deleted in cached reads and exports. Download attachments from older messages by ID.
Channel listing follows pagination. Search handles short words, and thread reads report unsupported time filters.
Full Changelog: v0.7.10...v0.7.11
v0.7.10
Prebuilt pure Microsoft Teams binary (teams / teams.exe) — CLI, TUI, HTTP API, and MCP server.
Send, reply to, or edit a message with a Markdown bullet list. Teams receives HTML list items with the original mentions and inline formatting.
Message bodies, subjects, topics, search terms and replacement text accept leading hyphens as separate arguments.
Full Changelog: v0.7.9...v0.7.10
v0.7.9
Prebuilt pure Microsoft Teams binary (teams / teams.exe) — CLI, TUI, HTTP API, and MCP server.
Register your company’s Microsoft Entra application for Teams. The enterprise setup covers desktop and device-code sign-in, delegated Graph permissions and audit logs.
Source, native archives and npm packages include the MIT license.
Full Changelog: v0.7.8...v0.7.9
v0.7.8
Prebuilt pure Microsoft Teams binary (teams / teams.exe) — CLI, TUI, HTTP API, and MCP server.
Replace a unique phrase in a sent message while preserving mentions, HTML links and attachments. Change a group chat topic or the subject of a channel post independently.
Compact reads return message text and identifiers. Offline thread reads distinguish a previously fetched empty thread from replies that have never been fetched.
Full Changelog: v0.7.7...v0.7.8
v0.7.7
Prebuilt pure Microsoft Teams binary (teams / teams.exe) — CLI, TUI, HTTP API, and MCP server.
Edits and reactions on the last message of an open conversation redraw that message. Switching chats releases the previous conversation layout.
Updates to an active channel thread read its matching root post directly.
Full Changelog: v0.7.6...v0.7.7
v0.7.6
Prebuilt pure Microsoft Teams binary (teams / teams.exe) — CLI, TUI, HTTP API, and MCP server.
Open conversations continue receiving updates while you read. Inactive channels are checked in rotation, up to five every 30 seconds by default. Their new posts, edits, reactions, and deletions update search results and the sidebar.
Replayed messages and historical edits leave unread counts unchanged. A delayed background response preserves newer changes already shown in the active conversation.
Full Changelog: v0.7.5...v0.7.6