KosmoKrator

other

Microsoft Teams MCP Gateway for AI Agents

Expose Microsoft Teams tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.

8 functions 7 read 1 write Manual OAuth token auth

Microsoft Teams MCP Gateway

Expose Microsoft Teams to MCP clients with `kosmokrator mcp:serve --integration=microsoft-teams`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.

curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
kosmokrator mcp:gateway:install --integration=microsoft-teams --write=deny --json
{
  "mcpServers": {
    "kosmokrator-microsoft-teams": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=microsoft-teams",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

kosmokrator mcp:serve --integration=microsoft-teams --write=deny

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__microsoft_teams__microsoft_teams_list_teams microsoft-teams.microsoft_teams_list_teams Read read
integration__microsoft_teams__microsoft_teams_get_team microsoft-teams.microsoft_teams_get_team Read read
integration__microsoft_teams__microsoft_teams_list_channels microsoft-teams.microsoft_teams_list_channels Read read
integration__microsoft_teams__microsoft_teams_get_channel microsoft-teams.microsoft_teams_get_channel Read read
integration__microsoft_teams__microsoft_teams_list_messages microsoft-teams.microsoft_teams_list_messages Read read
integration__microsoft_teams__microsoft_teams_send_message microsoft-teams.microsoft_teams_send_message Write write
integration__microsoft_teams__microsoft_teams_list_chats microsoft-teams.microsoft_teams_list_chats Read read
integration__microsoft_teams__microsoft_teams_get_current_user microsoft-teams.microsoft_teams_get_current_user Read read

Write Access

Start with --write=deny for read-only MCP clients. Use --write=ask or --write=allow only when the client and workspace are trusted.