Logo vun Tiger Slack

Tiger Slack

Organisatioun
timescale

Real-time Slack ingest and MCP server to power your agentic Slack bots

Editeurtimescale
Repositorytiger-slack
SproochPython
Forks
4
Stären
49
Disponibel Tools
0
Transporttypstdio
LizenzApache-2.0
Linken
  • Tools mat KI-Workflows verbannen

    Tiger Slack stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    49 Stären an 4 Forks aus dem verlinkte Repository.

Tiger Slack

Conversational Memory for AI Slack Bots

Tiger Slack gives Slack-native AI assistants the ability to understand and engage with your team's conversations naturally. By providing real-time access to Slack message history and context through an MCP server, it enables AI bots to respond to questions with the same contextual awareness that humans have - understanding references to past discussions, ongoing projects, and team dynamics.

Tiger Slack is the superpower behind Eon, TigerData's Slack-native AI assistant.

Ready to get started? Jump to the quick start.

Overview

Built for teams who want their AI assistants to:

  • Understand conversational context and references to past discussions
  • Answer questions about project history and decisions
  • Know who's involved in different topics and threads
  • Follow ongoing conversations and provide relevant input
  • Build conversational memory across all team channels

Key Components

Ingest Service (ingest/)

The ingest service is a Python app that:

  • Connects to Slack via WebSocket (Socket Mode)
  • Captures messages, reactions, user changes, and channel updates in real-time
  • Runs scheduled jobs for user/channel synchronization

The ingest service can process a Slack historical export into the database.

See the ingest README.md for more details.

MCP Server (mcp/)

A Streamable HTTP Model Context Protocol server provides:

  • AI-accessible APIs for Slack data analysis
  • Channel and user browsing with intelligent filtering
  • Conversation retrieval with full threading context
  • Message permalink generation

See the mcp README.md for more details.

###️TimescaleDB Database Tiger Slack uses a TimescaleDB database to store the Slack content.

  • High-throughput message ingestion with 7-day chunk partitioning
  • Efficient time-based queries and analytics
  • Automatic compression after 45 days (5-10x space savings)
  • Channel-based segmentation for optimal query performance
  • Sparse indexes (bloom filters, minmax) for fast filtering
  • Chunk skipping for accelerated thread queries
  • Full-text search capabilities across message content

Architecture

Quick Start

Start by cloning the repo.

bash
git clone --recurse-submodules git@github.com:timescale/tiger-slack.git
cd tiger-slack

The ingest service requires an app configured in Slack with proper privileges and tokens. You can run a script to automate this setup, or you can do it manually.

Automated Setup

Execute the following script to guide you through the setup process:

bash
./setup-tiger-slack.sh

Manual Setup

Create a Slack App

  1. Edit the slack-app-manifest.json file to have the names and descriptions you want to use.
  2. Create a new Slack app
  3. Choose to create an app from a manifest.
  4. Pick your workspace and click Next.
  5. Paste that manifest configuration in the input field provided and click Next.
  6. Review and verify that the configuration you entered matches the summary and click Create.
  7. Navigate to: Basic Information → App-Level Tokens
  8. Click 'Generate Token and Scopes' → Add 'connections:write' scope → Generate
  9. Save your SLACK_APP_TOKEN (It starts with xapp-).
  10. Navigate to: Install App → Click 'Install to [Workspace]'
  11. After installation, save the 'Bot User OAuth Token' A.K.A. SLACK_BOT_TOKEN (It starts with xoxb-)
bash
cp .env.sample .env

Add the Slack tokens to the .env file.

Running the System

After setting up the .env file, you are ready to run the system!

Build and run the system in docker compose:

bash
docker compose up -d --build

Other system lifecycle commands

bash
docker compose up -d          # Start all services in background
docker compose down           # Stop all services
docker compose build          # Build all images
docker compose logs -f        # View live logs from all services
docker compose restart        # Restart all services

# Reset with fresh volumes (deletes all data)
docker compose down -v
docker compose up -d

# Nuclear reset (complete cleanup)
docker compose down -v --remove-orphans
docker system prune -f --volumes
docker compose up -d --build

Dev/Test Exploration

Use Claude Code and/or the MCP Inspector to exercise the MCP Server.

Using Claude Code

  1. Connect Claude Code to the MCP Server

    To connect to the MCP server running in docker, run:

    bash
    claude mcp add -s project --transport http tiger-slack http://localhost:3001/mcp

    To use the MCP server via stdio (not docker), run this after building the mcp:

    bash
    export PGHOST=localhost
    export PGPORT=5432
    export PGUSER=tsdbadmin
    export PGDATABASE=tsdb
    export LOGFIRE_TOKEN=<your-logfire-token> # optional. sends traces from the mcp server to logfire
    claude mcp add -s project tiger-slack node /absolute/path/to/tiger-slack/mcp/dist/index.js stdio
  2. Connect to Logfire (Optional) Giving Claude Code the ability to "see" the tracing data for the project can drive powerful AI insights.

    bash
    claude mcp add -s project logfire -e LOGFIRE_READ_TOKEN="your-token-here" -- uvx logfire-mcp@latest
  3. Start Analyzing Ask Claude: "Show me recent conversations in #engineering"

Using MCP Inspector

You can use the MCP Inspector to interact with the MCP server via a web UI. Run the following from the mcp directory:

bash
./bun run inspector

Suggested Roll-out Strategy

  1. First, use a manual execution of the user/channel jobs to create the database schema and populate the users and channels.
  2. Deploy the ingest service to begin accumulating Slack events in real-time.
  3. At some point after you have begun accumulating new Slack events in real time, get a historical export from Slack and load it with the import process.

This strategy ensures no gaps in data.

Observability Stack

Tiger Slack features full-stack monitoring via Logfire integration:

  • Distributed tracing across all components
  • Real-time performance metrics
  • Error tracking and debugging
  • AI-powered log analysis via MCP and Claude Code

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.


Transform your Slack workspace into an intelligent knowledge base with AI-powered analytics and insights.

Tiger Slack MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Tiger Slack verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Tiger Slack als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Tiger Slack an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "tiger-slack": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Tiger Slack. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Tiger Slack.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Tiger Slack?
Tiger Slack
Jo. Ech hunn et gelies.
Dat hunn ech mat Tiger Slack fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Tiger Slack benotzt?

Tiger Slack ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Tiger Slack MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Tiger Slack mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Tiger Slack MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Tiger Slack verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Tiger Slack MCP mat TypingMind?

Tiger Slack leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Tiger Slack MCP an TypingMind zur Verfügung?

Tiger Slack stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Tiger Slack MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Tiger Slack eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇