Slack MCP Server
CommunityAbout
The Slack MCP server enables AI assistants to read and send messages, manage channels, and interact with your Slack workspace directly from your development environment.
Features
- Send messages to channels and users
- Read message history
- List and search channels
- Manage channel memberships
- Post threaded replies
- Upload files and attachments
Installation
Prerequisites
You'll need a Slack Bot Token and Team ID from your Slack workspace.
Using Claude Desktop
{
"mcpServers": {
"slack": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-slack"
],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-token",
"SLACK_TEAM_ID": "T01234567"
}
}
}
}
Using Cursor
{
"slack": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-token",
"SLACK_TEAM_ID": "T01234567"
}
}
}
How to Use
Once installed, you can ask your AI assistant to:
- "Send a message to #general channel"
- "Read the latest messages from #engineering"
- "List all channels in the workspace"
- "Reply to the thread about the deployment"