Slack MCP Server

Official

Read Slack channels and send messages from your AI assistant

GitHub8.2k
slackcommunicationmessagingofficialteam

The official Slack MCP server connects your AI to your Slack workspace. Read messages from channels, list users, get channel history, and post replies — all from your AI client. Uses a Slack bot token with configurable permissions. Ideal for developers who want to summarize channel discussions, draft replies, or integrate AI into their team communication workflows without leaving their editor.

Install Config

Config file: ~/Library/Application Support/Claude/claude_desktop_config.json· Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-slack"
      ],
      "env": {
        "SLACK_BOT_TOKEN": "xoxb-your-token",
        "SLACK_TEAM_ID": "T01XXXXXXX"
      }
    }
  }
}

Required environment variables:

  • SLACK_BOT_TOKENSlack bot OAuth token (starts with xoxb-)(e.g. xoxb-xxxxxxxxxxxx)
  • SLACK_TEAM_IDYour Slack workspace team ID(e.g. T01XXXXXXX)

Available Tools (7)

Tool nameDescription
slack_list_channelsList all channels in the workspace
slack_get_channel_historyGet recent messages from a channel
slack_post_messagePost a message to a channel
slack_reply_to_threadReply to a thread in a channel
slack_get_thread_repliesGet all replies in a thread
slack_get_usersList all users in the workspace
slack_get_user_profileGet details for a specific user

Example Prompts

  • Summarize the last 20 messages in #engineering
  • Post a status update to #general
  • Who has been active in #product this week?
  • Summarize the discussion thread started by Alice yesterday
  • List all channels I'm a member of

Pros & Cons

Pros

  • Official Anthropic server with Slack API access
  • Read and write — can post messages and replies
  • Fine-grained bot permissions

Cons

  • Requires creating a Slack app and bot token
  • Can only access channels the bot is invited to

Who Is This For?

  • ·Developers who want AI to help manage or summarize Slack conversations
  • ·Teams building AI-assisted communication workflows

When to use: Use when you want to search, summarize, or respond to Slack messages without switching context from your AI client.

Supported Clients