slack
v0.0.7MCP server for Slack — read/write messages, manage threads, and react to messages.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
slack_get_channels
List all Slack channels the bot has access to. Returns a list of public and private channels in the workspace that the bot can see. Each channel includes its ID, name, topic, purpose, and member count. **Returns:** A formatted list of channels with their key details including: - Channel ID (needed for other operations) - Channel name - Topic and purpose - Whether the channel is private or archived - Number of members **Use cases:** - Discover available channels to read or post to - Find a specific channel's ID for subsequent operations - Get an overview of the workspace's channel structure…
| Parameter | Type | Description |
|---|---|---|
include_archived | boolean | Include archived channels. Default: false. Archived channels are read-only and cannot receive new messages. |
include_private | boolean | Include private channels the bot is a member of. Default: true. Set to false to only list public channels. |
slack_get_channel
Get detailed information about a Slack channel, optionally including recent messages. Returns channel metadata (name, topic, purpose, member count) and optionally the most recent messages. This is equivalent to opening a channel in Slack. **Returns:** - Channel details: name, topic, purpose, member count, creation date - Recent messages (if include_messages is true): sender, content, timestamp, reactions, thread info **Use cases:** - Get context about a channel before posting - Read recent messages to understand current discussions - Check if a channel is active or archived - Find threads t…
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | The unique identifier of the channel (e.g., "C1234567890"). Get channel IDs using the slack_get_channels tool. |
include_messages | boolean | Whether to include recent messages from the channel. Default: true. Set to false to only get channel metadata. |
message_limit | number | Maximum number of messages to return when include_messages is true. Default: 20. Maximum: 100. |
slack_get_thread
Get a thread conversation with all its replies. Returns the parent message and all replies in a thread. This is equivalent to clicking on "X replies" in Slack to expand a thread. **Returns:** - Parent message with full content - All reply messages in chronological order - Reactions on each message - Timestamps for each message **Use cases:** - Read an entire threaded conversation - Get context before replying to a thread - Review discussion history on a topic - Find the latest reply timestamp for adding new replies **Note:** The thread_ts parameter is the timestamp of the parent message, n…
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | The channel ID where the thread exists (e.g., "C1234567890"). Get channel IDs using the slack_get_channels tool. |
thread_ts * | string | The timestamp of the parent message that started the thread (e.g., "1234567890.123456"). This is shown as "ts" in message outputs. |
reply_limit | number | Maximum number of replies to return. Default: 50. Maximum: 200. The parent message is always included. |
slack_download_file
Download a file from Slack to a local temporary path. Slack files require authentication to access, so this tool handles the download using the bot token. It saves the file to a temporary directory and returns the local file path. **Returns:** - Local file path (file:// URI) where the downloaded file was saved - File metadata: name, type, size **Use cases:** - Download images shared in Slack to view them - Download documents, PDFs, or other files shared in channels - Access any file attachment from a Slack message **Note:** File IDs (e.g., "F1234567890") are shown in message outputs from s…
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The Slack file ID (e.g., "F1234567890"). File IDs are shown in message outputs next to uploaded files. |
slack_post_message
Post a new message to a Slack channel. Creates a new message in the specified channel. The message appears as a new post, not as a reply to any thread. **Returns:** - Confirmation of the posted message - The message timestamp (ts) which can be used to: - Start a thread by replying with slack_reply_to_thread - Edit the message with slack_update_message - Add reactions with slack_react_to_message **Use cases:** - Share information with a channel - Start a new discussion topic - Post announcements or updates - Ask questions to the channel **Note:** To reply to an existing thread, use sl…
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | The channel ID to post the message to (e.g., "C1234567890"). Get channel IDs using the slack_get_channels tool. |
text * | string | The message content to post. Supports Slack markdown formatting: *bold*, _italic_, `code`, ```code blocks```, and <URL|link text>. |
slack_reply_to_thread
Reply to an existing thread in Slack. Posts a message as a reply to a specific thread. The reply will appear nested under the parent message. **Returns:** - Confirmation of the posted reply - The reply's timestamp (ts) for further operations **Use cases:** - Continue a threaded conversation - Answer a question in a thread - Provide follow-up information - Keep discussions organized within threads **Note:** Use slack_get_thread first to read the conversation before replying.
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | The channel ID where the thread exists (e.g., "C1234567890"). Get channel IDs using the slack_get_channels tool. |
text * | string | The reply content. Supports Slack markdown formatting: *bold*, _italic_, `code`, ```code blocks```, and <URL|link text>. |
thread_ts * | string | The timestamp of the parent message to reply to (e.g., "1234567890.123456"). This creates a threaded reply under that message. |
broadcast | boolean | Also post the reply to the channel (not just the thread). Default: false. When true, the reply appears both in the thread and as a channel message. |
slack_update_message
Update an existing message in Slack. Modifies the content of a message that was previously posted. The message will show an "(edited)" indicator after being updated. **Returns:** - Confirmation of the update - The updated message content **Use cases:** - Fix typos or errors in a message - Update information that has changed - Add clarifications to a previous message - Mark a task or question as resolved by editing the message **Note:** - You can only edit messages that the bot posted - The edit history is not preserved - only the final content is shown - Consider adding reactions instead i…
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | The channel ID where the message exists (e.g., "C1234567890"). Get channel IDs using the slack_get_channels tool. |
message_ts * | string | The timestamp of the message to update (e.g., "1234567890.123456"). This is shown as "ts" in message outputs. |
text * | string | The new content for the message. Completely replaces the existing text. Supports Slack markdown: *bold*, _italic_, `code`, ```code blocks```. |
slack_react_to_message
Add an emoji reaction to a message in Slack. Adds a reaction (emoji) to a specific message. Reactions are a lightweight way to acknowledge or respond to messages without creating a new message. **Returns:** - Confirmation that the reaction was added **Common emoji names:** - Positive: thumbsup, +1, heart, tada, star, clap - Acknowledgment: eyes, white_check_mark, ok_hand - Negative: thumbsdown, -1, x - Status: hourglass, warning, question, exclamation **Use cases:** - Acknowledge that you've seen a message (:eyes:) - Mark a task as complete (:white_check_mark:) - Show approval or agreement…
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | The channel ID where the message exists (e.g., "C1234567890"). Get channel IDs using the slack_get_channels tool. |
emoji * | string | The emoji name without colons (e.g., "thumbsup", "white_check_mark", "eyes"). Common reactions: thumbsup, thumbsdown, heart, eyes, white_check_mark, x, tada. |
message_ts * | string | The timestamp of the message to react to (e.g., "1234567890.123456"). This is shown as "ts" in message outputs. |
slack_upload_snippet
Upload text content as a file snippet to a Slack channel. Uploads content as a text file/snippet, bypassing Slack's message length limits. Use this when content is too long for slack_post_message (e.g., long URLs, logs, code, JSON payloads). **Returns:** - Confirmation of the uploaded snippet - The file ID for reference **Use cases:** - Share very long URLs that exceed message length limits - Post error logs, stack traces, or debug output - Share code snippets or configuration files - Upload large JSON or text payloads **Note:** For short messages that fit within Slack's limits, use slack_…
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | The channel ID to share the snippet in (e.g., "C1234567890"). Get channel IDs using the slack_get_channels tool. |
content * | string | The text content to upload as a snippet. Can be arbitrarily long — use this instead of slack_post_message when content exceeds message length limits. |
filename | string | Filename for the snippet (e.g., "output.txt", "error.log", "code.py"). Slack uses the file extension for syntax highlighting. Default: "snippet.txt". |
thread_ts | string | Post the snippet as a thread reply to this message timestamp. If omitted, the snippet is posted as a new message in the channel. |
title | string | Title displayed in Slack above the snippet. |