Slack MCP server using SSE transport

Slack MCP server using SSE transport

slack-mcp-server-sse•bydvelopment

An MCP server that integrates with the Slack API and communicates over HTTP using Server-Sent Events transport.

License: MIT•Runtime: Awaiting documentation review•Category: communication social

WHAT IT DOES

  • •Offers MCP access to Slack tools such as listing channels, posting messages, replying to threads, adding reactions, reading channel history and thread replies, and retrieving users and profiles.
  • •Uses SSE transport over HTTP/HTTPS and exposes an SSE endpoint for MCP clients.
  • •Includes a health check endpoint and a simple home page.

BEST FOR

  • •AI assistants that need to read and post messages in Slack workspaces.
  • •Deployments where MCP clients connect over HTTP via SSE rather than stdio.

ABOUT SLACK-MCP-SERVER-SSE

Slack MCP server using SSE transport is cataloged as an MCP server attributed to dvelopment. An MCP server that integrates with the Slack API and communicates over HTTP using Server-Sent Events transport. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Slack MCP server using SSE transport are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What Slack actions does the server expose as tools?

Tools include listing channels, posting messages, replying to threads, adding reactions, reading channel history and thread replies, and listing users and user profiles.

Does the server communicate over stdio?

No, it uses Server-Sent Events transport so it can communicate over HTTP/HTTPS instead of stdio.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 5a4a1582b5ad · 采集于 2026-11-13 13:23:40 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Slack MCP Server with SSE Transport

A Model Context Protocol (MCP) server that provides Slack API integration using Server-Sent Events (SSE) transport. This server allows AI assistants to interact with Slack workspaces through a simple HTTP-based interface.

Features

  • SSE Transport: Uses Server-Sent Events (SSE) instead of stdio, enabling communication over HTTP/HTTPS
  • Slack API Integration: Provides access to essential Slack API functionality
  • Simple Web Interface: Includes a basic web UI and health check endpoint
  • Docker Support: Fully containerized with Docker for easy deployment
  • TypeScript Implementation: Built with TypeScript for type safety and better developer experience
  • Cross-Platform Compatibility: Works with any MCP client that supports SSE transport

Prerequisites

  • Node.js 18 or higher
  • Slack Bot Token with appropriate permissions
  • Slack Team ID
  • Docker (optional, for containerized deployment)

Environment Variables

VariableDescriptionDefault
SLACK_BOT_TOKENYour Slack Bot User OAuth Token (starts with xoxb-)Required
SLACK_TEAM_IDYour Slack Workspace/Team IDRequired
PORTPort on which the server will run3000

Setup Instructions

Obtaining Slack Bot Token and Team ID

  1. Create a Slack App:

    • Visit the Slack Apps page
    • Click "Create New App"
    • Choose "From scratch"
    • Name your app and select your workspace
  2. Configure Bot Token Scopes:

    • Navigate to "OAuth & Permissions" in your app settings
    • Add these scopes:
      • channels:history - View messages and other content in public channels
      • channels:read - View basic channel information
      • chat:write - Send messages as the app
      • reactions:write - Add emoji reactions to messages
      • users:read - View users and their basic information
  3. Install App to Workspace:

    • Click "Install to Workspace" and authorize the app
    • Save the "Bot User OAuth Token" that starts with xoxb-
  4. Get your Team ID:

    • Open Slack in a web browser
    • Once logged in, check the URL in your browser
    • The URL will be in a format like: https://app.slack.com/client/T01234567/...
    • Your Team ID is the string beginning with T (e.g., T01234567)

Local Development

  1. Clone the repository
  2. Install dependencies:
    npm install
    
  3. Create a .env file based on .env.example:
    SLACK_BOT_TOKEN=xoxb-your-slack-bot-token
    SLACK_TEAM_ID=your-slack-team-id
    PORT=3000
    
  4. Build the TypeScript code:
    npm run build
    
  5. Start the server:
    npm start
    

For development with automatic reloading:

npm run dev

Docker Deployment

  1. Create a .env file with your Slack credentials as shown above
  2. Build and run the container:
    docker compose up --build
    

Using Pre-built Image

docker run -p 3000:3000 \
  -e SLACK_BOT_TOKEN=xoxb-your-slack-bot-token \
  -e SLACK_TEAM_ID=your-slack-team-id \
  ghcr.io/dvelopment/slack-mcp-server-sse:latest

For more detailed Docker instructions, including publishing to GitHub Container Registry, see DOCKER.md.

Server Endpoints

  • SSE Endpoint: /sse - Connect to this endpoint to receive SSE events
  • Health Check: /health - Simple health check endpoint (returns {"status":"ok"})
  • Home Page: / - Simple HTML page with information about the server

Available Slack API Tools

Tool NameDescriptionRequired Parameters
slack_list_channelsList public channels in the workspace with paginationNone (optional: limit, cursor)
slack_post_messagePost a new message to a Slack channelchannel_id, text
slack_reply_to_threadReply to a specific message thread in Slackchannel_id, thread_ts, text
slack_add_reactionAdd a reaction emoji to a messagechannel_id, timestamp, reaction
slack_get_channel_historyGet recent messages from a channelchannel_id (optional: limit)
slack_get_thread_repliesGet all replies in a message threadchannel_id, thread_ts
slack_get_usersGet a list of all users in the workspaceNone (optional: cursor, limit)
slack_get_user_profileGet detailed profile information for a specific useruser_id

Connecting to the Server

Node.js Client Example

// Replace with your server URL
const SERVER_URL = 'http://localhost:3000/sse';

// Create EventSource to connect to the SSE endpoint
const eventSource = new EventSource(SERVER_URL);

// Handle connection open
eventSource.onopen = () => {
  console.log('Connected to SSE server');
};

// Handle messages
eventSource.onmessage = (event) => {
  console.log('Received message:', event.data);
  try {
    const data = JSON.parse(event.data);
    console.log('Parsed data:', data);
  } catch (error) {
    console.log('Raw message (not JSON):', event.data);
  }
};

// Handle errors
eventSource.onerror = (error) => {
  console.error('SSE connection error:', error);
  eventSource.close();
};

See the examples directory for complete client examples:

  • examples/client.js - Node.js client example
  • examples/browser-client.html - Browser client example

Using with Claude MCP Wrapper

To use this server with the Claude MCP wrapper:

claude_mcp_wrapper.sh -y docker run -i --rm -e SLACK_BOT_TOKEN -e SLACK_TEAM_ID mcp/slack

Or for an SSE-based connection:

claude_mcp_wrapper.sh -y http://localhost:3000/sse

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Slack MCP server using SSE transport from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/slack-mcp-server-sse)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related communication social MCP Servers

Alternative and complementary servers in the same category

View all in communication social →

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

52
Communication

Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

Repository stats unavailable
Communication