communication
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.
7 functions 6 read 1 write Bearer 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
teams- route_slug
teams- package
teams- auth_strategy
bearer_tokenBearer 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 |
|---|---|---|---|
teams.teams_list_teams | Read read | 2 | List all Microsoft Teams the user is a member of. |
teams.teams_get_team | Read read | 1 | Get detailed information about a Microsoft Team. |
teams.teams_list_channels | Read read | 3 | List all channels in a Microsoft Team. |
teams.teams_get_channel | Read read | 2 | Get detailed information about a Microsoft Teams channel. |
teams.teams_send_message | Write write | 4 | Send a message to a Microsoft Teams channel. |
teams.teams_list_messages | Read read | 4 | List messages in a Microsoft Teams channel. |
teams.teams_get_current_user | Read read | 0 | Get information about the current authenticated Microsoft 365 user. |