You can run the MCP Teams Server using a pre-built Docker image from ghcr.io. First, pull the latest image:
docker pull ghcr.io/inditextech/mcp-teams-server:latest
Then, add the following configuration to your MCP settings file (e.g., for Claude Desktop or Cursor). You must provide your Microsoft Teams credentials and IDs in the env section.
{
"mcpServers": {
"msteams": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TEAMS_APP_ID",
"-e",
"TEAMS_APP_PASSWORD",
"-e",
"TEAMS_APP_TYPE",
"-e",
"TEAMS_APP_TENANT_ID",
"-e",
"TEAM_ID",
"-e",
"TEAMS_CHANNEL_ID",
"ghcr.io/inditextech/mcp-teams-server"
],
"env": {
"TEAMS_APP_ID": "<fill_me_with_proper_uuid>",
"TEAMS_APP_PASSWORD": "<fill_me_with_proper_uuid>",
"TEAMS_APP_TYPE": "<fill_me_with_proper_uuid>",
"TEAMS_APP_TENANT_ID": "<fill_me_with_proper_uuid>",
"TEAM_ID": "<fill_me_with_proper_uuid>",
"TEAMS_CHANNEL_ID": "<fill_me_with_proper_channel_id>",
"DOCKER_HOST": "unix:///var/run/docker.sock"
}
}
}
}