List public or pre-defined channels in the workspace with optional pagination
Post a new message to a Slack channel
Reply to a specific message thread in a channel
Add an emoji reaction to a message
Get recent messages from a channel
Get all replies in a message thread
Get list of workspace users with basic profile information
Get detailed profile information for a specific user
The Slack Integration MCP provides a comprehensive interface for AI assistants to interact with Slack workspaces. It enables reading channel messages, posting new messages, replying to threads, adding reactions, and accessing user information. This integration allows AI assistants to become active participants in your Slack workspace, helping with communication, information retrieval, and workflow automation.
The Slack Integration MCP server provides a bridge between AI assistants and your Slack workspace. With this integration, AI assistants can view channel messages, post new content, reply to threads, add emoji reactions, and access user information.
Before setting up the Slack Integration, you'll need to:
channels:history
- View messages 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 user profilesxoxb-
T
) from your Slack URL or workspace settingsThe simplest way to run the Slack Integration is using NPX, which will automatically download and run the package:
npx -y @modelcontextprotocol/server-slack
You can also run the integration using Docker:
docker run -i --rm mcp/slack
The Slack Integration requires the following environment variables:
SLACK_BOT_TOKEN
: Your Bot User OAuth Token (starts with xoxb-
)SLACK_TEAM_ID
: Your Slack Team ID (starts with T
)SLACK_CHANNEL_IDS
(optional): Comma-separated list of specific channel IDs to accessAdd the following configuration to your claude_desktop_config.json
file:
{
"mcpServers": {
"slack": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-slack"
],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
"SLACK_TEAM_ID": "T01234567",
"SLACK_CHANNEL_IDS": "C01234567, C76543210"
}
}
}
}
{
"mcpServers": {
"slack": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SLACK_BOT_TOKEN",
"-e",
"SLACK_TEAM_ID",
"-e",
"SLACK_CHANNEL_IDS",
"mcp/slack"
],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
"SLACK_TEAM_ID": "T01234567",
"SLACK_CHANNEL_IDS": "C01234567, C76543210"
}
}
}
}
For VS Code users, you can install the Slack Integration directly through the editor:
Ctrl + Shift + P
to open the command palettePreferences: Open Settings (JSON)
and select itAlternatively, you can create a .vscode/mcp.json
file in your workspace with the configuration.
If you encounter issues with the Slack Integration: