other
Microsoft Teams MCP, CLI, and Lua Integration for AI Agents
Microsoft Teams integration docs for AI agents: MCP gateway setup, Microsoft Teams CLI commands, Lua API reference, credentials, and function schemas.
8 functions 7 read 1 write Manual OAuth token auth
Microsoft Teams for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
microsoft-teams- route_slug
microsoft-teams- package
microsoft-teams- auth_strategy
oauth2_manual_tokenManual OAuth token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Microsoft Teams CLIHeadless setup and direct function calls. Microsoft Teams MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Microsoft Teams MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Microsoft Teams.
Claude Code Microsoft Teams MCP setup for Claude Code. Cursor Microsoft Teams MCP setup for Cursor. Codex Microsoft Teams MCP setup for Codex. OpenAI Agents Microsoft Teams MCP setup for OpenAI Agents SDK. Claude Agent SDK Microsoft Teams MCP setup for Claude Agent SDK. Vercel AI SDK Microsoft Teams MCP setup for Vercel AI SDK. LangChain Microsoft Teams MCP setup for LangChain. LangGraph Microsoft Teams MCP setup for LangGraph. CrewAI Microsoft Teams MCP setup for CrewAI. MCP clients Microsoft Teams MCP setup for Generic MCP Clients.
Microsoft Teams CLI Matrix
Use these pages for direct Microsoft Teams CLI workflows in scripts, CI, cron, and agent wrappers.
CI Microsoft Teams CLI for CI. Cron Jobs Microsoft Teams CLI for cron jobs. Shell Scripts Microsoft Teams CLI for shell scripts. Headless Automation Microsoft Teams CLI for headless automation. Coding Agents Microsoft Teams CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
microsoft-teams.microsoft_teams_list_teams | Read read | 0 | List all Microsoft Teams teams the authenticated user has joined. Returns team IDs, names, and descriptions. |
microsoft-teams.microsoft_teams_get_team | Read read | 1 | Get details for a specific Microsoft Teams team by its ID. Returns the team name, description, and other properties. |
microsoft-teams.microsoft_teams_list_channels | Read read | 1 | List all channels in a Microsoft Teams team. Returns channel IDs, names, and descriptions. |
microsoft-teams.microsoft_teams_get_channel | Read read | 2 | Get details for a specific Microsoft Teams channel by its team and channel ID. |
microsoft-teams.microsoft_teams_list_messages | Read read | 3 | List recent messages in a Microsoft Teams channel. Returns message content, sender info, and timestamps. |
microsoft-teams.microsoft_teams_send_message | Write write | 4 | Send a message to a Microsoft Teams channel. Supports plain text and HTML content. |
microsoft-teams.microsoft_teams_list_chats | Read read | 1 | List chats for the authenticated Microsoft Teams user. Returns chat IDs, topics, and types (one-to-one, group, or meeting). |
microsoft-teams.microsoft_teams_get_current_user | Read read | 0 | Get the profile of the currently authenticated Microsoft Teams user. Returns display name, email, and job title. |