Enables secure credential management for production deployments on AWS ECS infrastructure.
Integrates GPT-4o-mini for AI-powered question answering, technical explanations, autonomous task planning and execution, and conversation analysis.
Provides comprehensive Slack workspace management including sending messages, retrieving channel history, searching messages, creating channels, analyzing conversations with AI, and real-time Socket Mode integration for instant bot responses to mentions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Slack MCP Serversummarize yesterday's #team-meeting and research the new framework mentioned"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π Slack MCP Server
Transform your Slack workspace into an intelligent AI assistant with real-time responses
A production-ready Slack MCP Server that combines real-time Socket Mode integration with AI-powered tools. Built with FastMCP 2.8.0, this project provides 18+ tools for Claude Desktop and features an autonomous AI assistant that can plan and execute complex tasks.
β What Makes This Special?
π€ Real-Time Socket Mode Bot - Instant responses to Slack mentions (< 2 seconds)
π§ Autonomous AI Agent - AI that plans its own execution strategies
π§ 18+ MCP Tools - Complete Slack workspace management via Claude Desktop
π Web Research Integration - Real-time web search with Tavily API
β‘ Production Ready - Docker + AWS ECS deployment included
π‘οΈ Enterprise Security - AWS Secrets Manager integration
π₯ Demo
@MCP Bot analyze yesterday's #product-meeting and research mentioned technologies
π€ Analysis Complete! Found discussion about React 18, TypeScript 5.0, and Docker. π Meeting Summary: [Detailed analysis...] π Technology Research: [Latest developments...] π Action Items: [Extracted tasks...]
2. Configure API Keys
Create .env file:
3. Start the Server
Success Output:
4. Test in Slack
π Your AI assistant is now live!
π§ Complete Feature Set
π± Slack Management (6 Tools)
Tool | Description | Example |
| Send messages to channels |
|
| List all workspace channels |
|
| Retrieve channel history |
|
| Search across workspace |
|
| Create new channels |
|
| AI-powered analysis |
|
π€ AI Intelligence (3 Tools)
Tool | Description | Use Case |
| Ask questions to GPT-4o-mini | Technical explanations, brainstorming |
| π Self-planning AI agent | Complex multi-step tasks |
Socket Mode Bot | Real-time auto-responses | Instant Slack interaction |
π Web Research (3 Tools)
Tool | Description | Example |
| General web search |
|
| News-specific search |
|
| Deep research analysis |
|
π MCP Server Management (6 Tools)
Tool | Description | Purpose |
| Connect external MCP servers | Extend functionality |
| Show all configured servers | Server management |
| Establish connections | Activate external tools |
| Close connections | Resource management |
| Browse external tools | Tool discovery |
| Execute external tools | Cross-server operations |
π§ Autonomous AI Assistant
The autonomous assistant is the crown jewel of this project. It can:
π Plan its own execution - No pre-programmed workflows
π Discover tools dynamically - Adapts to available resources
π Self-reflect and optimize - Learns from execution history
π Synthesize multi-source data - Combines Slack + web + AI knowledge
Example: Complex Task Execution
What happens behind the scenes:
π Discovery: Finds available Slack channels and tools
π§ Planning: AI creates step-by-step execution plan
β‘ Execution: Runs multiple tools in sequence
π¬ Research: Web searches for mentioned technologies
π Synthesis: Combines all data into comprehensive report
π¨ Delivery: Posts results to Slack automatically
π₯οΈ Claude Desktop Integration
Configuration
Add to claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Usage Examples in Claude Desktop
Meeting Analysis:
Tech Research + Slack Update:
Multi-Channel Intelligence:
ποΈ Architecture
π AWS ECS Deployment (Production)
Includes:
β Auto-scaling based on traffic
β Health checks and monitoring
β AWS Secrets Manager for secure credential management
β Application Load Balancer for high availability
β CloudWatch logging for debugging
π Production Features
Zero downtime deployments
Horizontal scaling (multiple instances)
SSL/TLS termination
Custom domain support
Monitoring & alerting
π‘οΈ Security Best Practices
π Credential Management
Environment variables for local development
AWS Secrets Manager for production
No hardcoded secrets in code
Git ignore for sensitive files
π οΈ Error Handling
Graceful degradation when services are down
Retry logic for transient failures
User-friendly error messages
Comprehensive logging
π Performance
Socket Mode eliminates polling overhead
Async processing for non-blocking operations
Connection pooling for API efficiency
Response time < 2 seconds
π― Real-World Use Cases
π₯ For Teams
Daily standups: "Summarize yesterday's progress across all channels"
Sprint planning: "Analyze #product-backlog and prioritize by urgency"
Knowledge sharing: "Research best practices for the technologies we discussed"
π’ For Managers
Team sentiment: "Analyze team mood and engagement this week"
Progress tracking: "Extract action items from all project channels"
Strategic insights: "Compare our technical discussions with industry trends"
π¬ For Developers
Tech research: "Find the latest updates on frameworks we're using"
Code review insights: "Analyze #code-review discussions for common issues"
Learning automation: "Create weekly tech digest from our discussions"
π Documentation
π Quick Start Guide - 5-minute setup
ποΈ Complete Technical Guide - In-depth architecture
π Deployment Guide - Production deployment
β Project Status - Current implementation status
π§ Requirements
Slack App Setup
Required Bot Token Scopes:
API Keys
Slack Bot Token (
xoxb-...) - RequiredSlack App Token (
xapp-...) - Required for Socket ModeOpenAI API Key (
sk-...) - Required for AI featuresTavily API Key (
tvly-...) - Optional for web search
System Requirements
Python 3.11+
4GB RAM (minimum)
Network access to Slack, OpenAI, and Tavily APIs
π Troubleshooting
Common Issues
1. Socket Mode not working
2. Bot not responding
3. Claude Desktop not loading
Debug Mode
π€ Contributing
We welcome contributions! Here's how to get started:
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
π― Areas for Contribution
π§ New MCP tools - Extend functionality
π Language support - Add more languages
π Analytics features - Advanced reporting
π Integration templates - More external services
π Documentation - Examples and tutorials
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Support & Community
π¬ Issues: GitHub Issues
π Documentation: Check the
docs/folderπ Bug Reports: Use issue templates
π‘ Feature Requests: Community-driven roadmap
π Acknowledgments
FastMCP - Amazing MCP framework
Slack SDK - Robust Slack integration
OpenAI - Powerful AI capabilities
Tavily - Excellent web search API
π Ready to Get Started?
β Star this repository if you find it useful
π΄ Fork it to start customizing
π₯ Clone it and follow the 5-minute setup
π€ Mention your bot in Slack and watch the magic happen!
Built with β€οΈ by
Transform your Slack workspace into an AI-powered productivity hub today! π