Skip to main content

A Model Context Protocol (MCP) server that enables AI assistants to interact with Slack workspaces

Project description

slack-mcp

A Model Context Protocol (MCP) server that enables AI assistants to interact with Slack workspaces. This server provides a bridge between AI tools and Slack, allowing you to read messages, post content, and manage Slack channels programmatically through MCP-compatible clients.

What is this and why should I use it?

This MCP server transforms your Slack workspace into an AI-accessible environment. Instead of manually switching between your AI assistant and Slack, you can now:

  • Read channel messages - Get real-time updates and conversation history
  • Post messages and commands - Send text, files, or execute Slack commands
  • Manage reactions - Add emoji reactions to messages
  • Join channels - Automatically join new channels as needed
  • Thread conversations - Maintain context in threaded discussions

Key Benefits

  • Seamless Integration: Connect your AI assistant directly to Slack without manual copy-pasting
  • Automated Workflows: Build AI-powered Slack bots that can read, analyze, and respond to messages
  • Enhanced Productivity: Let AI help manage notifications, summarize conversations, or automate routine Slack tasks
  • Real-time Collaboration: Enable AI assistants to participate in team discussions and provide instant insights

Use Cases

  • Team Assistant: Have an AI that can read team updates and provide summaries
  • Notification Manager: Automatically categorize and respond to incoming messages
  • Knowledge Base: AI that can search through channel history and provide context
  • Meeting Scheduler: AI that can read meeting requests and help coordinate schedules

Running with Podman or Docker

You can run the slack-mcp server in a container using Podman or Docker:

Example configuration for running with Podman:

{
  "mcpServers": {
    "slack": {
      "command": "podman",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e", "SLACK_XOXC_TOKEN",
        "-e", "SLACK_XOXD_TOKEN",
        "-e", "MCP_TRANSPORT",
        "-e", "LOGS_CHANNEL_ID",
        "quay.io/redhat-ai-tools/slack-mcp"
      ],
      "env": {
        "SLACK_XOXC_TOKEN": "xoxc-...",
        "SLACK_XOXD_TOKEN": "xoxd-...",
        "MCP_TRANSPORT": "stdio",
        "LOGS_CHANNEL_ID": "C7000000"
      }
    }
  }
}

Running with non-stdio transport

To run the server with a non-stdio transport (such as SSE), set the MCP_TRANSPORT environment variable to a value other than stdio (e.g., sse).

Example configuration to connect to a non-stdio MCP server:

{
  "mcpServers": {
    "slack": {
      "url": "https://slack-mcp.example.com/sse",
      "headers": {
        "X-Slack-Web-Token": "xoxc-...",
        "X-Slack-Cookie-Token": "xoxd-..."
      }
    }
  }
}

Extract your Slack XOXC and XOXD tokens easily using browser extensions or Selenium automation: https://github.com/maorfr/slack-token-extractor.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_redhat_community_ai_tools_slack_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_redhat_community_ai_tools_slack_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_redhat_community_ai_tools_slack_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 097afc3a46f97f6e524a53eaca1ff1951fa9e2ab810da9b5bb6a90eec1935709
MD5 0b7e13ad89c0741b41acdabcd18a97f6
BLAKE2b-256 46baca349d38a50613445dd80055414684d8c6febbd2285009a4aef42709e4cb

See more details on using hashes here.

File details

Details for the file iflow_mcp_redhat_community_ai_tools_slack_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_redhat_community_ai_tools_slack_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_redhat_community_ai_tools_slack_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f362e11b0d11aef1cceb335daf221034b82e9d107e9caea02f17e9caec48a52d
MD5 cc835130762c359af997d41fdbf25132
BLAKE2b-256 05cabbae9552bb8995583a5cdbc4cfd623272257b2d19e01cc0f57cc03f8d492

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page