Slack

Slack

Model Context Protocol Slack MCP server with stdio/sse/http transports and stealth/OAuth modes.

930
Stars
151
Forks
20
Releases

Overview

Slack MCP Server is a Model Context Protocol (MCP) server for Slack workspaces. The implementation supports Stdio, SSE, and HTTP transports, enabling MCP clients to connect in diverse environments, and it can route outgoing requests through a proxy. It can operate in stealth mode, avoiding additional permissions or bot installations, or in OAuth mode using secure tokens for access without needing to refresh or extract tokens from the browser. It provides Enterprise Workspaces support for integration with large Slack deployments. The server offers channel and thread access with name-based lookups (e.g., #general) or IDs, including activity messages, and supports Direct Messages (DMs) and group Direct Messages (Group DMs). Smart History provides pagination by date or message count; Search Messages allows filtering across channels, threads, and DMs by date, user, and content. Safety is enforced by disabling the conversations_add_message tool by default; it can be enabled via an environment variable, with optional channel restrictions. The server embeds user information in messages and caches users and channels for faster startup, and exposes workspace directories via slack:// URIs for channels and users.

Details

Owner
korotovsky
Language
Go
License
MIT License
Updated
2025-12-07

Features

Stealth and OAuth Modes

Run the server without requiring additional permissions or bot installations (stealth) or use secure OAuth tokens for access.

Enterprise Workspaces Support

Supports integration with Enterprise Slack deployments.

Channel and Thread Access by Name/ID

Fetch messages from channels and threads, including activity messages, and retrieve channels by name (e.g., #general) or ID.

Smart History

Fetch messages with pagination by date (e.g., 1d, 7d, 1m) or by message count.

Search Messages

Search messages in channels, threads, and DMs with filters for date, user, and content.

Safe Message Posting

conversations_add_message tool is disabled by default; enable via SLACK_MCP_ADD_MESSAGE_TOOL env var with optional channel restrictions.

DM and Group DM Support

Retrieve direct messages and group direct messages.

Embedded User Information & Caching

Embed user information in messages and cache users and channels for faster access.

Audience

DevelopersBuild MCP client integrations to access Slack workspaces via MCP transports (stdio, SSE, HTTP).
Slack AdminsDeploy and configure the MCP server in Slack workspaces, including enterprise setups and proxy usage.
MCP ClientsConsume Slack MCP server features (channels, DMs, search, history) via stdio/SSE/HTTP transports.

Tags

SlackMCP ServerStdioSSEHTTPOAuthStealthChannelsDMsGroup DMsSmart HistoryMessage SearchProxyCachingEnterpriseUser Embedding