Prerequisites
Before you begin, create an account and get your API Key.
Getting started
Connect to Microsoft Teams to manage teams, channels, messages, and automate collaboration workflows through AI agents.- API
- UI
- Open Source
1
Install the SDKs (optional)
2
Create a server instance
Response Information: The API returns:
serverUrl
: The URL for connecting your MCP client to Microsoft TeamsinstanceId
: Unique identifier for your server instanceoauthUrl
: OAuth authorization URL for Microsoft Teams authentication
3
Authenticate
🎉 Your Microsoft Teams MCP Server is ready! Once authentication is complete, you can use your MCP server URL with any MCP-compatible client.
Available Tools
Team Management
Team Management
Tool Name | Description |
---|---|
create_team | Create a new Microsoft Teams team |
list_teams | List all teams joined by the user |
get_team_by_name | Get team details by name |
Member Management
Member Management
Tool Name | Description |
---|---|
add_member_to_team | Add a member to a team by email |
get_team_members | Get all members of a team |
remove_members_from_team | Remove members from a team |
Channel Management
Channel Management
Tool Name | Description |
---|---|
get_all_channels | Get all channels in a team |
get_channel_by_name | Get channel details by name |
add_channel_to_team | Add a new channel to a team |
remove_channel_from_team | Remove a channel from a team |
Message Management
Message Management
Tool Name | Description |
---|---|
send_message_in_channel | Send a message in a channel |
get_messages_in_channel | Get messages from a channel |
Chat Management
Chat Management
Tool Name | Description |
---|---|
get_chat_id_with | Get or create a chat with a user |
send_chat_message | Send a message in a chat |
get_chat_messages | Get messages from a chat |
For more details about tool input schema, use the get_tools API.