Slack MCP Host

by jexp

365 downloads
Not rated
GitHub

About

A Slack bot that integrates MCP (Machine Control Protocol) servers with Slack, providing LLM-powered interactions in dedicated channels. It can execute tools from configured MCP servers and present results in a user-friendly format.

Details

Author
jexp
Downloads
365
Categories
Communication

- LLM-powered conversations in Slack
- Integration with multiple MCP servers
- Markdown rendering support
- Collapsible tool execution results
- Conversation history maintenance
- Secure configuration management

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Slack MCP Host
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install dependencies, configure environment variables (Slack token, OpenAI key, MCP server definitions), and deploy to Cloudflare Workers or run locally with uvicorn. Interact with the bot by mentioning it or messaging in designated Slack channels.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "slack mcp host": {
            "slack-mcp-host": {
                "command": "uv",
                "args": [
                    "venv"
                ]
            }
        }
    }
}

McpServers

{
    "slack-mcp-host": {
        "command": "uv",
        "args": [
            "venv"
        ]
    }
}

Slack MCP Host

A Slack bot that integrates MCP (Machine Control Protocol) servers with Slack, providing LLM-powered interactions in dedicated channels. The bot can execute tools from configured MCP servers and present results in a user-friendly format.

Features

- 🤖 LLM-powered conversations in Slack
- 🔧 Integration with multiple MCP servers
- 📝 Markdown rendering support
- 🔍 Collapsible tool execution results
- 💾 Conversation history maintenance
- 🔐 Secure configuration management

Prerequisites

- Python 3.11+
- uv for dependency management
- A Slack workspace with admin access
- OpenAI API access
- One or more MCP servers

Setup

1. Clone the repository

git clone https://github.com/yourusername/slack-mcp-host.git
cd slack-mcp-host

2. Create and activate virtual environment

uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate

3. Install dependencies

uv sync

4. Configure environment

cp .env.example .env

Edit .env with your credentials:
```bash
SLACK_API_KEY=xoxb-your-slack-bot-token
OPENAI_API_KEY=your-openai-api-key
OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_MODEL=gpt-4

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.