Skip to main content
Glama
Microsoft Teams MCP Server

Microsoft Teams MCP Server

by therealjohn

Servidor MCP de Microsoft Teams MCCP

Un servidor MCP con una herramienta para notificaciones de chat de Microsoft Teams.

[!ADVERTENCIA]
Esto se proporciona como referencia y no se probó con clientes MCP distintos de VS Code.

Componentes

Herramientas

El servidor implementa una herramienta:

  • send-notification: envía un mensaje de notificación a Microsoft Teams

    • Toma "mensaje" y "proyecto" como argumentos de cadena requeridos

    • Admite formato Markdown para mensajes

    • Utiliza la autenticación de Azure AD para comunicarse de forma segura con Teams

Related MCP server: Toast MCP Server

Configuración

Esto requiere un bot de Microsoft Teams para las notificaciones. Puedes usar mi bot de notificaciones de ejemplo creado con Teams Toolkit .

El servidor requiere que se configuren las siguientes variables de entorno:

  • BOT_ENDPOINT : El punto final de URL de su bot de Microsoft Teams

  • MICROSOFT_APP_ID : ID de la aplicación (cliente) del registro de la aplicación de Azure AD

  • MICROSOFT_APP_PASSWORD : Secreto de cliente del registro de la aplicación de Azure AD

  • MICROSOFT_APP_TENANT_ID : Su identificador de inquilino de Azure AD

  • EMAIL : La dirección de correo electrónico para que el usuario reciba notificaciones

Puede configurarlos en un archivo .env en el directorio raíz del proyecto.

Inicio rápido

Instalar

Código VS

Esto se probó utilizando el soporte MCP en VS Code, que en el momento de su creación solo estaba disponible en VS Code Insiders.

Agregue esto a la configuración de Insiders de VS Code (JSON)

"mcp": {
  "inputs": [],
  "servers": {
      "MicrosoftTeams": {
          "command": "uv",
          "args": [
              "--directory",
              "<path/to/the/project>/microsoft-teams-mcp",
              "run",
              "microsoft-teams-mcp"
          ],
          "env": {
              "BOT_ENDPOINT": "<endpoint or dev tunnel URL of Teams bot>/api/notification",
              "MICROSOFT_APP_ID": "<microsoft-entra-client-id>",
              "MICROSOFT_APP_PASSWORD": "<microsoft-entra-client-secret>",
              "MICROSOFT_APP_TENANT_ID": "<microsoft-entra-tenant-id>",
              "EMAIL": "<your-email-in-teams>",
          }
      }
  }
    }

Desarrollo

Edificio

Para preparar el paquete para su distribución:

  1. Sincronizar dependencias y actualizar archivo de bloqueo:

uv sync
  1. Distribuciones de paquetes de compilación:

uv build

Available Tools

1 tool
send-notificationC

Send a notification message to the user. Supports markdown formatting for messages. Use backticks for code blocks and inline code. Use square brackets for placeholders.

Inputs: message (required), project (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The tool 'send-notification' has a clear and singular purpose, making it impossible for an agent to misselect between tools.

    Naming Consistency5/5

    The single tool name 'send-notification' follows a consistent verb-noun pattern. Since there is only one tool, there is no inconsistency to evaluate, and the naming is straightforward and predictable.

    Tool Count2/5

    A single tool is too few for a server named 'Microsoft Teams MCP Server', which suggests a broader domain like messaging, collaboration, or team management. This minimal set likely leaves significant gaps in functionality, making it inappropriate for the implied scope.

    Completeness1/5

    The tool set is severely incomplete for a Microsoft Teams server. It only covers sending notifications, missing essential operations such as reading messages, managing channels, handling meetings, or interacting with users, which are core to the Teams domain and will cause agent failures.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that displays desktop notifications on Windows 10 and macOS, compatible with VSCode Cline and supporting customizable notification parameters.
      4
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that bridges Microsoft Teams and MCP-compatible clients, enabling chat integration, message handling, and advanced search capabilities without REST API endpoints.
      1
      -
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      An MCP server that enables sending data to webhooks via HTTP POST for both local and remote team environments. It provides a tool for relaying task descriptions, custom metadata, and automated notifications to external services.
      4 npm
      -