How to Set Up Slack MCP: Complete Integration Guide
MCP Trail Team
Technical Team
How to Set Up Slack MCP: Complete Integration Guide
Connecting Slack with Model Context Protocol (MCP) unlocks powerful possibilities for team communication automation, notification management, and collaborative workflows powered by AI.
What is Slack MCP?
Slack MCP integrates Slack’s messaging platform with AI assistants through the Model Context Protocol. This enables your AI to send messages, manage channels, search conversations, and trigger automated workflows based on team activities.
Why Integrate Slack with MCP?
- Automated Notifications: Send AI-generated alerts to channels
- Message Management: Archive, pin, or organize messages via conversation
- Channel Operations: Create and manage channels automatically
- Workflow Triggers: Start Slack workflows from AI commands
- Search & Discovery: Find information across all conversations
Prerequisites
Before setting up Slack MCP:
- Slack Workspace with admin access
- Slack Bot Token (Bot Token Scopes)
- MCP-compatible AI client (Claude, Cursor, or ChatGPT)
- Node.js 18+ for local MCP server
Step-by-Step Setup
Step 1: Create Slack App
- Go to api.slack.com/apps
- Click Create New App → From scratch
- Name your app and select your workspace
- Navigate to OAuth & Permissions
Step 2: Add Bot Token Scopes
Add these scopes:
chat:write- Send messageschannels:read- List channelschannels:write- Create channelschat:write.public- Post to public channelsreactions:write- Add reactions
Step 3: Install App to Workspace
- Click Install to Workspace
- Copy the Bot User OAuth Token (starts with
xoxb-)
Step 4: Configure MCP Server
# Install Slack MCP package
npm install @modelcontextprotocol/server-slack
# Create config
mkdir -p ~/.mcp-servers/config
{
"slack": {
"token": "xoxb-your-bot-token",
"defaultChannel": "C01ABCDEF"
}
}
Step 5: Connect AI Client
For Claude Desktop:
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-token"
}
}
}
}
Common Use Cases
1. Automated Notifications
Notify #engineering that the deployment is complete
2. Message Summarization
Summarize the last 20 messages in #project-updates
3. Channel Management
Create a new channel called #mcp-releases for deployment notifications
4. Workflow Automation
When a GitHub PR is merged, post the summary to #engineering
Best Practices
- Use appropriate scopes: Only request needed permissions
- Implement rate limiting: Slack has API rate limits
- Enable audit logging: Track all bot activities
- Set up error handling: Handle failed message sends
Troubleshooting
Token errors: Verify OAuth token is valid and has correct scopes
Channel not found: Ensure bot is a member of the channel
Rate limiting: Implement exponential backoff for retries
Conclusion
Slack MCP integration enables powerful team communication automation. Start with simple notifications and gradually expand to complex workflow automations.
Related Articles
- How to Set Up Jira MCP - Integrate AI with project management
- How to Set Up GitHub MCP - Connect AI to your repositories
- How to Set Up Notion MCP - AI-driven knowledge management
- Top 10 MCP Servers in 2026 - Discover more MCP integrations
- MCP Security Best Practices - Secure your MCP infrastructure