Teams integration via Microsoft Graph
## Microsoft Teams MCP Server: Enterprise Collaboration The **Microsoft Teams MCP Server** integrates Microsoft Teams into Google Antigravity. This enables posting messages, managing channels, and automating workflows in the enterprise collaboration platform used by millions of organizations. ### Why Teams MCP? Teams powers enterprise communication: - **Enterprise Standard**: 300M+ monthly users - **Office Integration**: Seamless Microsoft 365 - **Channels**: Organized team conversations - **Apps**: Rich extensibility platform - **Security**: Enterprise-grade compliance ### Key Features #### 1. Send Messages ```python import requests headers = {"Authorization": f"Bearer {access_token}"} # Post to channel message = requests.post( f"https://graph.microsoft.com/v1.0/teams/{team_id}/channels/{channel_id}/messages", headers=headers, json={ "body": { "contentType": "html", "content": "<h1>Build Completed</h1><p>All tests passed ✅</p>" } } ) ``` #### 2. Adaptive Cards ```python card = { "type": "AdaptiveCard", "body": [ {"type": "TextBlock", "text": "Deployment Status", "weight": "bolder"}, {"type": "FactSet", "facts": [ {"title": "Environment", "value": "Production"}, {"title": "Status", "value": "Success"}, {"title": "Version", "value": "2.1.0"} ]} ], "actions": [ {"type": "Action.OpenUrl", "title": "View Logs", "url": "https://logs.example.com"} ] } requests.post(webhook_url, json={"attachments": [{"content": card}]}) ``` #### 3. Team Management ```python # Create channel channel = requests.post( f"https://graph.microsoft.com/v1.0/teams/{team_id}/channels", headers=headers, json={ "displayName": "Project Alpha", "description": "Channel for Project Alpha discussions" } ) # Add members requests.post( f"https://graph.microsoft.com/v1.0/teams/{team_id}/members", headers=headers, json={"@odata.type": "#microsoft.graph.aadUserConversationMember", "user@odata.bind": user_id} ) ``` ### Configuration ```json { "mcpServers": { "teams": { "command": "npx", "args": ["-y", "@anthropic/mcp-teams"], "env": { "TEAMS_TENANT_ID": "your-tenant-id", "TEAMS_CLIENT_ID": "your-client-id", "TEAMS_CLIENT_SECRET": "your-secret" } } } } ``` ### Use Cases **Build Notifications**: Post CI/CD results to team channels. **Incident Response**: Automate incident alerting and coordination. **Approvals**: Build approval workflows with interactive cards. The Microsoft Teams MCP Server brings enterprise collaboration to Antigravity.
{
"mcpServers": {
"teams": {
"mcpServers": {
"teams": {
"args": [
"-y",
"@floriscornel/teams-mcp@latest"
],
"command": "npx"
}
}
}
}
}