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 historychat:write
: Write messagesidentify
: User identity verificationreactions:read
: Read reactionsreactions:write
: Add reactionssearch:read
: Search functionalityusers:read
: Read user informationusers.profile:read
: Read user profileschannels:read
: Read channel informationusergroups: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 cursorincludeArchived
(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 searchincludeArchived
(optional): Whether to include archived channels
get_channel_history
Gets recent messages from a channel.
Input Parameters:
channelId
(required): Channel IDlimit
(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 totext
(required): Message content
reply_to_thread
Replies to a specific message thread in Slack.
Input Parameters:
channelId
(required): Channel IDthreadTs
(required): Thread timestamptext
(required): Reply content
get_thread_replies
Gets all replies in a message thread.
Input Parameters:
channelId
(required): Channel IDthreadTs
(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 querysort
(optional): Sort method (timestamp, score)sortDir
(optional): Sort direction (asc, desc)highlight
(optional): Whether to highlight search termscount
(optional): Number of messages to returnpage
(optional): Page number
Reaction Management Tools
add_reaction
Adds an emoji reaction to a message.
Input Parameters:
channelId
(required): Channel IDtimestamp
(required): Message timestampreaction
(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 retrievecursor
(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 countincludeDisabled
(optional): Whether to include disabled groupsincludeUsers
(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 IDincludeDisabled
(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.