Skip to Content

Slack

Connect with Slack workspace to use communication features such as sending messages, managing channels, and viewing user information.

Key Features

  • List and search channels
  • Send messages and thread replies
  • Search messages
  • Add emoji reactions
  • View channel history
  • View user information
  • Manage user groups
  • View thread replies

Basic Information

Authentication Method

Uses OAuth 2.0 for authentication.

Required Permissions

  • channels:history: Read channel history
  • chat:write: Write messages
  • identify: User identity verification
  • reactions:read: Read reactions
  • reactions:write: Add reactions
  • search:read: Search functionality
  • users:read: Read user information
  • users.profile:read: Read user profiles
  • channels:read: Read channel information
  • usergroups:read: Read user groups

Supported MCP Tools

Channel Management Tools

list_channels

Lists public channels in the workspace with pagination.

Input Parameters:

  • limit (optional): Number of channels to retrieve at once (default: 100)
  • cursor (optional): Pagination cursor
  • includeArchived (optional): Whether to include archived channels

search_channels

NEW! Newly added feature.

Searches public channels in the workspace.

Input Parameters:

  • query (optional): Channel name keywords to search
  • includeArchived (optional): Whether to include archived channels

get_channel_history

Gets recent messages from a channel.

Input Parameters:

  • channelId (required): Channel ID
  • limit (optional): Number of messages to retrieve

Message Management Tools

post_message

Posts a new message to a Slack channel.

Input Parameters:

  • channelId (required): Channel ID to send message to
  • text (required): Message content

reply_to_thread

Replies to a specific message thread in Slack.

Input Parameters:

  • channelId (required): Channel ID
  • threadTs (required): Thread timestamp
  • text (required): Reply content

get_thread_replies

Gets all replies in a message thread.

Input Parameters:

  • channelId (required): Channel ID
  • threadTs (required): Thread timestamp

search_messages

🔍

NEW! Newly added feature.

Searches messages across the workspace, filtering by keywords, channels, DMs, senders, and dates.

Input Parameters:

  • query (required): Search query
  • sort (optional): Sort method (timestamp, score)
  • sortDir (optional): Sort direction (asc, desc)
  • highlight (optional): Whether to highlight search terms
  • count (optional): Number of messages to return
  • page (optional): Page number

Reaction Management Tools

add_reaction

Adds an emoji reaction to a message.

Input Parameters:

  • channelId (required): Channel ID
  • timestamp (required): Message timestamp
  • reaction (required): Reaction emoji name

User Management Tools

get_users

Gets a list of all users in the workspace with their basic profile information.

Input Parameters:

  • limit (optional): Number of users to retrieve
  • cursor (optional): Pagination cursor

get_user_profile

Gets detailed profile information for a specific user.

Input Parameters:

  • userId (required): User ID

get_user_groups

👥

NEW! Newly added feature.

Gets a list of all user groups in the workspace.

Input Parameters:

  • includeCount (optional): Whether to include group member count
  • includeDisabled (optional): Whether to include disabled groups
  • includeUsers (optional): Whether to include group member list

get_user_group_users

👤

NEW! Newly added feature.

Gets the list of users in a specific user group.

Input Parameters:

  • usergroup (required): User group ID
  • includeDisabled (optional): Whether to include disabled users

Usage Example

For example,

  • When you input “Send ‘Hello’ message to #general channel in Slack” as a prompt,
  • LLM calls the post_message tool via MCP to send the message.
  • Then, it responds in the chat based on the tool call results.
Last updated on