An MCP (Model Context Protocol) server implementation for Microsoft Teams integration, providing capabilities to read messages, create messages, reply to messages, mention members.
星數
450
工具
—
可用率
—
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.
git clone https://github.com/InditexTech/mcp-teams-server
cd mcp-teams-server
Create a virtual environment and install dependencies:
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_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:
uv run mcp-teams-server
The default MCP transport is stdio. You can also use streamable-http for HTTP deployments:
uv run mcp-teams-server --transport streamable-http
The legacy sse transport is still available for older clients.
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
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
An MCP (Model Context Protocol) server implementation for Microsoft Teams integration, providing capabilities to read messages, create messages, reply to messages, mention members.
上次檢查時間:2026-11-05。 An MCP (Model Context Protocol) server implementation for Microsoft Teams integration, providing capabilities to read messages, create messages, reply to messages, mention members.