modelcontextprotocol/slack

MCP Server

MCP Slack Server - interact with Slack workspaces (channels, messages, users)

Official MCP Slack server. List channels, post messages, reply to threads, add reactions, and query user profiles.

MCP Server

  • Package: @modelcontextprotocol/server-slack
  • Transport: stdio
  • Command: npx -y @modelcontextprotocol/server-slack

Authentication

Slack Bot Token

VariableRequiredDescription
SLACK_BOT_TOKENYesBot token (xoxb-...)
SLACK_TEAM_IDYesWorkspace ID (T...)
SLACK_CHANNEL_IDSNoComma-separated channel IDs to limit access

Available Tools

ToolDescription
slack_list_channelsList channels
slack_post_messagePost message
slack_reply_to_threadReply to thread
slack_add_reactionAdd reaction
slack_get_channel_historyChannel history
slack_get_thread_repliesThread replies
slack_get_usersList users
slack_get_user_profileUser profile

Configuration Example

toml
[[mcp.servers]]
name = "slack"
type = "stdio"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-slack"]
timeout_seconds = 60
env = { SLACK_BOT_TOKEN = "your-value", SLACK_TEAM_ID = "your-value", SLACK_CHANNEL_IDS = "your-value" }
tools = []

Notes: DEPRECATED but still functional. Requires OAuth scopes for each operation.