Integrate Slack with AI Workflows
Slack MCP Server: Integration for managing channels, messages, threads, reactions, and users. Supports HTTP and stdio.
Why it matters
Connect your AI models to Slack workspaces to automate communication and data retrieval. This MCP server enables bots to send messages, manage threads, and access channel history.
Outcomes
What it gets done
Send messages and replies in Slack channels and threads
Retrieve channel lists, history, and user information
Add reactions to Slack messages
Integrate with AI models via MCP for enhanced automation
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-slack | bash Capabilities
Tools your agent gets
Get a list of public or predefined channels in the workspace
Send a new message to a Slack channel
Reply in a specific message thread
Add an emoji reaction to a message
Get recent messages from a channel
Get all replies in a message thread
Get a list of workspace users with basic profile information
Get detailed profile information for a specific user
Overview
Slack MCP Server
What it does
Model Context Protocol (MCP) server for interacting with Slack workspaces, providing tools for retrieving channel lists, sending messages, replying in threads, adding reactions, retrieving channel history, and managing users.
To install the server globally:
npm install -g @zencoderai/slack-mcp-server
This allows the server to perform tasks such as listing channels, sending messages, replying to threads, adding reactions, retrieving channel history, and managing users.
Source README
Model Context Protocol (MCP) server for interacting with Slack workspaces, providing tools for retrieving channel lists, sending messages, replying in threads, adding reactions, retrieving channel history, and managing users.
Installation
NPM Global
npm install -g @zencoderai/slack-mcp-server
From Source
npm install
npm run build
Docker
docker build -t slack-mcp-server .
# Or download from Docker Hub
docker pull zencoderai/slack-mcp:latest
# Or download a specific version
docker pull zencoderai/slack-mcp:1.0.0
Available Tools
| Tool | Description |
|---|---|
slack_list_channels |
Get a list of public or predefined channels in the workspace |
slack_post_message |
Send a new message to a Slack channel |
slack_reply_to_thread |
Reply in a specific message thread |
slack_add_reaction |
Add an emoji reaction to a message |
slack_get_channel_history |
Get recent messages from a channel |
slack_get_thread_replies |
Get all replies in a message thread |
slack_get_users |
Get a list of workspace users with basic profile information |
slack_get_user_profile |
Get detailed profile information for a specific user |
Features
- Support for multiple transports (stdio and Streamable HTTP)
- Modern MCP SDK (v1.13.2) with contemporary APIs
- Comprehensive Slack integration
- Bearer token authentication for HTTP transport
- Session management for HTTP transport
- Support for predefined channels
- Pagination support for channels and users
Environment Variables
Required
SLACK_BOT_TOKEN- Bot User OAuth token, which starts with 'xoxb-'SLACK_TEAM_ID- Your team ID, which starts with 'T'
Optional
SLACK_CHANNEL_IDS- Comma-separated list of predefined channelsAUTH_TOKEN- Bearer token for HTTP authorization (only for Streamable HTTP transport)
Notes
Requires creating a Slack application with specific OAuth scopes: channels:history, channels:read, chat:write, reactions:write, users:read, users.profile:read. Supports both stdio and Streamable HTTP transports. Extended version of the original Anthropic implementation with substantial modifications by For Good AI Inc.
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.