Slack MCP Server
Provides tools for interacting with a Slack workspace via the Slack Web API, including listing channels, posting messages and thread replies, deleting messages, adding reactions, retrieving channel history and thread replies, and fetching workspace users and profiles.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Slack MCP Server
MCP server for interacting with Slack workspace using the Slack Web API.
Disclaimer: This project is not affiliated with, endorsed by, or sponsored by Slack Technologies, Inc. "Slack" is a registered trademark of Slack Technologies, Inc. This is an independent integration built using Slack's public APIs.
Features
This Slack MCP server provides the following tools:
slack_list_channels- List public or pre-defined channels in the workspaceslack_post_message- Post a new message to a Slack channelslack_reply_to_thread- Reply to a specific message threadslack_delete_message- Delete a specific messageslack_add_reaction- Add a reaction emoji to a messageslack_get_channel_history- Get recent messages from a channelslack_get_thread_replies- Get all replies in a message threadslack_get_users- Get a list of all users in the workspaceslack_get_user_profile- Get detailed profile information for a specific user
Related MCP server: Slack MCP Server
Requirements
Node.js 22+
Slack Bot Token with appropriate scopes
Slack Team ID
To get Slack Bot Token:
Create a Slack App:
Visit the Slack Apps page
Click "Create New App"
Choose "From scratch"
Name your app and select your workspace
Configure Bot Token Scopes: Navigate to "OAuth & Permissions" and add these scopes:
channels:history- View messages and other content in public channelschannels:read- View basic channel informationchat:write- Send messages as the appreactions:write- Add emoji reactions to messagesusers:read- View users and their basic informationusers.profile:read- View detailed profiles about users
Install App to Workspace:
Click "Install to Workspace" and authorize the app
Save the "Bot User OAuth Token" that starts with
xoxb-
Get your Team ID (starts with a
T) by following this guidance
Environment Variables
SLACK_BOT_TOKEN- Your Slack bot token (required)SLACK_TEAM_ID- Your Slack team/workspace ID (required)SLACK_CHANNEL_IDS- Optional comma-separated list of channel IDs to limit access to specific channels
This Slack MCP server is designed to be used with AI assistants through IDE integration.
Tip
For Claude Desktop: Locate and edit the configuration file directly:
Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json For Cursor: Open Settings → MCP → + Add new global MCP server
Installation
Using NPX
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["-y", "@tokamohsen/mcp-slack"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
"SLACK_TEAM_ID": "T01234567"
}
}
}
}No installation needed! Just configure Claude Desktop or VS Code to use:
npx -y @tokamohsen/mcp-slackFrom Source
git clone https://github.com/tokamohsen/mcp-slack.git
cd mcp-slack/src/slack
npm install
npm run buildDocker
The Docker image is available on Docker Hub at: toqafelfel/mcp-slack
Option 1: Pull from Docker Hub (Recommended - No Build Required)
Simply pull the pre-built image:
docker pull toqafelfel/mcp-slack:latestThis is the fastest way to get started! The image is ready to use immediately.
Option 2: Build Locally
If you prefer to build the image yourself:
cd "$PROJECT_DIR"/src/slack
docker build -t toqafelfel/mcp-slack .Running the Docker Container
Once you have the image (either pulled or built), run it with:
docker run -i --rm \
-e SLACK_BOT_TOKEN=xoxb-your-bot-token \
-e SLACK_TEAM_ID=T01234567 \
toqafelfel/mcp-slack:latest{
"mcpServers": {
"slack": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SLACK_BOT_TOKEN",
"-e",
"SLACK_TEAM_ID",
"-e",
"SLACK_CHANNEL_IDS",
"toqafelfel/mcp-slack"
],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
"SLACK_TEAM_ID": "T01234567",
"SLACK_CHANNEL_IDS": "C01234567, C76543210"
}
}
}
}License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Enable interaction with Slack workspaces. Supports subscribing to Slack events through Resources.
Chat with your AI agents from Slack: each gets a thread in your DM, and your replies there wake it.
Messaging tools for AI agents: send messages, manage chats, groups and channels.
Connect assistants to your workspace knowledge, skills, and work tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Slack workspaces through comprehensive channel management, messaging, direct messages, search functionality, and user management capabilities.305 npm3MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Slack workspaces through natural language, supporting channel management, message operations, user profiles, reactions, and threaded conversations.-
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Slack workspaces, including listing channels, posting messages, replying to threads, adding reactions, and retrieving user information.1020 npmMIT
- AlicenseBqualityBmaintenanceEnables AI assistants to interact with Slack workspaces, providing tools for reading messages, posting content, managing channels, and more.2244MIT