Microsoft Teams API

MCP

by Maxim-Mazurok · v1.5.0

AI-native Microsoft Teams integration — read chats, send messages, search people

mcplocal

MCP configuration

stdio

Command

npx -y -p -y teams-api@1.5.0 teams-api-mcp

Environment

  • TEAMS_EMAIL

    Corporate email address for Teams authentication

  • TEAMS_AUTO

    Set to "true" to use auto-login (macOS + FIDO2)

  • TEAMS_LOGIN

    Set to "true" to use interactive browser login (all platforms)

  • TEAMS_TOKENsecret

    Pre-existing Skype token for direct authentication

  • TEAMS_REGION

    API region (required with TEAMS_TOKEN, auto-detected otherwise)

  • TEAMS_BEARER_TOKENsecret

    Middle-tier bearer token for profile resolution

  • TEAMS_SUBSTRATE_TOKENsecret

    Substrate bearer token for people/chat search

  • TEAMS_DEBUG

    Set to "true" to use Chrome debug session for token capture

  • TEAMS_TELEMETRY

    Set to "true" to enable full debug telemetry logging (contributor use; logs all inputs and outputs locally)

  • TEAMS_TELEMETRY_PATH

    Override the telemetry output file path (default: platform-appropriate ~/Library/... or ~/.local/share/...)

Install in one click with Zurek

Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.