microsoft/teams

mcp server

Microsoft Teams MCP Server - send messages and manage chats; search conversations in Teams channels, runs with npx, signs in via Microsoft Graph OAuth

Microsoft Teams MCP server. Send messages, manage chats, search conversations, and interact with Teams channels.

MCP Server

  • Package: teams-mcp
  • Transport: stdio
  • Command: npx -y teams-mcp@latest

Authentication

OAuth 2.0 with Microsoft Graph (authenticate via: npm run auth)

VariableRequiredDescription
——No environment variables required

Available Tools

ToolDescription
send_channel_messageSend channel message
send_chat_messageSend chat message
list_teamsList teams
list_channelsList channels
search_messagesSearch messages (KQL)
get_my_mentionsGet mentions
create_chatCreate chat

Configuration Example

toml
[[mcp.servers]]
name = "teams"
type = "stdio"
command = "npx"
args = ["-y", "teams-mcp"]
timeout_seconds = 60
tools = []

Notes: Rich message formatting (markdown/HTML). XSS prevention. Init auth: node dist/index.js authenticate.