Slack
Connect to Slack workspaces to use communication features such as sending messages, managing channels, and retrieving user information.
Key Features
- Channel list retrieval
- Message sending and thread replies
- Emoji reaction addition
- Channel history retrieval
- User information retrieval
- Thread reply retrieval
Basic Information
Authentication Method
Authenticates using OAuth 2.0.
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 information
Supported MCP Tools
Channel Management Tools
list_channels
Retrieves the list of 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
get_channel_history
Retrieves recent messages from a channel.
Input Parameters:
channelId
(required): Channel IDlimit
(optional): Number of messages to retrieve
Message Management Tools
post_message
Sends a new message to a Slack channel.
Input Parameters:
channelId
(required): Channel ID to send the message totext
(required): Message content
reply_to_thread
Creates a reply to a specific message thread.
Input Parameters:
channelId
(required): Channel IDthreadTs
(required): Thread timestamptext
(required): Reply content
get_thread_replies
Retrieves all replies in a message thread.
Input Parameters:
channelId
(required): Channel IDthreadTs
(required): Thread timestamp
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
Retrieves the list of all users in the workspace and their basic profile information.
Input Parameters:
limit
(optional): Number of users to retrievecursor
(optional): Pagination cursor
get_user_profile
Retrieves detailed profile information for a specific user.
Input Parameters:
userId
(required): User ID
Usage Example
For example,
- When you input “Send a ‘Hello’ message to the #general channel in Slack” as a prompt,
- The LLM calls the
post_message
tool through MCP to send the message. - Then, it responds in the chat based on the tool call results.
Last updated on