I find academic articles and books for research and literature reviews.

mcp-client-slackbot
1
Github Watches
7
Github Forks
46
Github Stars
MCP Simple Slackbot
A simple Slack bot that uses the Model Context Protocol (MCP) to enhance its capabilities with external tools.
Features
- AI-Powered Assistant: Responds to messages in channels and DMs using LLM capabilities
- MCP Integration: Full access to MCP tools like SQLite database and web fetching
- Multi-LLM Support: Works with OpenAI, Groq, and Anthropic models
- App Home Tab: Shows available tools and usage information
Setup
1. Create a Slack App
- Go to api.slack.com/apps and click "Create New App"
- Choose "From an app manifest" and select your workspace
- Copy the contents of
mcp_simple_slackbot/manifest.yaml
into the manifest editor - Create the app and install it to your workspace
- Under the "Basic Information" section, scroll down to "App-Level Tokens"
- Click "Generate Token and Scopes" and:
- Enter a name like "mcp-assistant"
- Add the
connections:write
scope - Click "Generate"
- Take note of both your:
- Bot Token (
xoxb-...
) found in "OAuth & Permissions" - App Token (
xapp-...
) that you just generated
- Bot Token (
2. Install Dependencies
# Create a virtual environment
python -m venv venv
# Activate the virtual environment
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install project dependencies
pip install -r mcp_simple_slackbot/requirements.txt
3. Configure Environment Variables
Create a .env
file in the mcp_simple_slackbot
directory (see .env.example
for a template):
# Slack API credentials
SLACK_BOT_TOKEN=xoxb-your-token
SLACK_APP_TOKEN=xapp-your-token
# LLM API credentials
OPENAI_API_KEY=sk-your-openai-key
# or use GROQ_API_KEY or ANTHROPIC_API_KEY
# LLM configuration
LLM_MODEL=gpt-4-turbo
Running the Bot
# Navigate to the module directory
cd mcp_simple_slackbot
# Run the bot directly
python main.py
The bot will:
- Connect to all configured MCP servers
- Discover available tools
- Start the Slack app in Socket Mode
- Listen for mentions and direct messages
Usage
- Direct Messages: Send a direct message to the bot
-
Channel Mentions: Mention the bot in a channel with
@MCP Assistant
- App Home: Visit the bot's App Home tab to see available tools
Architecture
The bot is designed with a focused architecture:
- SlackMCPBot: Core class managing Slack events and message processing
- LLMClient: Handles communication with LLM APIs (OpenAI, Groq, Anthropic)
- Server: Manages communication with MCP servers
- Tool: Represents available tools from MCP servers
When a message is received, the bot:
- Sends the message to the LLM along with available tools
- If the LLM response includes a tool call, executes the tool
- Returns the result to the LLM for interpretation
- Delivers the final response to the user
Credits
This project is based on the MCP Simple Chatbot example.
License
MIT License
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)
Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
Reviews

user_RynoTRoP
As an avid user of the mcp-client-slackbot created by sooperset, I am thoroughly impressed by its seamless integration into our Slack environment. This tool has significantly boosted our team's productivity by simplifying communication and task management. The setup was straightforward, thanks to the clear instructions provided in the GitHub repository (https://github.com/sooperset/mcp-client-slackbot). Highly recommended for any team looking to enhance their collaborative efforts!