An MCP (Model Context Protocol) server implementation for Microsoft Teams integration, providing capabilities to read messages, create messages, reply to messages, mention members. - 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 - uv package
Add this skill
npx mdskills install InditexTech/mcp-teams-serverWell-documented Microsoft Teams integration with comprehensive setup guidance and clear capabilities
1[](https://sonarcloud.io/summary/new_code?id=InditexTech_mcp-teams-server)2[](https://sonarcloud.io/summary/new_code?id=InditexTech_mcp-teams-server)3[](https://sonarcloud.io/summary/new_code?id=InditexTech_mcp-teams-server)456[](https://scorecard.dev/viewer/?uri=github.com/InditexTech/mcp-teams-server)7<!-- [](https://www.bestpractices.dev/projects/10400) -->8910# MCP Teams Server1112An MCP ([Model Context Protocol](https://modelcontextprotocol.io/introduction)) server implementation for13[Microsoft Teams](https://www.microsoft.com/en-us/microsoft-teams/group-chat-software/) integration, providing capabilities to14read messages, create messages, reply to messages, mention members.1516## Features1718https://github.com/user-attachments/assets/548a9768-1119-4a2d-bd5c-6b41069fc5221920- Start thread in channel with title and contents, mentioning users21- Update existing threads with message replies, mentioning users22- Read thread replies23- List channel team members24- Read channel messages2526## Prerequisites2728- [uv](https://github.com/astral-sh/uv) package manager29- [Python 3.10](https://www.python.org/)30- Microsoft Teams account with [proper set-up](./doc/MS-Teams-setup.md)3132## Installation33341. Clone the repository:3536```bash37git clone [repository-url]38cd mcp-teams-server39```40412. Create a virtual environment and install dependencies:4243```bash44uv venv45uv sync --frozen --all-extras --dev46```4748## Teams configuration4950Please read [this document](./doc/MS-Teams-setup.md) to help you to configure Microsoft Teams and required51Azure resources. It is not a step-by-step guide but can help you figure out what you will need.5253## Usage5455Set up the following environment variables in your shell or in an .env file. You can use [sample file](./sample.env)56as a template:5758| Key | Description |59|-------------------------|--------------------------------------------|60| **TEAMS_APP_ID** | UUID for your MS Entra ID application ID |61| **TEAMS_APP_PASSWORD** | Client secret |62| **TEAMS_APP_TYPE** | SingleTenant or MultiTenant |63| **TEAMS_APP_TENANT_ID** | Tenant uuid in case of SingleTenant |64| **TEAM_ID** | MS Teams Group Id or Team Id |65| **TEAMS_CHANNEL_ID** | MS Teams Channel ID with url escaped chars |6667Start the server:6869```bash70uv run mcp-teams-server71```7273## Development7475Integration tests require the set-up the following environment variables:7677| Key | Description |78|------------------------|--------------------------------|79| **TEST_THREAD_ID** | timestamp of the thread id |80| **TEST_MESSAGE_ID** | timestamp of the message id |81| **TEST_USER_NAME** | test user name |828384```bash85uv run pytest -m integration86```8788### Pre-built docker image8990There is a [pre-built image](https://github.com/InditexTech/mcp-teams-server/pkgs/container/mcp-teams-server) hosted in ghcr.io.91You can install this image by running the following command9293```commandline94docker pull ghcr.io/inditextech/mcp-teams-server:latest95```9697### Build docker image9899A docker image is available to run MCP server. You can build it with the following command:100101```bash102docker build . -t inditextech/mcp-teams-server103```104105### Run docker image106107Basic run configuration:108109```bash110docker run -it inditextech/mcp-teams-server111```112113Run with environment variables from .env file:114115```bash116docker run --env-file .env -it inditextech/mcp-teams-server117```118119### Setup LLM to use MCP Teams Server120121Please follow instructions on the [following document](./llms-install.md)122123## Changelog124125See [CHANGELOG.md](CHANGELOG.md) for a list of changes and version history.126127## Contributing128129Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull130requests.131132## Security133134For security concerns, please see our [Security Policy](SECURITY.md).135136## License137138This project is licensed under the [Apache-2.0](LICENSE.txt) file for details.139140© 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)141
Full transparency — inspect the skill content before installing.