Slack

v0.0.1Communicationstable

Enables comprehensive interaction with Slack workspaces, allowing users to manage channels, send messages, and search history. It supports managing reminders, pins, reactions, and user information through the Model Context Protocol.

slackmcpai-integration
Share:
67
Stars
0
Downloads
0
Weekly
0/5

What is Slack?

Slack is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables comprehensive interaction with slack workspaces, allowing users to manage channels, send messages, and search history. it supports managing reminders, pins, reactions, and user information thr...

Enables comprehensive interaction with Slack workspaces, allowing users to manage channels, send messages, and search history. It supports managing reminders, pins, reactions, and user information through the Model Context Protocol.

This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • slack_list_channels
  • slack_post_message
  • slack_reply_to_thread
  • slack_add_reaction
  • slack_get_channel_history

Use Cases

Channel management and message automation
Search history, manage reminders, and reactions
zencoderai

Maintainer

LicenseMIT License
Languagejavascript
Versionv0.0.1
UpdatedMay 16, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @zencoderai/slack-mcp-server

Manual Installation

npx -y @zencoderai/slack-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Slack

The ZencodeAI Slack MCP server connects AI assistants to your Slack workspace, enabling them to list channels, post messages, reply to threads, add emoji reactions, retrieve channel history, and look up user profiles — all through natural language. It requires only a Slack bot token and team ID, supports stdio and HTTP transports, and can be deployed via Docker for production use, making it suitable for teams that want to automate Slack communication workflows from within their AI assistant.

Prerequisites

  • A Slack workspace where you have permission to create and install apps
  • A Slack bot token (starts with xoxb-) from a Slack app with channels:read, chat:write, reactions:write, and users:read OAuth scopes
  • Your Slack workspace Team ID (starts with T, found in workspace settings or the Slack URL)
  • Node.js 18+ for npx-based usage, or Docker for containerized deployment
  • An MCP-compatible client such as Claude Desktop
1

Create a Slack app and obtain a bot token

Go to api.slack.com/apps and create a new app for your workspace. Under OAuth & Permissions, add the required bot scopes: channels:read, chat:write, chat:write.public, reactions:write, users:read. Install the app to your workspace and copy the Bot User OAuth Token (xoxb-...).

2

Find your Slack Team ID

Your Team ID starts with T and can be found in your Slack workspace URL (slack.com/app_redirect?channel=T...) or in the workspace settings under Administration.

3

Add the server to your MCP client configuration

Edit your Claude Desktop config file to register the Slack MCP server, passing your bot token and team ID as environment variables.

{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": ["-y", "@zencoderai/slack-mcp-server"],
      "env": {
        "SLACK_BOT_TOKEN": "xoxb-your-bot-token-here",
        "SLACK_TEAM_ID": "T0123456789"
      }
    }
  }
}
4

Optionally restrict to specific channels

Set the SLACK_CHANNEL_IDS environment variable to a comma-separated list of channel IDs to limit the server's scope to only those channels.

"SLACK_CHANNEL_IDS": "C0123456789,C9876543210"
5

Restart your MCP client and test

Restart Claude Desktop and ask it to list your Slack channels. You should see a list of public channels from your workspace, confirming the bot token and permissions are correctly configured.

Slack Examples

Client configuration

Claude Desktop config using npx to run the Slack MCP server with bot token and team ID.

{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": ["-y", "@zencoderai/slack-mcp-server"],
      "env": {
        "SLACK_BOT_TOKEN": "xoxb-111111111111-222222222222-AbCdEfGhIjKlMnOpQrStUvWx",
        "SLACK_TEAM_ID": "T01AB2CD3EF"
      }
    }
  }
}

Prompts to try

Example prompts covering Slack channel management, messaging, and user lookup.

- "List all public channels in my Slack workspace"
- "Post a message to #general saying the deployment is complete"
- "Reply to the last thread in #engineering with a thumbs-up and the message 'LGTM'"
- "Get the last 20 messages from #product-updates"
- "Look up the profile for the user with ID U0123456789"
- "Add a rocket emoji reaction to the most recent message in #releases"

Troubleshooting Slack

Bot responds with 'not_in_channel' or 'channel_not_found' errors

The bot must be invited to the channel before it can post or read messages. In Slack, open the channel and type /invite @your-bot-name. For public channels, you can also add the chat:write.public scope to allow posting without being a member.

Missing scopes error when listing channels or users

Go to your Slack app settings at api.slack.com/apps, navigate to OAuth & Permissions, and add the missing scopes: channels:read for listing channels, users:read for user lookup, reactions:write for emoji reactions. After adding scopes, reinstall the app to the workspace.

npx fails to find the package or throws a version error

Run 'npm install -g @zencoderai/slack-mcp-server' to install globally and replace the command with 'slack-mcp-server' in your MCP config. Alternatively, ensure Node.js is 18+ by running 'node --version'.

Frequently Asked Questions about Slack

What is Slack?

Slack is a Model Context Protocol (MCP) server that enables comprehensive interaction with slack workspaces, allowing users to manage channels, send messages, and search history. it supports managing reminders, pins, reactions, and user information through the model context protocol. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Slack?

Install via npm with the command: npx -y @zencoderai/slack-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Slack?

Slack works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Slack free to use?

Yes, Slack is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Communication MCP Servers

Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "slack": { "command": "npx", "args": ["-y", "@zencoderai/slack-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Slack?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides