SuperAPIAI Directory

slack-mcp-client

github.com · AI developer platforms

This project provides a Slack bot client that serves as a bridge between Slack and Model Context Protocol (MCP) servers. By leveraging Slack as the user interface, it allows LLM models to interact with multiple MCP servers using standardized MCP tools.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose

Slack MCP Client is a Slack bot that also acts as an MCP (Model Context Protocol) client, used to bridge Slack and various MCP servers. Users trigger AI workflows by sending messages through Slack, enabling large language models to interact with real tools and systems through standardized MCP tools, such as file systems, databases, Kubernetes clusters, Git repositories, and custom tools.

Main Capabilities

  • MCP compatibility: Complies with the 2025-06-18 version of the MCP specification, supports all transport methods: HTTP, SSE, and stdio, uses the JSON-RPC 2.0 communication protocol, is compatible with official MCP servers and any MCP-compliant custom servers, and implements requirements such as user consent, data privacy, and tool security.
  • Multi-provider LLM support: OpenAI (GPT-4.1, GPT-4o, o3-pro), Anthropic (Claude Sonnet 4.5, Opus 4.1), Ollama (Llama 3.3, Qwen2.5, Mistral, DeepSeek), supporting native tool calling and a unified LangChain gateway.
  • Agent mode: An autonomous AI agent based on LangChain (langchaingo v0.1.14), supporting multi-step reasoning, tool orchestration, parsing of complex multi-line tool calls, configurable agent iteration counts, and streaming responses with memory leak fixes.
  • RAG retrieval-augmented generation: Supports two providers: simple JSON storage and OpenAI vector storage, supports vectorStoreId reuse of vector stores, configurable search parameters and similarity metrics, PDF ingestion and intelligent chunking, and provides a document management CLI tool.
  • Slack integration: Uses Socket Mode for secure, firewall-friendly communication; supports channels and direct messages; rich message formatting using Markdown and Block Kit; maintains independent conversation history per Slack thread; user context caching for personalized interactions; customizable bot behavior and message history.
  • Unified configuration: A single JSON configuration file with JSON Schema validation support; comprehensive timeout and retry configuration; environment variable substitution and overrides; exposes all underlying package options; smart defaults; server-prefixed tool naming to avoid conflicts.
  • Production-ready and scalableObservability: Supports Docker containers and GHCR releases; provides Kubernetes Helm chart and OCI repository; Prometheus metrics integration; monitors LLM token usage by model and type; provides OpenTelemetry tracing through Langfuse and OTLP providers; structured logging; configurable metrics endpoint and log level.

Usage

Download the latest binary from the GitHub Releases page, or install using Go. Before running, set the environment variables and create a unified configuration file, then run the application; the program will connect to Slack and start listening for messages. If you already have an older mcp-servers.json, you can use the migration tool to convert it to the new unified configuration format. The RAG feature can be enabled in the configuration, and documents can be ingested using the CLI; after configuration, the LLM can automatically search the knowledge base. In addition, custom prompts and assistants are supported; prompts can be defined in the configuration to create specialized assistants for scenarios such as DevOps, sales, HR, support, and code review. SSE MCP server authentication requires replacing YOUR_TOKEN_HERE in the configuration with the actual token. For Kubernetes deployment, you can use the Helm chart in the helm-chart directory, or install directly from the GitHub Container Registry (requires Kubernetes 1.16+ and Slack Bot and App tokens).

Use Cases

  • DevOps teams: infrastructure automation and monitoring through Slack.
  • Development teams: code review, Git operations, and file management.
  • Support teams: database queries, system status checks, and troubleshooting.
  • General scenarios: provide AI assistance with real tools and system integrations.

Limitations

  • OpenAI Agent: the native OpenAI agent in langchaingo has known issues; use a conversational agent as a workaround.
  • Agent mode: depends on the LangChain provider.
  • Permissions: retrieving user information may require additional Slack permissions.
  • Performance: Agent mode and standard mode may have different performance characteristics.
  • No specific billing, pricing, or performance data is provided in the documentation.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools