Microsoft Teams MCP server for Claude, ChatGPT, Claude Code and Cursor
Microsoft Teams integrates chat, video meetings, and file storage within Microsoft 365, providing virtual collaboration and communication for distributed teams
Examples of what your AI apps can do in Microsoft Teams. You'll see the exact list of tools after you connect it.
add_member_to_team
ToolThis action adds a specified user to an existing Microsoft Teams team. It can assign user roles like "owner". Use this action to manage team memberships efficiently.
archive_team
ToolThis action archives a specified Microsoft Teams team by its ID. It also allows setting the SharePoint site to read-only for team members during the archiving process.
create_meeting
ToolThis action schedules a new standalone Microsoft Teams online meeting. It allows users to specify meeting details such as the timing, subject, and participants.
create_team
ToolThis action creates a new team in Microsoft Teams. It provisions the team with a name, optional template, channels, and specified members.
delete_team
ToolThis action deletes a specified Microsoft Teams team using its unique identifier. Ensure that the team ID is correct, as this action is irreversible.
get_channel
ToolFetches details of a specific Microsoft Teams channel based on the provided team and channel identifiers. This action ensures you have accurate and current information about the channel's properties.
get_chat_message
ToolRetrieves a specific chat message from a Microsoft Teams chat. You need to provide the chat ID and message ID to get the desired message details.
get_team
ToolFetches details of a Microsoft Teams team using its unique ID. This action provides essential information about the team, including settings and visibility status.
list_message_replies
ToolThis action retrieves replies to a specified message within a channel in Microsoft Teams. It allows users to view the conversation that follows a particular message, which can aid in context and understanding of discussions.
list_team_members
ToolThis action retrieves the members of a specified Microsoft Teams team. It can be used for auditing purposes or to notify users about team membership changes.
teams_create_chat
ToolThis action creates a new chat in Microsoft Teams, either as a one-on-one or group chat. If a one-on-one chat already exists with the specified members, it retrieves the details of that chat instead. IMPORTANT: The authenticated user (the person making the API call) MUST be included as one of the members in the chat - this is a Microsoft Teams API requirement.
unarchive_team
ToolThis action unarchives a Microsoft Teams team, restoring it to active status. You need to provide the unique identifier of the team you wish to unarchive.
update_channel_message
ToolThis action updates an existing message in a Microsoft Teams channel. It requires the unique identifiers for the team, channel, and message to specify which message to modify.
update_chat_message
ToolThis action updates a specific message in a Microsoft Teams chat. It allows users to change the content of a previously sent message, ensuring that information remains accurate and up to date.
update_team
ToolThis action updates the properties of a Microsoft Teams team. It allows you to modify settings related to team members, messaging capabilities, and fun features.
chats_get_all_chats
ToolThis action fetches all the chats associated with a specific user in Microsoft Teams. It allows for property selection and filtering to refine the results.
chats_get_all_messages
ToolThis action retrieves all messages from a specified Microsoft Teams chat. It handles pagination automatically, ensuring that you receive the complete set of messages while allowing for optional filtering and selection of properties.
list_teams_templates
ToolThis action retrieves a list of available Microsoft Teams templates. It allows filtering, ordering, and pagination of the templates based on specified parameters.
list_users
ToolThis action fetches a list of users from the organization through the Microsoft Graph API. It allows filtering, selecting specific fields, and pagination of the results.
teams_create_channel
ToolThis action creates a new channel in a specified Microsoft Teams team. Users can define the channel's name, description, and membership type during creation.
teams_get_message
ToolThis action retrieves a specific message from a Microsoft Teams channel. It requires the Team ID, Channel ID, and Message ID to locate the message within the specified channel.
teams_list
ToolThis action retrieves a list of Microsoft Teams that the authenticated user has access to. Users can filter the results and choose specific properties to return, making it easier to manage and navigate team information.
teams_list_channels
ToolThis action retrieves a list of channels from a specified Microsoft Teams team. It allows options for including shared channels, applying filters, and selecting specific channel properties.
teams_list_chat_messages
ToolThis action fetches chat messages from a specified Microsoft Teams chat. It enables users to receive the latest messages in a readable format for further processing or analysis.
teams_list_people
ToolThis action allows you to retrieve a list of people relevant to a specified user from Microsoft Graph. It can provide information such as names and email addresses, depending on the search parameters entered.
teams_post_channel_message
ToolThis action posts a new message to a specified channel in a Microsoft Teams team. Users can send content in plain text or HTML format as desired.
teams_post_chat_message
ToolThis action sends a message to a specified Microsoft Teams chat. The message can be plain text or HTML formatted, depending on the content type specified.
teams_post_message_reply
ToolThis action allows users to send a reply to an existing message in a Microsoft Teams channel. Users need to provide the team, channel, and message identifiers to successfully post the reply.
Free. No card needed.
How to connect Microsoft Teams
- 1Create your free ContextGate account.
- 2Microsoft Teams isn't in ContextGate's app list yet. If you have an MCP server for Microsoft Teams, add it under Connections → Add Connection → Custom MCP.
- 3Add ContextGate to Claude, Cursor or ChatGPT (the Setup page shows you how), then ask it to use Microsoft Teams.
What you get with Microsoft Teams and ContextGate
- Your AI apps can use Microsoft Teams Claude, Cursor, ChatGPT and other AI apps reach Microsoft Teams through the one ContextGate connection you add to them.
- You choose which tools they can use Switch off any Microsoft Teams tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recorded Your policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Select a tool on the left to see its parameters
What you get with Microsoft Teams and ContextGate
- Your AI apps can use Microsoft Teams: Claude, Cursor, ChatGPT and other AI apps reach Microsoft Teams through the one ContextGate connection you add to them.
- You choose which tools they can use: Switch off any Microsoft Teams tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recorded: Your policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Free. No card needed.
How to connect Microsoft Teams
- Create your free ContextGate account.
- Microsoft Teams isn't in ContextGate's app list yet. If you have an MCP server for Microsoft Teams, add it under Connections → Add Connection → Custom MCP.
- Add ContextGate to Claude, Cursor or ChatGPT (the Setup page shows you how), then ask it to use Microsoft Teams.