Slackbot MCP
by adamkleingit
A powerful Slack bot powered by LLM with MCP integration capabilities. It offers Slack integration, LLM-powered responses, and multi-bot management.
View on GitHub
Last updated: N/A
Slackbot MCP
A powerful Slack bot powered by LLM with MCP integration capabilities.
Features
- Slack integration with Events API
- LLM-powered responses
- MCP tool integration
- Multi-bot management
- Thread-aware conversations
- Channel-specific configurations
Prerequisites
- Python 3.9+
- Poetry for dependency management
- Docker and Docker Compose
- PostgreSQL
- Redis
Development Setup
- Clone the repository:
git clone <repository-url>
cd slackbot-mcp
- Install dependencies:
poetry install
- Set up pre-commit hooks:
poetry run pre-commit install
- Copy the example environment file:
cp .env.example .env
- Start the development environment:
docker-compose up -d
- Run migrations:
poetry run alembic upgrade head
- Start the development server:
poetry run uvicorn src.slackbot.api.main:app --reload
Project Structure
slackbot-mcp/
├── src/
│ └── slackbot/
│ ├── api/ # FastAPI application and endpoints
│ ├── core/ # Core business logic
│ ├── models/ # SQLAlchemy models
│ ├── services/ # External service integrations
│ └── utils/ # Utility functions
├── tests/
│ ├── unit/ # Unit tests
│ └── integration/ # Integration tests
├── scripts/ # Utility scripts
├── alembic/ # Database migrations
└── docker/ # Docker configuration files
Contributing
- Create a new branch for your feature
- Make your changes
- Run tests:
poetry run pytest
- Submit a pull request
License
[Your chosen license]