Files
karti 35a0b2b715 feat: initial release with 48 Mattermost MCP tools
- 27 base tools: channels, messaging, users, reactions, files, DMs
- Team management: invite/remove users, get stats, list members
- Slash commands: execute /remind, /poll, etc.
- Webhook management: incoming and outgoing webhooks
- System tools: server config, logs, bulk status updates
- Channel admin: create, invite, leave, delete channels
- Read-only mode for safe exploration
- Dual token support (bot + PAT) for enhanced security
- Apache 2.0 licensed
2026-04-15 21:26:19 -07:00

16 lines
311 B
Go

package team
import "github.com/mattermost/mattermost-server/v6/model"
func SlimTeam(t *model.Team) map[string]interface{} {
if t == nil {
return nil
}
return map[string]interface{}{
"id": t.Id,
"name": t.Name,
"display_name": t.DisplayName,
"description": t.Description,
}
}