Slack
Enables comprehensive interaction with Slack workspaces, allowing users to manage channels, send messages, and search history. It supports managing reminders, pins, reactions, and user information through the Model Context Protocol.
What is Slack?
Slack is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables comprehensive interaction with slack workspaces, allowing users to manage channels, send messages, and search history. it supports managing reminders, pins, reactions, and user information thr...
Enables comprehensive interaction with Slack workspaces, allowing users to manage channels, send messages, and search history. It supports managing reminders, pins, reactions, and user information through the Model Context Protocol.
This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- slack_list_channels
- slack_post_message
- slack_reply_to_thread
- slack_add_reaction
- slack_get_channel_history
Use Cases
Maintainer
Works with
Installation
NPM
npx -y @zencoderai/slack-mcp-serverManual Installation
npx -y @zencoderai/slack-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Slack
The ZencodeAI Slack MCP server connects AI assistants to your Slack workspace, enabling them to list channels, post messages, reply to threads, add emoji reactions, retrieve channel history, and look up user profiles — all through natural language. It requires only a Slack bot token and team ID, supports stdio and HTTP transports, and can be deployed via Docker for production use, making it suitable for teams that want to automate Slack communication workflows from within their AI assistant.
Prerequisites
- A Slack workspace where you have permission to create and install apps
- A Slack bot token (starts with xoxb-) from a Slack app with channels:read, chat:write, reactions:write, and users:read OAuth scopes
- Your Slack workspace Team ID (starts with T, found in workspace settings or the Slack URL)
- Node.js 18+ for npx-based usage, or Docker for containerized deployment
- An MCP-compatible client such as Claude Desktop
Create a Slack app and obtain a bot token
Go to api.slack.com/apps and create a new app for your workspace. Under OAuth & Permissions, add the required bot scopes: channels:read, chat:write, chat:write.public, reactions:write, users:read. Install the app to your workspace and copy the Bot User OAuth Token (xoxb-...).
Find your Slack Team ID
Your Team ID starts with T and can be found in your Slack workspace URL (slack.com/app_redirect?channel=T...) or in the workspace settings under Administration.
Add the server to your MCP client configuration
Edit your Claude Desktop config file to register the Slack MCP server, passing your bot token and team ID as environment variables.
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["-y", "@zencoderai/slack-mcp-server"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token-here",
"SLACK_TEAM_ID": "T0123456789"
}
}
}
}Optionally restrict to specific channels
Set the SLACK_CHANNEL_IDS environment variable to a comma-separated list of channel IDs to limit the server's scope to only those channels.
"SLACK_CHANNEL_IDS": "C0123456789,C9876543210"Restart your MCP client and test
Restart Claude Desktop and ask it to list your Slack channels. You should see a list of public channels from your workspace, confirming the bot token and permissions are correctly configured.
Slack Examples
Client configuration
Claude Desktop config using npx to run the Slack MCP server with bot token and team ID.
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["-y", "@zencoderai/slack-mcp-server"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-111111111111-222222222222-AbCdEfGhIjKlMnOpQrStUvWx",
"SLACK_TEAM_ID": "T01AB2CD3EF"
}
}
}
}Prompts to try
Example prompts covering Slack channel management, messaging, and user lookup.
- "List all public channels in my Slack workspace"
- "Post a message to #general saying the deployment is complete"
- "Reply to the last thread in #engineering with a thumbs-up and the message 'LGTM'"
- "Get the last 20 messages from #product-updates"
- "Look up the profile for the user with ID U0123456789"
- "Add a rocket emoji reaction to the most recent message in #releases"Troubleshooting Slack
Bot responds with 'not_in_channel' or 'channel_not_found' errors
The bot must be invited to the channel before it can post or read messages. In Slack, open the channel and type /invite @your-bot-name. For public channels, you can also add the chat:write.public scope to allow posting without being a member.
Missing scopes error when listing channels or users
Go to your Slack app settings at api.slack.com/apps, navigate to OAuth & Permissions, and add the missing scopes: channels:read for listing channels, users:read for user lookup, reactions:write for emoji reactions. After adding scopes, reinstall the app to the workspace.
npx fails to find the package or throws a version error
Run 'npm install -g @zencoderai/slack-mcp-server' to install globally and replace the command with 'slack-mcp-server' in your MCP config. Alternatively, ensure Node.js is 18+ by running 'node --version'.
Frequently Asked Questions about Slack
What is Slack?
Slack is a Model Context Protocol (MCP) server that enables comprehensive interaction with slack workspaces, allowing users to manage channels, send messages, and search history. it supports managing reminders, pins, reactions, and user information through the model context protocol. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Slack?
Install via npm with the command: npx -y @zencoderai/slack-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Slack?
Slack works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Slack free to use?
Yes, Slack is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Slack Alternatives — Similar Communication Servers
Looking for alternatives to Slack? Here are other popular communication servers you can use with Claude, Cursor, and VS Code.
Slack
★ 86.1kEnables interaction with Slack workspaces through comprehensive channel management, messaging, user management, file uploads, and Block Kit formatting. Features secure credential storage via macOS Keychain and supports all major Slack operations incl
LibreChat
★ 37.3kEnhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenA
Note Gen
★ 11.9kA cross-platform Markdown AI note-taking software.
DeepChat
★ 5.8k🐬DeepChat - A smart assistant that connects powerful AI to your personal world
WhatsApp MCP
★ 5.7kConnects AI assistants to the official Meta WhatsApp Cloud API for managing conversations and sending various message types through natural language. It provides tools for media management, template messages, and real-time webhook processing without
Apple
★ 3.1kEnables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
Browse More Communication MCP Servers
Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Slack in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Slack?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.