KosmoKrator

communication

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.

7 functions 6 read 1 write Bearer token auth

Microsoft Teams MCP Gateway

Expose Microsoft Teams to MCP clients with `kosmokrator mcp:serve --integration=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=teams --write=deny --json
{
  "mcpServers": {
    "kosmokrator-teams": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=teams",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__teams__teams_list_teams teams.teams_list_teams Read read
integration__teams__teams_get_team teams.teams_get_team Read read
integration__teams__teams_list_channels teams.teams_list_channels Read read
integration__teams__teams_get_channel teams.teams_get_channel Read read
integration__teams__teams_send_message teams.teams_send_message Write write
integration__teams__teams_list_messages teams.teams_list_messages Read read
integration__teams__teams_get_current_user teams.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.