Install Microsoft Teams API for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"maxim-mazurok-teams-api": {
"command": "npx",
"args": [
"-y",
"teams-api@1.7.1"
],
"env": {
"TEAMS_EMAIL": "",
"TEAMS_AUTO": "",
"TEAMS_LOGIN": "",
"TEAMS_TOKEN": "YOUR_TEAMS_TOKEN",
"TEAMS_REGION": "",
"TEAMS_BEARER_TOKEN": "YOUR_TEAMS_BEARER_TOKEN",
"TEAMS_SUBSTRATE_TOKEN": "YOUR_TEAMS_SUBSTRATE_TOKEN",
"TEAMS_DEBUG": "",
"TEAMS_TELEMETRY": "",
"TEAMS_TELEMETRY_PATH": "",
"TEAMS_IMAGE_DESCRIPTION_API_KEY": "YOUR_TEAMS_IMAGE_DESCRIPTION_API_KEY",
"TEAMS_IMAGE_DESCRIPTION_MODEL": "",
"TEAMS_IMAGE_DESCRIPTION_BASE_URL": ""
}
}
}
}