MCP Teams Server

MCP Teams Server

Model Context Protocol server implementation for Microsoft Teams integration.

331
Stars
27
Forks
331
Watchers
8
Issues
MCP Teams Server implements the Model Context Protocol (MCP) to enable integration with Microsoft Teams, allowing for reading, creating, and replying to messages as well as managing mentions and channel members. It offers seamless server capabilities that bridge MCP-compliant tools with Microsoft Teams environments. The solution supports message threading, user mentions, and team/channel context management, enhancing collaboration and automation in Teams. Pre-built Docker images and straightforward deployment options are provided.

Key Features

Start threads in Teams channels with titles, contents, and user mentions
Update existing threads by replying to messages and mentioning users
Read thread replies and channel messages
List channel or team members
Supports both single and multi-tenant authentication
Configurable environment for flexible deployments
Integration tests for core API endpoints
Pre-built Docker image for quick setup
Easy environment setup via sample environment files
Works with Azure and Microsoft Entra ID for authentication

Use Cases

Automate channel message creation and reply flows in Microsoft Teams
Build integrations that bridge MCP-compatible systems with Microsoft Teams collaboration tools
Manage contextual threads and conversations programmatically within Teams
Automate member mentioning for team notifications or workflow triggers
Extract or sync Teams messages and threads for recordkeeping and analytics
Manage team and channel membership lists for administration or reporting
Support devops or incident response scenarios needing programmable chat access
Enable bots or automated agents to interact contextually in Teams
Facilitate conversational AI or workflow assistants using Teams as a front-end
Develop custom applications requiring precise message/thread handling in Teams

README

Bugs Maintainability Rating Reliability Rating GitHub License GitHub Release Scorecard

MCP Teams Server

An MCP (Model Context Protocol) server implementation for Microsoft Teams integration, providing capabilities to read messages, create messages, reply to messages, mention members.

Features

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

  • Start thread in channel with title and contents, mentioning users
  • Update existing threads with message replies, mentioning users
  • Read thread replies
  • List channel team members
  • Read channel messages

Prerequisites

Installation

  1. Clone the repository:
bash
git clone [repository-url]
cd mcp-teams-server
  1. Create a virtual environment and install dependencies:
bash
uv venv
uv sync --frozen --all-extras --dev

Teams configuration

Please read this document to help you to configure Microsoft Teams and required Azure resources. It is not a step-by-step guide but can help you figure out what you will need.

Usage

Set up the following environment variables in your shell or in an .env file. You can use sample file as a template:

Key Description
TEAMS_APP_ID UUID for your MS Entra ID application ID
TEAMS_APP_PASSWORD Client secret
TEAMS_APP_TYPE SingleTenant or MultiTenant
TEAMS_APP_TENANT_ID Tenant uuid in case of SingleTenant
TEAM_ID MS Teams Group Id or Team Id
TEAMS_CHANNEL_ID MS Teams Channel ID with url escaped chars

Start the server:

bash
uv run mcp-teams-server

Development

Integration tests require the set-up the following environment variables:

Key Description
TEST_THREAD_ID timestamp of the thread id
TEST_MESSAGE_ID timestamp of the message id
TEST_USER_NAME test user name
bash
uv run pytest -m integration

Pre-built docker image

There is a pre-built image hosted in ghcr.io. You can install this image by running the following command

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

Build docker image

A docker image is available to run MCP server. You can build it with the following command:

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

Run docker image

Basic run configuration:

bash
docker run -it inditextech/mcp-teams-server

Run with environment variables from .env file:

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

Setup LLM to use MCP Teams Server

Please follow instructions on the following document

Changelog

See CHANGELOG.md for a list of changes and version history.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

Security

For security concerns, please see our Security Policy.

License

This project is licensed under the Apache-2.0 file for details.

© 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)

Star History

Star History Chart

Repository Owner

InditexTech
InditexTech

Organization

Repository Details

Language Python
Default Branch master
Size 59,023 KB
Contributors 3
License Apache License 2.0
MCP Verified Nov 11, 2025

Programming Languages

Python
97.07%
Dockerfile
2.93%

Topics

inditex mcp mcp-server msteams

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Insforge MCP Server

    Insforge MCP Server

    A Model Context Protocol server for seamless integration with Insforge and compatible AI clients.

    Insforge MCP Server implements the Model Context Protocol (MCP), enabling smooth integration with various AI tools and clients. It allows users to configure and manage connections to the Insforge platform, providing automated and manual installation methods. The server supports multiple AI clients such as Claude Code, Cursor, Windsurf, Cline, Roo Code, and Trae via standardized context management. Documentation and configuration guidelines are available for further customization and usage.

    • 3
    • MCP
    • InsForge/insforge-mcp
  • Slack MCP Server

    Slack MCP Server

    A feature-rich Model Context Protocol server for integrating Slack Workspaces with AI model context management.

    Slack MCP Server acts as a Model Context Protocol (MCP) server tailored for Slack Workspaces, providing flexible integration modes including Stealth and OAuth. It enables advanced functionalities such as fetching channel and thread messages, supporting direct and group messages, smart history retrieval, and robust context management for AI workflows. Communication is supported over Stdio, SSE, and HTTP transports, and the platform includes enhanced features like user information embedding and cache support. Designed for enterprise and individual use, it allows seamless context extraction and management without compromising workspace security.

    • 903
    • MCP
    • korotovsky/slack-mcp-server
  • LINE Bot MCP Server

    LINE Bot MCP Server

    MCP server connecting LINE Messaging API with AI agents

    Provides a Model Context Protocol (MCP) server implementation for integrating AI agents with the LINE Messaging API. Enables sending text and flex messages, accessing user profiles, and managing features like rich menus via MCP-compatible endpoints. Designed for connecting AI-driven context management with LINE Official Accounts for experimental and production scenarios.

    • 493
    • MCP
    • line/line-bot-mcp-server
  • mcp-server-rabbitmq

    mcp-server-rabbitmq

    RabbitMQ Reference Implementation for the Model Context Protocol (MCP)

    Implements a server for the Model Context Protocol (MCP) using RabbitMQ as the messaging backend. Provides a standardized approach for handling model context, enabling scalable and efficient context management for AI applications. The project has been migrated to the official Amazon MQ repository.

    • 40
    • MCP
    • kenliao94/mcp-server-rabbitmq
  • Discord MCP

    Discord MCP

    Seamlessly integrate AI and Discord through the Model Context Protocol.

    Discord MCP is a server implementing the Model Context Protocol (MCP) for the Discord API using JDA, enabling AI assistants and applications to interact with Discord servers. It facilitates the management of channels, messages, and server information, supporting automation and integration with MCP-compatible clients such as Claude Desktop. Installation is supported via Docker and manual builds with Maven, providing flexibility for deployment. It enables enhanced automation and context management for Discord bots via the standardized MCP interface.

    • 116
    • MCP
    • SaseQ/discord-mcp
  • Mattermost MCP Host

    Mattermost MCP Host

    Connects Mattermost to MCP servers, enabling AI agent-powered tool orchestration within chat.

    Mattermost MCP Host integrates the Model Context Protocol (MCP) with Mattermost, utilizing a LangGraph-based AI agent to facilitate seamless user interaction and dynamic tool execution directly in chat. It supports integration with multiple MCP servers, automatically discovers available tools, and allows users to issue commands or natural language requests. Conversational context is maintained in threads, and users can interact directly with MCP servers to manage resources and capabilities.

    • 27
    • MCP
    • jagan-shanmugam/mattermost-mcp-host
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results