Skip to main content
Glama

MCP Microsoft Teams Server

by InditexTech
Apache 2.0
232
  • Linux
  • Apple

GitHub 许可证GitHub 发布

MCP 团队服务器

用于Microsoft Teams集成的 MCP(模型上下文协议)服务器实现,提供阅读消息、创建消息、回复消息、提及成员的功能。

特征

https://github.com/user-attachments/assets/548a9768-1119-4a2d-bd5c-6b41069fc522

  • 在频道中发起带有标题和内容的讨论,并提及用户
  • 通过消息回复更新现有主题,提及用户
  • 阅读主题回复
  • 列出频道团队成员
  • 阅读频道消息

先决条件

安装

  1. 克隆存储库:
git clone [repository-url] cd mcp-teams-server
  1. 创建虚拟环境并安装依赖项:
uv venv uv sync --frozen --all-extras --dev

团队配置

请阅读本文档,了解如何配置 Microsoft Teams 和所需的 Azure 资源。它并非分步指南,但可以帮助您明确所需内容。

用法

在 shell 或 .env 文件中设置以下环境变量。您可以使用示例文件作为模板:

钥匙描述
团队应用 ID您的 MS Entra ID 应用程序 ID 的 UUID
TEAMS_APP_密码客户端机密
TEAMS_APP_TYPE单租户或多租户
TEAMS_APP_TENANT_ID如果是 SingleTenant,则租户 uuid
球队 IDMS Teams 组 ID 或团队 ID
团队频道 ID带有 URL 转义字符的 MS Teams 频道 ID

启动服务器:

uv run mcp-teams-server

发展

集成测试需要设置以下环境变量:

钥匙描述
测试线程 ID线程 ID 的时间戳
测试消息 ID消息 ID 的时间戳
测试用户名测试用户名
uv run pytest -m integration

预构建的docker镜像

ghcr.io 上托管了一个预构建的镜像。您可以通过运行以下命令来安装此镜像

docker pull ghcr.io/inditextech/mcp-teams-server:latest

构建docker镜像

您可以使用以下命令构建 Docker 镜像来运行 MCP 服务器:

docker build . -t inditextech/mcp-teams-server

运行docker镜像

基本运行配置:

docker run -it inditextech/mcp-teams-server

使用 .env 文件中的环境变量运行:

docker run --env-file .env -it inditextech/mcp-teams-server

设置 LLM 以使用 MCP Teams Server

请按照以下文档中的说明进行操作

变更日志

请参阅CHANGELOG.md了解变更列表和版本历史记录。

贡献

请阅读CONTRIBUTING.md了解我们的行为准则和提交拉取请求的流程的详细信息。

安全

出于安全考虑,请参阅我们的安全政策

执照

该项目根据Apache-2.0文件获得许可,详情请见。

© 2025 INDUSTRIA DE DISEÑO TEXTIL SA (INDITEX SA)

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

集成 Microsoft Teams 消息传递(阅读、发布、提及、列出成员和线程)的 MCP 服务器

  1. 特征
    1. 先决条件
      1. 安装
        1. 团队配置
          1. 用法
            1. 发展
              1. 预构建的docker镜像
              2. 构建docker镜像
              3. 运行docker镜像
              4. 设置 LLM 以使用 MCP Teams Server
            2. 变更日志
              1. 贡献
                1. 安全
                  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
                    • 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
                      50
                      4
                      TypeScript
                      MIT License
                    • -
                      security
                      F
                      license
                      -
                      quality
                      An MCP server that enables sending Markdown-formatted notifications to Microsoft Teams channels through a simple tool interface.
                      Last updated -
                      1
                      Python
                    • -
                      security
                      -
                      license
                      -
                      quality
                      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.
                      Last updated -
                      Python

                    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/InditexTech/mcp-teams-server'

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