Skip to main content
Glama

Slack MCP Server

by will2023a
EXAMPLES.md5.59 kB
# 🎯 Exemplos Práticos - Slack MCP Server ## 📊 **Cenário 1: Automação de Onboarding** ### 1. Convidar novos funcionários ```json { "name": "bulk_invite_users", "arguments": { "channel": "C123WELCOME", "users": ["U111NEW", "U222NEW", "U333NEW"] } } ``` ### 2. Enviar mensagem de boas-vindas ```json { "name": "mention_users", "arguments": { "channel": "#welcome", "text": "Bem-vindos à equipe! 🎉 Aqui estão os próximos passos...", "users": ["U111NEW", "U222NEW", "U333NEW"] } } ``` ### 3. Agendar lembrete de follow-up ```json { "name": "create_slack_reminder", "arguments": { "text": "Fazer check-in com novos funcionários", "time": "in 1 week" } } ``` --- ## 📈 **Cenário 2: Analytics e Relatórios** ### 1. Analisar atividade do canal de desenvolvimento ```json { "name": "get_channel_analytics", "arguments": { "channel": "C123DEV", "days": 30 } } ``` ### 2. Buscar discussões sobre bugs ```json { "name": "search_slack_messages", "arguments": { "query": "bug OR error OR issue", "count": 50, "sort": "timestamp" } } ``` ### 3. Upload de relatório mensal ```json { "name": "upload_file_to_slack", "arguments": { "channels": "#reports", "file_path": "C:\\reports\\monthly_report.pdf", "title": "Relatório Mensal - Janeiro 2025", "initial_comment": "📊 Relatório de atividades do mês" } } ``` --- ## 🎭 **Cenário 3: Engajamento da Equipe** ### 1. Criar enquete para decisão da equipe ```json { "name": "create_slack_poll", "arguments": { "channel": "#team", "question": "Qual ferramenta prefere para videoconferência?", "options": ["Zoom", "Google Meet", "Teams", "Discord"], "anonymous": false } } ``` ### 2. Definir status personalizado ```json { "name": "set_user_status", "arguments": { "status_text": "Focado no projeto X", "status_emoji": ":rocket:", "status_expiration": 1736294400 } } ``` ### 3. Reagir a mensagens importantes ```json { "name": "add_slack_reaction", "arguments": { "channel": "C123IMPORTANT", "timestamp": "1704067200.123456", "name": "heavy_check_mark" } } ``` --- ## 🧹 **Cenário 4: Limpeza e Organização** ### 1. Identificar canais inativos (simulação) ```json { "name": "archive_old_channels", "arguments": { "days_inactive": 90, "dry_run": true } } ``` ### 2. Arquivar canais realmente inativos ```json { "name": "archive_old_channels", "arguments": { "days_inactive": 120, "dry_run": false } } ``` ### 3. Obter informações do workspace ```json { "name": "get_workspace_info", "arguments": {} } ``` --- ## 🔔 **Cenário 5: Notificações e Alertas** ### 1. Agendar mensagem para reunião ```json { "name": "schedule_slack_message", "arguments": { "channel": "#meetings", "text": "🚨 Lembrete: Reunião de sprint em 15 minutos!", "post_at": 1736294400 } } ``` ### 2. Enviar via webhook para integrações ```json { "name": "send_webhook_message", "arguments": { "url": "https://hooks.slack.com/services/T00/B00/XXX", "text": "Deploy realizado com sucesso! ✅", "username": "DeployBot", "icon_emoji": ":rocket:" } } ``` ### 3. Responder em thread específico ```json { "name": "reply_in_thread", "arguments": { "channel": "C123SUPPORT", "thread_ts": "1704067200.123456", "text": "Problema resolvido! Ticket fechado." } } ``` --- ## 📋 **Cenário 6: Workflow Completo de Projeto** ### 1. **Início do Projeto** ```json { "name": "send_slack_message", "arguments": { "channel": "#projeto-x", "text": "🚀 Projeto X iniciado! Vamos que vamos! 🎯" } } ``` ### 2. **Convidar stakeholders** ```json { "name": "bulk_invite_users", "arguments": { "channel": "C123PROJX", "users": ["U111PM", "U222DEV", "U333DESIGN"] } } ``` ### 3. **Enquete para sprint planning** ```json { "name": "create_slack_poll", "arguments": { "channel": "#projeto-x", "question": "Prioridade para Sprint 1?", "options": ["Feature A", "Feature B", "Bug fixes", "Performance"], "anonymous": true } } ``` ### 4. **Agendar daily standup** ```json { "name": "schedule_slack_message", "arguments": { "channel": "#projeto-x", "text": "⏰ Daily standup em 5 minutos!", "post_at": 1736380800 } } ``` ### 5. **Upload de documentação** ```json { "name": "upload_file_to_slack", "arguments": { "channels": "#projeto-x", "file_path": "C:\\docs\\project_spec.pdf", "title": "Especificação do Projeto X", "initial_comment": "📄 Documentação atualizada" } } ``` ### 6. **Analytics semanais** ```json { "name": "get_channel_analytics", "arguments": { "channel": "C123PROJX", "days": 7 } } ``` --- ## 🎯 **Dicas Profissionais** 1. **Use dry_run=true** primeiro para testar arquivamentos 2. **Combine mention_users** com mensagens importantes 3. **Analytics regulares** ajudam a identificar padrões 4. **Enquetes anônimas** para feedback honesto 5. **Webhooks** para integrações com CI/CD 6. **Status personalizados** melhoram comunicação da equipe ## 🔧 **Automação Avançada** Combine múltiplas funcionalidades para workflows complexos: 1. **Monitor + Alert**: Analytics → Webhook → Mention 2. **Onboarding**: Invite → Message → Reminder → Poll 3. **Cleanup**: Analytics → Archive → Report 4. **Project**: Create → Invite → Poll → Schedule → Upload --- **💡 Seu Slack agora é uma máquina de automação profissional!**

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/will2023a/MCP-SLACK'

If you have feedback or need assistance with the MCP directory API, please join our Discord server