Get the FREE Ultimate OpenClaw Setup Guide →

Slack

Official

MCP server for Slack integration - send messages, manage channels, and more.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio modelcontextprotocol-server-slack npx -y @modelcontextprotocol/server-slack

How to use

The Slack MCP server enables seamless integration with Slack, allowing you to send messages, manage channels, and enhance communication workflows within your applications. With capabilities such as listing channels, posting messages, and retrieving user profiles, this server is an essential tool for developers looking to automate or enhance their Slack interactions.

Once connected to the Slack MCP server, you can utilize a range of tools to interact with your Slack workspace. For example, you can use slack_post_message to send messages to specific channels or slack_list_channels to retrieve all available channels in your workspace. Commands like slack_add_reaction allow you to express sentiments on messages, while slack_get_channel_history can fetch past messages for reference. Tailor your queries based on the specific needs of your application, leveraging the tools to create a rich user experience.

How to install

To install the Slack MCP server, ensure you have Node.js installed on your system. You have two options for installation:

  • Option A: Quick Start with npx
    You can quickly start using the Slack MCP server with the following command:

    npx -y @modelcontextprotocol/server-slack
    
  • Option B: Global Install Alternative
    Alternatively, you can install the package globally using npm:

    npm install -g @modelcontextprotocol/server-slack
    

Ensure that your Node.js version is compatible with the package requirements.

Additional notes

When configuring your Slack MCP server, you may need to set up environment variables such as SLACK_BOT_TOKEN for authentication. Be aware that rate limits may apply when using the Slack API, so make sure to handle responses accordingly to avoid hitting those limits. Additionally, verify that your bot has the necessary permissions for the actions you intend to perform.

Available tools

slack_list_channels

List available Slack channels

slack_post_message

Post a message to a channel

slack_reply_to_thread

Reply to a message thread

slack_add_reaction

Add an emoji reaction

slack_get_channel_history

Get channel message history

slack_get_thread_replies

Get replies in a thread

slack_search_messages

Search messages

slack_get_users

List workspace users

slack_get_user_profile

Get a user's profile

Related MCP Servers

Sponsor this space

Reach thousands of developers