Skip to content

obot-platform/slack-mcp

Repository files navigation

Docker Deployment Guide

Prerequisites

Quick Start

  1. Set up environment variables:

    # Create .env file
    echo "SLACK_BOT_TOKEN=xoxb-your-bot-token-here" > .env
    echo "PORT=3000" >> .env
  2. Build and run with Docker Compose:

    docker-compose up -d
  3. Check if it's running:

    docker-compose ps
    curl http://localhost:3000/health

Manual Docker Build

  1. Build the image:

    docker build -t slack-mcp .
  2. Run the container:

    docker run -d \
      --name slack-mcp \
      -p 3000:3000 \
      -e SLACK_BOT_TOKEN=xoxb-your-bot-token-here \
      slack-mcp

Environment Variables

  • SLACK_BOT_TOKEN (required): Your Slack bot token
  • PORT (optional): Server port, defaults to 3000

Health Check

The container includes a health check that verifies the server is responding:

docker inspect slack-mcp | grep Health -A 10

Logs

View container logs:

docker-compose logs -f slack-mcp

Stopping

docker-compose down

Production Deployment

For production, consider:

  • Using Docker secrets for sensitive data
  • Setting up proper logging
  • Using a reverse proxy (nginx)
  • Implementing proper monitoring

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •