Teams MCP Server

Microsoft Graph API integration for Teams chat, message, and user management.

Data last scanned today · Reviewed today

702 dangerous tools26 tools122TypeScriptMIT

Overview

Teams MCP Server provides a bridge between AI assistants and the Microsoft Graph API, allowing users to query and manage their organizational data. It facilitates interaction with Microsoft Teams by surfacing joined teams, channel structures, and member directories directly within the assistant's context. The server features comprehensive messaging capabilities, including sending, editing, and soft-deleting messages in both 1:1 chats and team channels. It also manages authentication through an OAuth 2.0 device flow with support for token persistence and optional read-only configurations.

Our verdict

With a security score of 70/100, this server is classified as medium risk. While it includes valuable features like OAuth 2.0 authentication and a read-only configuration option to limit accidental modifications, users should exercise caution because it is a community-maintained project rather than an official Microsoft release and has not undergone independent editorial review. It is recommended for developers comfortable with self-managed third-party integrations.

  • Supports secure OAuth 2.0 device code authentication flow.
  • Includes a read-only mode to restrict modification scopes.
  • Maintained by nine contributors reducing bus-factor risks.
  • Small footprint with only 14 direct dependencies.
  • Community-maintained rather than supported by the official vendor.
  • Has not yet undergone independent editorial review.
  • Lacks a dedicated homepage link for official documentation.

Setup

Claude Desktop
{
  "mcpServers": {
    "teams-mcp": {
      "args": [
        "-y",
        "@floriscornel/teams-mcp"
      ],
      "command": "npx"
    }
  }
}

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.

Tools

ToolDescriptionRisk
auth_statusCheck current authentication statuslow
get_current_userGet authenticated user informationlow
search_usersSearch for users by name or emaillow
get_userGet detailed user information by ID or emaillow
list_teamsList user's joined teamslow
list_channelsList channels in a specific teamlow
get_channel_messagesRetrieve messages from a team channel with attachment summaries and content format selectionlow
get_channel_message_repliesGet replies to a specific channel messagelow
send_channel_messageSend a message to a team channel with optional mentions, importance, and image attachmentsmedium
reply_to_channel_messageReply to an existing channel messagemedium

Compatibility

ClientLocalDockerRemoteRead-only
Claude Desktop
Cursor
VS Code
Windsurf
ChatGPT

Frequently asked questions

Does the server require a manual API token?

The server supports an OAuth 2.0 device code authentication flow, but it also allows the use of a pre-issued Microsoft Graph access token via an AUTH_TOKEN configuration.

Can the server run with limited permissions?

Yes, the server supports a read-only mode that operates with reduced Microsoft Graph scopes.

How does the server handle Markdown in messages?

When the format parameter is set to markdown, the server converts the content to HTML and sanitizes it using a secure parser to prevent XSS attacks before sending it to Teams.

Are there constraints on modifying messages?

Updates and deletions can only be performed by the original message sender, and deletions are performed as soft deletes which mark the message as deleted rather than permanently removing it.

Where are files stored when uploaded via the server?

Files uploaded to channels are stored in SharePoint, while files uploaded to chats are stored in the user's OneDrive.

How are large files handled?

The server supports files larger than 4 MB by utilizing resumable upload sessions.

Badge

Teams MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.