Slack MCP Server

Slack MCP Server

An MCP server that enables AI agents to send messages, payloads, and Markdown-formatted content to Slack via Incoming Webhooks.

Category
Visit Server

README

Slack MCP Server

CI

A Model Context Protocol (MCP) server that posts notifications to Slack via an Incoming Webhook. AI agents call tools instead of shelling out to curl.

Features

  • send_message — plain text and optional Block Kit blocks
  • send_payload — pre-built payload object or multi-part array (rate-limit aware)
  • send_markdown — Markdown → Block Kit conversion with Slack size limits and splitting
  • STDIO and SSE transports
  • Works with Claude Code, Cursor, OpenCode, and other MCP clients

Installation

git clone https://github.com/rokej/slack-mcp-server.git
cd slack-mcp-server
pip install -e ".[dev]"

Or install a release wheel:

pip install https://github.com/rokej/slack-mcp-server/releases/download/v0.1.0/slack_mcp_server-0.1.0-py3-none-any.whl

Configuration

Copy .env.example to .env (or export the variable):

export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/T…/B…/…"

Create a webhook at Slack API — Your Apps → Incoming Webhooks.

Usage

# STDIO (default) — for MCP clients
slack-mcp-server

# SSE transport
slack-mcp-server --transport sse --port 8080

Claude Code / Cursor / OpenCode

{
  "mcpServers": {
    "slack-webhook": {
      "command": "slack-mcp-server",
      "env": {
        "SLACK_WEBHOOK_URL": "${SLACK_WEBHOOK_URL}"
      }
    }
  }
}

In Agent Swarm, add Slack Webhook from the workspace MCP catalog — Swarmer injects SLACK_WEBHOOK_URL into sandboxes.

Agent container images

Pin a release wheel the same way as jira-mcp-server:

ARG SLACK_MCP_VERSION=0.1.0
RUN curl -fsSL -o /tmp/slack_mcp_server-${SLACK_MCP_VERSION}-py3-none-any.whl \
      "https://github.com/rokej/slack-mcp-server/releases/download/v${SLACK_MCP_VERSION}/slack_mcp_server-${SLACK_MCP_VERSION}-py3-none-any.whl" \
    && python3 -m pip install --no-cache-dir /tmp/slack_mcp_server-*.whl \
    && rm -f /tmp/slack_mcp_server-*.whl \
    && slack-mcp-server --help | head -5

Tools

Tool Purpose
send_message Post plain text + optional Block Kit blocks
send_payload Post a pre-built JSON payload (object or array)
send_markdown Convert Markdown to Block Kit and send

Development

pip install -e ".[dev]"
make test
make lint

Releasing

  1. Bump version in pyproject.toml and __version__ in slack_mcp_server/__init__.py
  2. Commit, then tag and push:
    git tag v0.1.0
    git push origin v0.1.0
    
  3. The Release workflow builds slack_mcp_server-X.Y.Z-py3-none-any.whl and attaches it to the GitHub Release

License

Apache License 2.0 — see LICENSE.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured