Integration 2026-03-26

How to Set Up Slack MCP: Complete Integration Guide

MCP Trail Team

MCP Trail Team

Technical Team

How to Set Up Slack MCP: Complete Integration Guide

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:

  1. Slack Workspace with admin access
  2. Slack Bot Token (Bot Token Scopes)
  3. MCP-compatible AI client (Claude, Cursor, or ChatGPT)
  4. Node.js 18+ for local MCP server

Step-by-Step Setup

Step 1: Create Slack App

  1. Go to api.slack.com/apps
  2. Click Create New AppFrom scratch
  3. Name your app and select your workspace
  4. Navigate to OAuth & Permissions

Step 2: Add Bot Token Scopes

Add these scopes:

  • chat:write - Send messages
  • channels:read - List channels
  • channels:write - Create channels
  • chat:write.public - Post to public channels
  • reactions:write - Add reactions

Step 3: Install App to Workspace

  1. Click Install to Workspace
  2. 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.

Share this article