================== /// MCP /// /// MCP /// ================== [server:online] [protocol:ready]
mcp-teams-server
by InditexTech
Python implementation of an MCP (Model Context Protocol) server that connects to Microsoft Teams to read, create and reply to channel messages, mentions users and lists members.
read messages
Capability to fetch and display messages from Microsoft Teams channels or threads
create messages
Capability to post a new message into a Microsoft Teams channel or thread
reply to messages
Capability to add a reply to an existing Microsoft Teams message or thread
mention members
Capability to mention specific Microsoft Teams users within a message
Start thread in channel with title and contents, mentioning users
Starts a new conversation thread in a channel, setting a title, body content and including user mentions
Update existing threads with message replies, mentioning users
Adds replies to an existing thread while optionally mentioning users
Read thread replies
Retrieves the list of replies in a specific conversation thread
List channel team members
Lists the members (users) that belong to a given Microsoft Teams channel
Read channel messages
Reads all messages present in a specified Microsoft Teams channel
Installation
python -m venv .venv
pip install -r requirements.txt
# If the repo uses Poetry instead:
# poetry install
# Set the following environment variables (obtained from Azure AD App Registration)
export AZURE_CLIENT_ID="<app-id>"
export AZURE_TENANT_ID="<tenant-id>"
export AZURE_CLIENT_SECRET="<secret>"
export TEAMS_BOT_ID="<bot-id>" # Optional – if bot identity is separate
# Container image (example)
docker build -t inditex/mcp-teams-server .
docker run -p 8080:8080 -e AZURE_CLIENT_ID=... inditex/mcp-teams-server
Documentation
# Transform Your Team Communication with Augment Code + Microsoft Teams The **mcp-teams-server** supercharges Augment Code by seamlessly connecting your AI coding assistant directly to Microsoft Teams channels. Instead of switching between your IDE and Teams to discuss code, share updates, or coordinate with your team, Augment can now handle all your Teams communication while you stay focused on coding. ## Streamlined Development Workflows With this MCP server configured in Augment Code, you can ask your AI assistant to perform sophisticated Teams operations directly from your coding environment. **"Hey Augment, post this code snippet to the #backend-review channel and mention @sarah for feedback"** becomes a natural part of your workflow. Augment can create threaded discussions around specific code changes, automatically notify relevant team members about pull requests, and even pull in team feedback to help you refine your implementations. The server's thread management capabilities mean Augment can maintain context across ongoing code discussions, creating organized conversations that reference specific commits, issues, or implementation details. ## Enhanced Collaboration and Code Reviews The real power emerges when Augment Code can bridge your development process with team communication. During code reviews, Augment can automatically post code snippets to designated channels, mention specific team members based on file ownership or expertise areas, and even create structured threads for complex technical discussions. When you're debugging a critical issue, Augment can instantly notify your team channel with relevant error logs, mention the right people, and track responses - all while you continue working on the solution. This integration transforms Teams from a separate communication tool into an extension of your development environment, making team collaboration as seamless as writing code itself. **Ready to connect your coding workflow to Teams?** Add the mcp-teams-server to your Augment Code MCP configuration and experience development collaboration like never before. Your team communication will never feel disconnected from your code again.