Skip to main content
Glama

Microsoft Teams MCP Server

by therealjohn

microsoft-teams-mcp MCP 服务器

带有 Microsoft Teams 聊天通知工具的 MCP 服务器。

[!警告]
这仅供参考,并未使用 VS Code 以外的 MCP 客户端进行测试。

成分

工具

服务器实现了一个工具:

  • send-notification:向 Microsoft Teams 发送通知消息
    • 将“消息”和“项目”作为必需的字符串参数
    • 支持 Markdown 格式的消息
    • 使用 Azure AD 身份验证与 Teams 进行安全通信

配置

这需要使用 Microsoft Teams 机器人来发送通知。您可以使用我使用Teams Toolkit创建的示例通知机器人

服务器需要设置以下环境变量:

  • BOT_ENDPOINT :你的 Microsoft Teams 机器人的 URL 端点
  • MICROSOFT_APP_ID :来自 Azure AD 应用注册的应用程序(客户端)ID
  • MICROSOFT_APP_PASSWORD :来自 Azure AD 应用注册的客户端机密
  • MICROSOFT_APP_TENANT_ID :您的 Azure AD 租户 ID
  • EMAIL :接收通知的用户的电子邮件地址

您可以在项目根目录中的.env文件中设置这些。

快速入门

安装

VS 代码

这是使用 VS Code 中的 MCP 支持进行的测试,在创建时仅在 VS Code Insiders 中可用。

将其添加到 VS Code Insiders 设置(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>", } } } }

发展

建筑

准备分发包:

  1. 同步依赖项并更新锁文件:
uv sync
  1. 构建软件包分发版:
uv build
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

一个 MCP 服务器,可以通过简单的工具界面向 Microsoft Teams 频道发送 Markdown 格式的通知。

  1. 成分
    1. 工具
  2. 配置
    1. 快速入门
      1. 安装
    2. 发展
      1. 建筑

    Related MCP Servers

    • -
      security
      F
      license
      -
      quality
      An MCP server that enables communication with users through Telegram. This server provides a tool to ask questions to users and receive their responses via a Telegram bot.
      Last updated -
      1
      16
      JavaScript
    • -
      security
      A
      license
      -
      quality
      MCP Server for send text/markdown message via dingding (aka dingtalk) group custom robot
      Last updated -
      22
      2
      TypeScript
      MIT License
    • A
      security
      A
      license
      A
      quality
      An MCP server that connects to the Teamwork API, providing a simplified interface for interacting with Teamwork projects and tasks.
      Last updated -
      35
      53
      6
      TypeScript
      MIT License
    • A
      security
      A
      license
      A
      quality
      MCP server that integrates Microsoft Teams messaging (read, post, mention, list members and threads)
      Last updated -
      6
      239
      Python
      Apache 2.0
      • Linux
      • Apple

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/therealjohn/microsoft-teams-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server