other
Microsoft Teams MCP Integration for Claude Agent SDK
Connect Microsoft Teams to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Microsoft Teams to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Microsoft Teams MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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 Claude Agent SDK
Claude Agent SDK 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. |