other
Microsoft Teams MCP Integration for OpenAI Agents SDK
Connect Microsoft Teams to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Microsoft Teams to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Microsoft Teams MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-microsoft-teams": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=microsoft-teams",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=microsoft-teams --write=deny Why Use KosmoKrator Here
Expose only Microsoft Teams instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Microsoft Teams Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Microsoft Teams integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__microsoft_teams__microsoft_teams_list_teams | microsoft-teams.microsoft_teams_list_teams | Read | List all Microsoft Teams teams the authenticated user has joined. Returns team IDs, names, and descriptions. |
integration__microsoft_teams__microsoft_teams_get_team | microsoft-teams.microsoft_teams_get_team | Read | Get details for a specific Microsoft Teams team by its ID. Returns the team name, description, and other properties. |
integration__microsoft_teams__microsoft_teams_list_channels | microsoft-teams.microsoft_teams_list_channels | Read | List all channels in a Microsoft Teams team. Returns channel IDs, names, and descriptions. |
integration__microsoft_teams__microsoft_teams_get_channel | microsoft-teams.microsoft_teams_get_channel | Read | Get details for a specific Microsoft Teams channel by its team and channel ID. |
integration__microsoft_teams__microsoft_teams_list_messages | microsoft-teams.microsoft_teams_list_messages | Read | List recent messages in a Microsoft Teams channel. Returns message content, sender info, and timestamps. |
integration__microsoft_teams__microsoft_teams_send_message | microsoft-teams.microsoft_teams_send_message | Write | Send a message to a Microsoft Teams channel. Supports plain text and HTML content. |
integration__microsoft_teams__microsoft_teams_list_chats | microsoft-teams.microsoft_teams_list_chats | Read | List chats for the authenticated Microsoft Teams user. Returns chat IDs, topics, and types (one-to-one, group, or meeting). |
integration__microsoft_teams__microsoft_teams_get_current_user | microsoft-teams.microsoft_teams_get_current_user | Read | Get the profile of the currently authenticated Microsoft Teams user. Returns display name, email, and job title. |