- Explore MCP Servers
- agentic-slackbot
Agentic Slackbot
What is Agentic Slackbot
agentic-slackbot is a simple Slack bot designed to interact with the Model Context Protocol (MCP) server using the OpenAI Agents SDK.
Use cases
Use cases for agentic-slackbot include automating responses to frequently asked questions, facilitating team communication, and managing project updates through Slack channels.
How to use
To use agentic-slackbot, first install the necessary dependencies using ‘uv sync’. Then, run the bot by executing ‘uv run main.py’ in your terminal.
Key features
Key features of agentic-slackbot include seamless integration with the MCP server, the ability to utilize OpenAI’s Agents SDK for enhanced interactions, and a straightforward setup process.
Where to use
agentic-slackbot can be used in various fields such as customer support, team collaboration, and automated task management within Slack.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Agentic Slackbot
agentic-slackbot is a simple Slack bot designed to interact with the Model Context Protocol (MCP) server using the OpenAI Agents SDK.
Use cases
Use cases for agentic-slackbot include automating responses to frequently asked questions, facilitating team communication, and managing project updates through Slack channels.
How to use
To use agentic-slackbot, first install the necessary dependencies using ‘uv sync’. Then, run the bot by executing ‘uv run main.py’ in your terminal.
Key features
Key features of agentic-slackbot include seamless integration with the MCP server, the ability to utilize OpenAI’s Agents SDK for enhanced interactions, and a straightforward setup process.
Where to use
agentic-slackbot can be used in various fields such as customer support, team collaboration, and automated task management within Slack.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
agentic-slackbot
A simple Slack bot that uses the OpenAI Agents SDK to interact with the Model Context Protocol (MCP) server.
Install Dependencies
uv sync
Environment Variables
Create a .envrc file in the root directory of the project and add the following environment variables:
export OPENAI_API_KEY="" export SLACK_BOT_TOKEN="" export SLACK_APP_TOKEN="" export OPENAI_MODEL="gpt-4o" export HTTP_PROXY=""
If you are using Azure OpenAI, you can set the following environment variables instead:
AZURE_OPENAI_API_KEY="" AZURE_OPENAI_ENDPOINT="https://<myopenai>.azure.com/" OPENAI_MODEL="gpt-4o" OPENAI_API_VERSION="2025-03-01-preview"
If you are using Langfuse
export LANGFUSE_PUBLIC_KEY="xxx" export LANGFUSE_SECRET_KEY="xxx" export LANGFUSE_HOST="xxx"
Running the Bot
uv run bot
Running the bot in docker
# Build the Docker image
docker build . -t agentic-slackbot
# Run the Docker container
docker run -e SLACK_BOT_TOKEN="" \
-e SLACK_APP_TOKEN="" \
-e HTTP_PROXY="" \
-e OPENAI_PROXY_BASE_URL="" \
-e OPENAI_PROXY_API_KEY="" \
-e OPENAI_MODEL=gpt-4o \
-e FIRECRAWL_API_URL="" slackbot
Credit
This project is based on the sooperset/mcp-client-slackbot example.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










