Basic information
About Microsoft Teams MCP Server
Integrate Microsoft Teams with Microsoft Graph API to manage chats, messages, and users securely using device code authentication.
Microsoft Teams is a MCP server in the Productivity category listed in the AddMCP.net directory, published by floriscornel. It exposes 19 tools, including auth_status, get_current_user, search_users, get_user and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 120 GitHub stars. Source code is hosted on github.com. Related topics: communication, community, mcp, mcp-server, microsoft-teams.
Setup
{
"mcpServers": {
"teams-mcp": {
"command": "npx",
"args": [
"-y",
"@floriscornel/teams-mcp@latest"
]
}
}
}
{
"mcpServers": {
"teams-mcp": {
"command": "npx",
"args": [
"-y",
"@floriscornel/teams-mcp@latest"
]
}
}
}
{
"servers": {
"teams-mcp": {
"command": "npx",
"args": [
"-y",
"@floriscornel/teams-mcp@latest"
]
}
}
}
Microsoft Teams MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"teams-mcp": {
"command": "npx",
"args": [
"-y",
"@floriscornel/teams-mcp@latest"
]
}
}
}
Microsoft Teams MCP Server tools
- auth_status — Check the authentication status of the Microsoft Graph connection. Returns whether the user is authenticated and shows their basic profile information.
- get_current_user — Get the current authenticated user's profile information including display name, email, job title, and department.
- search_users — Search for users in the organization by name or email address. Returns matching users with their basic profile information.
- get_user — Get detailed information about a specific user by their ID or email address. Returns profile information including name, email, job title, and department.
- list_teams — List all Microsoft Teams that the current user is a member of. Returns team names, descriptions, and IDs.
- list_channels — List all channels in a specific Microsoft Team. Returns channel names, descriptions, types, and IDs for the specified team.
- get_channel_messages — Retrieve recent messages from a specific channel in a Microsoft Team. Returns message content, sender information, and timestamps.
- send_channel_message — Send a message to a specific channel in a Microsoft Team. Supports text and markdown formatting, mentions, and importance levels.
- get_channel_message_replies — Get all replies to a specific message in a channel. Returns reply content, sender information, and timestamps.
- reply_to_channel_message — Reply to a specific message in a channel. Supports text and markdown formatting, mentions, and importance levels.
- list_team_members — List all members of a specific Microsoft Team. Returns member names, email addresses, roles, and IDs.
- search_users_for_mentions — Search for users to mention in messages. Returns users with their display names, email addresses, and mention IDs.
- list_chats — List all recent chats (1:1 conversations and group chats) that the current user participates in. Returns chat topics, types, and participant information.
- get_chat_messages — Retrieve recent messages from a specific chat conversation. Returns message content, sender information, and timestamps.
- send_chat_message — Send a message to a specific chat conversation. Supports text and markdown formatting, mentions, and importance levels.
- create_chat — Create a new chat conversation. Can be a 1:1 chat (with one other user) or a group chat (with multiple users). Group chats can optionally have a topic.
- search_messages — Search for messages across all Microsoft Teams channels and chats using Microsoft Search API. Supports advanced KQL syntax for filtering by sender, mentions, attachments, and more.
- get_recent_messages — Get recent messages from across Teams with advanced filtering options. Can filter by time range, scope (channels vs chats), teams, channels, and users.
- get_my_mentions — Find all recent messages where the current user was mentioned (@mentioned) across Teams channels and chats.
Overview
What is Microsoft Teams?
A Model Context Protocol (MCP) server that integrates with Microsoft Graph APIs, enabling AI assistants to interact with Microsoft Teams, users, chats, files, and organizational data.
How to use Microsoft Teams?
Install via npx -y @floriscornel/teams-mcp@latest, authenticate using the authenticate CLI command, then start the MCP server. Configuration with AUTH_TOKEN environment variable is also supported.
Key features of Microsoft Teams
- OAuth 2.0 device code authentication with Microsoft Graph
- User management: search, profile, directory access
- Teams and channel operations: list, send, edit, delete messages
- Chat and messaging: 1:1/group chats, send, edit, delete
- File upload and hosted content download
- Advanced message search with KQL and filtering
Use cases of Microsoft Teams
- AI assistant retrieves recent messages from a
Videos
Tutorials, guides, and showcases related to Microsoft Teams MCP Server. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In