MCPInstall
mcp-chatgpt-slack-bot logo

mcp-chatgpt-slack-bot

by ORC-1 5 stars ORC-1/mcp-chatgpt-slack-bot

Model Context Protocol (MCP) with ChatGPT and Slack — A productivity bot that summarizes channel messages, detects sentiment, and saves time.

READMEmaster

Slack + ChatGPT Summary Bot using MCP

This step-by-step guide (with complete code) walks you through building a Slack bot that connects to ChatGPT via an MCP server. The bot can summarize hundreds of messages in any Slack channel it's added to. It also detects the dominant emotional tone and provides the total number of messages sent.

MCP Flow Diagram

✨ Features

  • 🔗 Connects Slack to ChatGPT using an MCP server.
  • 🧠 Summarizes messages with context awareness.
  • 😃 Notes the dominant emotional tone.
  • 🧮 Counts total messages sent in the channel.
  • 🔁 Runs on a customizable interval.

🧰 What is MCP?

MCP (Model Context Protocol) is an open protocol by Anthropic designed for easy integration between tools, external data sources, and even multiple LLMs.
Think of MCP as a universal travel power adapter — it lets you plug into any context stream or platform effortlessly.


📦 Setup Instructions

1. Clone the Repository

git clone git@github.com:ORC-1/mcp-chatgpt-slack-bot.git

2. Create Virtual Environment

virtualenv env --python=python3.11
source env/bin/activate

3. Install Dependencies

pip install -r requirements.txt

4. Create a Slack Bot

Follow the steps in this guide to get your SLACK_BOT_TOKEN:
👉 Slack Bot Setup Instructions


✅ Once Setup is Complete

Make sure you have the following ready:

  • ✅ client.py created
  • ✅ Slack bot created and installed in your workspace
  • ✅ MCP server running

▶️ Run the Bot

To start the bot and summarize messages every 600 minutes:

python client.py 600

You can replace 600 with any number of minutes you'd prefer the bot to wait before performing the next summary.

Demo

💡 Notes

  • Ensure your bot has permission to read messages in the channels it's added to.
  • Summaries are context-aware and capture emotional sentiment trends over time.

More Productivity & Workflow MCP servers

Similar servers from the same category.

Integrates with monday.com API to enable direct access to boards, workflows, and data for automating tasks and managing resources without context switching.

Productivity & Workflow

Activepieces

activepieces

Dynamic server to which you can add apps (Google Calendar, Notion, etc) or advanced Activepieces Flows (Refund logic, a research and enrichment logic, etc).

search

Time

modelcontextprotocol

Time and timezone conversion capabilities

timeconversion

Interact with Microsoft Word.

word