Slack
Enables 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
What is Slack?
Slack is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables interaction with slack workspaces through comprehensive channel management, messaging, user management, file uploads, and block kit formatting. features secure credential storage via macos key...
Enables 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
This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Enables interaction with Slack workspaces through comprehens
Use Cases
Maintainer
Works with
Installation
NPM
npx -y @modelcontextprotocol/server-filesystemManual Installation
npx -y @modelcontextprotocol/server-filesystemConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Slack
The Slack MCP Server connects AI assistants directly to your Slack workspace, enabling them to read channel history, post messages, reply to threads, add reactions, and look up user profiles. It uses a Slack Bot Token for authentication and exposes eight distinct tools covering the full range of day-to-day Slack interactions. Developers and teams use it to automate notifications, summarize conversations, and let AI agents participate in Slack workflows without leaving their AI client.
Prerequisites
- Node.js 18 or later installed on your machine
- A Slack workspace where you have permission to install apps
- A Slack Bot Token (starts with xoxb-) from a Slack App with the required OAuth scopes
- Your Slack Team ID (starts with T, found in workspace settings)
- An MCP-compatible client such as Claude Desktop or Cursor
Create a Slack App and obtain a Bot Token
Go to api.slack.com/apps and create a new app. Under 'OAuth & Permissions', add the required bot scopes: channels:read, channels:history, chat:write, reactions:write, users:read, and users:read.email. 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 (e.g. https://app.slack.com/client/T01234567/...) or under workspace Settings > About.
Install the Slack MCP Server package
The server is published on npm. You can run it directly with npx — no global install required.
npx -y @modelcontextprotocol/server-slackAdd the server to your MCP client configuration
Open your MCP client's config file (e.g. claude_desktop_config.json for Claude Desktop) and add the slack server entry with your credentials as environment variables.
{
"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"
}
}
}
}Restart your MCP client and verify the connection
Restart Claude Desktop (or your chosen client). The Slack server should appear in the tools list. Test by asking your AI assistant to list your Slack channels.
Slack Examples
Client configuration
Full claude_desktop_config.json entry for the Slack MCP server, using real env var names.
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token-here",
"SLACK_TEAM_ID": "T01234567",
"SLACK_CHANNEL_IDS": "C01234567"
}
}
}
}Prompts to try
Example prompts that work with the Slack MCP server's eight available tools.
- "List all available Slack channels in my workspace"
- "Post a message to #general saying 'Deployment complete!'"
- "Summarize the last 10 messages in #engineering"
- "Reply to the latest thread in #support with a status update"
- "Add a thumbs-up reaction to the most recent message in #announcements"
- "Look up the profile of user @jane.doe"Troubleshooting Slack
Error: invalid_auth or token_revoked when the server starts
Verify your SLACK_BOT_TOKEN starts with 'xoxb-' and has not been revoked. Re-install the Slack App to your workspace and copy the freshly issued token.
Tools return 'channel_not_found' when posting messages
Make sure the bot has been invited to the target channel (/invite @your-bot-name) and that the SLACK_CHANNEL_IDS list includes the channel's ID (not its name).
SLACK_TEAM_ID is set but channel listing returns an empty array
Confirm the Team ID starts with 'T' and matches your workspace. If SLACK_CHANNEL_IDS is set, the server will only expose those channels — remove the variable to allow all accessible channels.
Frequently Asked Questions about Slack
What is Slack?
Slack is a Model Context Protocol (MCP) server that enables 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 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 @modelcontextprotocol/server-filesystem. 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.
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.
Md2WeChat
★ 2.3kMarkdown to WeChat CLI | 一键排版发布到微信公众号:支持 40+ 排版样式和专业主题 、AI 配图 、批量发布
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.