Slack MCP Server

Official
Communication
stdio

Integrate AI agents with Slack workspaces. Read channel history, post messages, reply in threads, search for messages, and list channels to enable AI-powered team communication and automation.

Quick Install

$ npx -y @modelcontextprotocol/server-slack

Environment Variables

VariableDescriptionRequired
SLACK_BOT_TOKENSlack Bot User OAuth TokenYes
SLACK_TEAM_IDSlack Workspace Team IDYes

In-Depth Setup Guide

Complete setup walkthrough & security best practices

Read Guide

Configuration by Client

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

Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.

Available Tools (5)

list_channelspost_messagereply_to_threadsearch_messagesget_channel_history

Slack FAQ

What is the Slack MCP server?

Integrate AI agents with Slack workspaces. Read channel history, post messages, reply in threads, search for messages, and list channels to enable AI-powered team communication and automation.

How do I install the Slack MCP server?

Run: npx -y @modelcontextprotocol/server-slack

Which AI clients support the Slack MCP server?

The Slack MCP server works with Claude Desktop, Cursor, Codex CLI, Antigravity, Windsurf, and any MCP-compatible client using stdio transport.

What tools does the Slack MCP server provide?

The server provides 5 tools: list_channels, post_message, reply_to_thread, search_messages, get_channel_history.