← Back to MCP servers

Slack

Slack MCP Server

Send messages, read channels, and search Slack workspaces from your AI coding assistant.

Token requiredGet credentials →

Last reviewed Mar 2, 2026

Install

claude mcp add slack --transport stdio -- npx -y @modelcontextprotocol/server-slack
Scope: project

Environment variables required:

SLACK_BOT_TOKEN=xoxb-your-bot-token

Available tools

ToolDescription
send_messageSend a message to a Slack channel
read_channelRead recent messages from a channel
list_channelsList channels in the workspace
search_messagesSearch messages across the workspace

What it does

The Slack MCP Server connects your AI coding assistant to your Slack workspace, enabling it to read messages, post updates, and search conversations. This is useful for developers who want to stay in their editor while keeping up with team discussions, posting deployment notifications, or searching for context shared in Slack.

The server uses the Slack Bot API, so it operates with the permissions you grant to your Slack app. You control exactly which channels the bot can access and what actions it can perform.

Use cases

  • Search Slack conversations for context about past decisions, bug reports, or feature requirements
  • Post status updates or deployment notifications to team channels without leaving your editor
  • Read recent messages in a channel to catch up on discussions relevant to your current work
  • List channels to find the right place to post updates or ask questions
  • Automate notification workflows by sending messages based on development events

Getting started

  1. Create a new Slack App at api.slack.com/apps. Choose "From scratch" and select your workspace.
  2. Under "OAuth & Permissions," add the following Bot Token Scopes: channels:read, channels:history, chat:write, and search:read.
  3. Install the app to your workspace and copy the Bot User OAuth Token (starts with xoxb-).
  4. Set the SLACK_BOT_TOKEN environment variable to your token value. Invite the bot to any channels you want it to access by typing /invite @yourbot in those channels.