Vexa
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
作者提供的说明(英文原文)
AI-native Microsoft Teams integration — read chats, send messages, search people
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
TEAMS_EMAIL, TEAMS_AUTO, TEAMS_HEADLESS, TEAMS_LOGIN, TEAMS_TOKEN, TEAMS_REGION, TEAMS_BEARER_TOKEN, TEAMS_SUBSTRATE_TOKEN, TEAMS_DEBUG, TEAMS_TELEMETRY, TEAMS_TELEMETRY_PATH, TEAMS_IMAGE_DESCRIPTION_API_KEY, TEAMS_IMAGE_DESCRIPTION_MODEL, TEAMS_IMAGE_DESCRIPTION_BASE_URL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"teams-api": {
"command": "npx",
"args": [
"-y",
"teams-api",
"teams-api-mcp"
],
"env": {
"TEAMS_EMAIL": "your-value",
"TEAMS_AUTO": "your-value",
"TEAMS_HEADLESS": "your-value",
"TEAMS_LOGIN": "your-value",
"TEAMS_TOKEN": "your-value",
"TEAMS_REGION": "your-value",
"TEAMS_BEARER_TOKEN": "your-value",
"TEAMS_SUBSTRATE_TOKEN": "your-value",
"TEAMS_DEBUG": "your-value",
"TEAMS_TELEMETRY": "your-value",
"TEAMS_TELEMETRY_PATH": "your-value",
"TEAMS_IMAGE_DESCRIPTION_API_KEY": "your-value",
"TEAMS_IMAGE_DESCRIPTION_MODEL": "your-value",
"TEAMS_IMAGE_DESCRIPTION_BASE_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add teams-api --env TEAMS_EMAIL=your-value --env TEAMS_AUTO=your-value --env TEAMS_HEADLESS=your-value --env TEAMS_LOGIN=your-value --env TEAMS_TOKEN=your-value --env TEAMS_REGION=your-value --env TEAMS_BEARER_TOKEN=your-value --env TEAMS_SUBSTRATE_TOKEN=your-value --env TEAMS_DEBUG=your-value --env TEAMS_TELEMETRY=your-value --env TEAMS_TELEMETRY_PATH=your-value --env TEAMS_IMAGE_DESCRIPTION_API_KEY=your-value --env TEAMS_IMAGE_DESCRIPTION_MODEL=your-value --env TEAMS_IMAGE_DESCRIPTION_BASE_URL=your-value -- npx -y teams-api teams-api-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"teams-api": {
"command": "npx",
"args": [
"-y",
"teams-api",
"teams-api-mcp"
],
"env": {
"TEAMS_EMAIL": "your-value",
"TEAMS_AUTO": "your-value",
"TEAMS_HEADLESS": "your-value",
"TEAMS_LOGIN": "your-value",
"TEAMS_TOKEN": "your-value",
"TEAMS_REGION": "your-value",
"TEAMS_BEARER_TOKEN": "your-value",
"TEAMS_SUBSTRATE_TOKEN": "your-value",
"TEAMS_DEBUG": "your-value",
"TEAMS_TELEMETRY": "your-value",
"TEAMS_TELEMETRY_PATH": "your-value",
"TEAMS_IMAGE_DESCRIPTION_API_KEY": "your-value",
"TEAMS_IMAGE_DESCRIPTION_MODEL": "your-value",
"TEAMS_IMAGE_DESCRIPTION_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"teams-api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"teams-api",
"teams-api-mcp"
],
"env": {
"TEAMS_EMAIL": "your-value",
"TEAMS_AUTO": "your-value",
"TEAMS_HEADLESS": "your-value",
"TEAMS_LOGIN": "your-value",
"TEAMS_TOKEN": "your-value",
"TEAMS_REGION": "your-value",
"TEAMS_BEARER_TOKEN": "your-value",
"TEAMS_SUBSTRATE_TOKEN": "your-value",
"TEAMS_DEBUG": "your-value",
"TEAMS_TELEMETRY": "your-value",
"TEAMS_TELEMETRY_PATH": "your-value",
"TEAMS_IMAGE_DESCRIPTION_API_KEY": "your-value",
"TEAMS_IMAGE_DESCRIPTION_MODEL": "your-value",
"TEAMS_IMAGE_DESCRIPTION_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
TEAMS_EMAIL envTEAMS_AUTO envTEAMS_HEADLESS envTEAMS_LOGIN envTEAMS_REGION envTEAMS_DEBUG envTEAMS_TELEMETRY envTEAMS_TELEMETRY_PATH envTEAMS_IMAGE_DESCRIPTION_MODEL envTEAMS_IMAGE_DESCRIPTION_BASE_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Maxim-Mazurok 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:TEAMS_TOKEN, TEAMS_BEARER_TOKEN, TEAMS_SUBSTRATE_TOKEN, TEAMS_IMAGE_DESCRIPTION_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.10.1)于12天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Vexa, emailmd, MCP WhatsApp Cloud
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
AI-native Microsoft Teams integration — read conversations, send messages, and manage members via the Teams Chat Service REST API.
Designed for autonomous AI agents that need to interact with Teams: read messages, reply to people, monitor conversations, and participate in team workflows.
[!NOTE]
This project was AI-generated using Claude Opus 4.6 with human guidance and review.
teams-api can be used in three ways:
npx, which all MCP and CLI commands use.The quickest way to get started is to click one of the install badges above, or follow the instructions for your editor below.
VS Code / VS Code Insiders
Option 1 — One-click install:
Option 2 — CLI:
macOS / Linux:
# VS Code
code --add-mcp '{"name":"teams","command":"npx","args":["-y","-p","teams-api@latest","teams-api-mcp"],"env":{"TEAMS_LOGIN":"true"}}'
code-insiders --add-mcp '{"name":"teams","command":"npx","args":["-y","-p","teams-api@latest","teams-api-mcp"],"env":{"TEAMS_LOGIN":"true"}}'
Windows (PowerShell):
# VS Code
code --add-mcp '{"name":"teams","command":"npx","args":["-y","-p","teams-api@latest","teams-api-mcp"],"env":{"TEAMS_LOGIN":"true"}}'
code-insiders --add-mcp '{"name":"teams","command":"npx","args":["-y","-p","teams-api@latest","teams-api-mcp"],"env":{"TEAMS_LOGIN":"true"}}'
Windows (CMD):
rem VS Code
code --add-mcp "{\"name\":\"teams\",\"command\":\"npx\",\"args\":[\"-y\",\"-p\",\"teams-api@latest\",\"teams-api-mcp\"],\"env\":{\"TEAMS_LOGIN\":\"true\"}}"
rem VS Code Insiders code-insiders --add-mcp "{\"name\":\"teams\",\"command\":\"npx\",\"args\":[\"-y\",\"-p\",\"teams-api@latest\",\"teams-api-mcp\"],\"env\":{\"TEAMS_LOGIN\":\"true\"}}"
Option 3 — Manual config:
Add to your VS Code MCP config (.vscode/mcp.json or User Settings):
{
"mcpServers": { "teams": { "command": "npx", "args": ["-y", "-p", "teams-api@latest", "teams-api-mcp"], "env": { "TEAMS_LOGIN": "true" } } } }
Cursor
Or add to ~/.cursor/mcp.json:
{
"mcpServers": { "teams": { "command": "npx", "args": ["-y", "-p", "teams-api@latest", "teams-api-mcp"], "env": { "TEAMS_LOGIN": "true" } } } }
Claude Desktop
Add to claude_desktop_config.json (how to find it):
{
"mcpServers": { "teams": { "command": "npx", "args": ["-y", "-p", "teams-api@latest", "teams-api-mcp"], "env": { "TEAMS_LOGIN": "true" } } } }
Claude Code
claude mcp add teams -- npx -y -p teams-api@latest teams-api-mcp
Then set the environment variable TEAMS_LOGIN=true in your shell before starting Claude Code. The server will ask for your email interactively on first use.
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": { "teams": { "command": "npx", "args": ["-y", "-p", "teams-api@latest", "teams-api-mcp"], "env": { "TEAMS_LOGIN": "true" } } } }
[!TIP]
On macOS with a FIDO2 passkey, replace
TEAMS_LOGINwithTEAMS_AUTOfor fully unattended auth. See Authentication for details.
You can also use the CLI directly without installing anything:
npx -y -p teams-api@latest teams-api auth --login
npx -y -p teams-api@latest teams-api list-conversations --login --limit 20
If you use the CLI often, a global install is optional:
npm install -g teams-api
teams-api auth --login
Compatible coding agents can install the optional teams-api skill to learn when and how to use the CLI or SDK:
npx -y skills add Maxim-Mazurok/teams-api --skill teams-api
The installer detects supported agents and asks whether to install the skill for the current project or globally. Once installed, the agent loads it automatically for relevant Teams tasks.
Manual token usage, debug-session auth, and programmatic Node.js usage are covered later in this README.
| Feature | macOS | Windows / Linux |
|---|---|---|
| Interactive login | Full support | Full support |
| Auto-login (FIDO2) | Full support | Not supported |
| Debug session | Full support | Full support |
| Direct token | Full support | Full support |
| Token caching | macOS Keychain | Windows DPAPI / Linux secret-tool |
| CLI & MCP server | Full support | Full support |
| Programmatic API | Full support | Full support |
[!NOTE]
Windows Defender false positive: Older versions of this package used inline PowerShell to call the Windows DPAPI — a pattern that Windows Defender flags as ransomware-like behavior. This has been replaced with native Windows Credential Manager storage via keytar. If you hit issues on an older version, upgrade and re-run
teams-api auth --login. See SECURITY.md for details.
Most users do not need to manage tokens manually.
If you use interactive login, auto-login, or a Chrome debug session, teams-api captures the full token bundle automatically from Teams web traffic. That includes the base skypeToken plus the extra bearer tokens used for profile resolution and reliable people/chat/channel search.
Those flows also detect the Teams chat region automatically from the intercepted request URLs, so most users do not need to set --region or TEAMS_REGION.
On macOS, prefer auto-login when you have a platform authenticator / FIDO2 passkey set up. On other platforms, use interactive login.
Direct token usage is the advanced/manual path.
| Method | Description | Automation | Platform |
|---|---|---|---|
| Auto-login | Playwright launches system Chrome and captures the full token bundle | Fully unattended | macOS |
| Interactive login | Opens a browser window and captures skype, middle-tier, and Substrate tokens | One-time manual | All |
| Debug session | Connects to a running Chrome instance and captures the full token bundle | Semi-manual | All |
| Direct token | Provide a previously captured token or token bundle explicitly | Manual | All |
Requires macOS with a platform authenticator (e.g. Intune Company Portal) and a FIDO2 passkey enrolled. Fully unattended — no browser window appears.
The easiest cross-platform option. A browser window opens, you log in with any method your organization supports (password, MFA, passkey, etc.), and the token is captured automatically:
teams-api auth --login
Optionally pre-fill your email:
teams-api auth --login --email you@example.com
[!NOTE]
Interactive login prefers an installed browser (Edge or Chrome) when available, and falls back to Playwright's bundled Chromium.
Debug session — start Chrome with --remote-debugging-port=9222, navigate to Teams and log in, then run:
teams-api auth --debug-port 9222
Direct token — advanced/manual only. Extract x-skypetoken from browser DevTools (Network tab) and pass it directly:
teams-api list-conversations --token "<paste-token-here>" --region emea
If you want reliable people/chat/channel lookup and profile resolution on the direct-token path, also pass the extra bearer tokens captured from Teams requests:
teams-api find-people \
--token " " \ --bearer-token " " \ --substrate-token " " \ --region emea \ --query "Jane Doe"
[!TIP]
Skip this section if you are using
--login,--auto,TEAMS_LOGIN, orTEAMS_AUTO. Those modes captur
只显示了开头部分;其余内容请在仓库中阅读