Slack

Slack

MCP server for interacting with Slack workspaces, supporting channels, messages, users, and history.

52
Stars
15
Forks
1
Releases

Overview

Slack MCP server that enables automated interaction with Slack workspaces via the Model Context Protocol. It supports both stdio and Streamable HTTP transports, and is extended from Anthropic's original, now archived implementation. The server exposes a comprehensive Slack integration layer with tools to list channels, post messages, reply to threads, add reactions, fetch channel history, retrieve thread replies, list users, and fetch user profiles. Built on the MCP SDK v1.13.2, it uses modern APIs and Zod-based validation for request schemas. The transport layer supports session management, RESTful API endpoints for HTTP transport, and optional Bearer token authentication with CLI/token/env var configuration. The project includes a CLI and Docker deployment options, along with detailed Slack bot setup including required OAuth scopes. Configuration is via environment variables (Slack bot token, team ID, predefined channels) and optional AUTH_TOKEN for HTTP transport. Endpoints exposed under the Streamable HTTP transport include POST /mcp (client-to-server), GET /mcp (server-sent events), and DELETE /mcp (terminate session).

Details

Owner
zencoderai
Language
JavaScript
License
Other
Updated
2025-12-07

Features

Multiple Transport Support

Supports both stdio and Streamable HTTP transports for local and remote deployments.

Modern MCP SDK

Updated to MCP SDK v1.13.2 with modern APIs and schema validation.

Comprehensive Slack Integration

Full set of Slack operations including listing channels, posting messages, replying to threads, adding reactions, fetching history, and retrieving user data.

Command Line Interface

CLI options to select transport, port, and token, with environment variable support.

Session Management

Implements robust session handling for the Streamable HTTP transport, including resumable connections.

Zod Validation

Uses Zod for request and response schema validation to ensure data integrity.

Bearer Token Authentication (HTTP)

Bearer token support with precedence rules; auto-generated if not provided.

HTTP API Endpoints

Exposes POST /mcp, GET /mcp, and DELETE /mcp for Streamable HTTP transport.

Tags

SlackMCPSlack integrationTransports: stdio and Streamable HTTPStreamable HTTP transportOAuth scopesBearer token authenticationZod validationMCP SDK v1.13.2