# Slack — MCP server on mcp.ai > Slack via linguagem natural: envie e busque mensagens, gerencie canais, usuários e reações. Plataforma fornece a aplicação OAuth, você só clica em Conectar e autoriza seu workspace Slack. Vários workspaces podem ser conectados no mesmo MCP. By: mcp.ai · official Page: https://mcp.ai/slack ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_slack?ms=1788882060000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/slack/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/slack/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/slack/skill.md Postman collection (v2.1): https://mcp.ai/slack/postman.json ## Tools - slack_add_call_participants(id: string, users: string) — Registers new participants added to a Slack call. - slack_add_emoji(url: string, name: string) — Adds a custom emoji to a Slack workspace given a unique name and an image URL; subject to workspace emoji limits. - slack_add_emoji_alias(name: string, alias_for: string) — Adds an alias for an existing custom emoji in a Slack Enterprise Grid organization. - slack_add_reaction_to_an_item(name: string, channel: string, timestamp: string) — Adds a specified emoji reaction to an existing message in a Slack channel, identified by its timestamp; does not remove or retrieve reactions. - slack_add_remote_file(title: string, filetype?: string, external_id: string, external_url: string, preview_image?: string, indexable_file_contents?: string) — Adds a reference to an external file (e.g., Google Drive, Dropbox) to Slack for discovery and sharing, requiring a unique `external_id` and an `external_url` accessible by Slack. - slack_add_star(file?: string, channel?: string, timestamp?: string, file_comment?: string) — Stars a channel, file, file comment, or a specific message in Slack. - slack_archive_conversation(channel?: string) — Archives a Slack conversation by its ID, rendering it read-only and hidden while retaining history, ideal for cleaning up inactive channels; be aware that some channels (like #general or certain DMs) - slack_chat_post_message(text?: string, parse?: string, blocks?: string|object[], mrkdwn?: boolean, channel: string, thread_ts?: string, link_names?: boolean, attachments?: string, unfurl_links?: boolean, unfurl_media?: boolean, markdown_text?: string, reply_broadcast?: boolean) — (DEPRECATED: use `SLACK_SEND_MESSAGE`) Posts a message to a Slack channel, DM, or private group; requires at least one content field (`markdown_text`, `text`, `blocks`, or `attachments`) — omitting al - slack_close_dm(channel: string) — Closes a Slack direct message (DM) or multi-person direct message (MPDM) channel, removing it from the user's sidebar without deleting history; this action affects only the calling user's view. - slack_create_a_reminder(text: string, time: string, user?: string, team_id?: string) — Creates a Slack reminder with specified text and time; time accepts Unix timestamps, seconds from now, or natural language (e.g., 'in 15 minutes', 'every Thursday at 2pm'). - slack_create_channel(name: string, team_id?: string, is_private?: boolean) — Initiates a public or private channel-based conversation in a Slack workspace. Immediately creates the channel; invoke only after explicit user confirmation. - slack_create_channel_based_conversation(name: string, team_id?: string, org_wide?: boolean, is_private: boolean, description?: string) — Creates a new public or private Slack channel with a unique name; the channel can be org-wide, or team-specific if `team_id` is given (required if `org_wide` is false or not provided). - slack_create_user_group(name: string, handle?: string, team_id?: string, channels?: string, description?: string, include_count?: boolean, enable_section?: boolean, additional_channels?: string) — Creates a new User Group (often referred to as a subteam) in a Slack workspace. - slack_customize_url_unfurl(ts?: string, source?: string, channel?: string, unfurls?: string, metadata?: string, unfurl_id?: string, user_auth_url?: string, user_auth_blocks?: string, user_auth_message?: string, user_auth_required?: boolean) — Customizes URL previews (unfurling) in a specific Slack message using a URL-encoded JSON in `unfurls` to define custom content or remove existing previews. - slack_delete_channel(channel_id: string) — Permanently and irreversibly deletes a specified public or private channel, including all its messages and files, within a Slack Enterprise Grid organization. - slack_delete_file(file: string) — Permanently deletes an existing file from a Slack workspace using its unique file ID; this action is irreversible and also removes any associated comments or shares. - slack_delete_file_comment(id: string, file: string) — Deletes a specific comment from a file in Slack; this action is irreversible. - slack_delete_reminder(team_id?: string, reminder: string) — Deletes an existing Slack reminder, typically when it is no longer relevant or a task is completed; this operation is irreversible. - slack_delete_scheduled_message(as_user?: boolean, channel: string, scheduled_message_id: string) — Deletes a pending, unsent scheduled message from the specified Slack channel, identified by its `scheduled_message_id`. - slack_delete_user_profile_photo() — Deletes the Slack profile photo for the user identified by the token, reverting them to the default avatar; this action is irreversible and succeeds even if no custom photo was set. - slack_deletes_a_message_from_a_chat(ts?: string, as_user?: boolean, channel?: string) — Deletes a message, identified by its channel ID and timestamp, from a Slack channel, private group, or direct message conversation; the authenticated user or bot must be the original poster. - slack_disable_user_group(team_id?: string, usergroup: string, include_count?: boolean) — Disables a specified, currently enabled Slack User Group by its unique ID, effectively archiving it by setting its 'date_delete' timestamp; the group is not permanently deleted and can be re-enabled. - slack_enable_public_sharing_of_a_file(file: string) — Enables public sharing for an existing Slack file by generating a publicly accessible URL; this action does not create new files. Once enabled, the file is accessible to anyone with the URL — verify i - slack_enable_user_group(team_id?: string, usergroup: string, include_count?: boolean) — Enables a disabled User Group in Slack using its ID, reactivating it for mentions and permissions; this action only changes the enabled status and cannot create new groups or modify other properties. - slack_end_call(id: string, duration?: integer) — Ends an ongoing Slack call, identified by its ID (obtained from `calls.add`), optionally specifying the call's duration. - slack_end_dnd() — Ends the authenticated user's current Do Not Disturb (DND) session in Slack, affecting only DND status and making them available; if DND is not active, Slack acknowledges the request without changing - slack_end_snooze() — Ends the current user's snooze mode immediately. - slack_fetch_conversation_history(limit?: integer, cursor?: string, latest?: string, oldest?: string, channel: string, inclusive?: boolean, include_all_metadata?: boolean) — Fetches a chronological list of messages and events from a specified Slack conversation, accessible by the authenticated user/bot, with options for pagination and time range filtering. IMPORTANT LIMIT - slack_fetch_item_reactions(file?: string, full?: boolean, channel?: string, timestamp?: string, file_comment?: string) — Fetches reactions for a Slack message, file, or file comment. Exactly one identifier path must be provided: `channel`+`timestamp`, `file`, or `file_comment`. Mixing identifiers (e.g., providing both ` - slack_fetch_message_thread_from_a_conversation(ts?: string, limit?: integer, cursor?: string, latest?: string, oldest?: string, channel?: string, inclusive?: boolean, include_all_metadata?: boolean) — Retrieves replies to a specific parent message in a Slack conversation, using the channel ID and the parent message's timestamp (`ts`). Note: The parent message in the response contains metadata (repl - slack_fetch_team_info(team?: string, domain?: string) — Fetches comprehensive metadata about the current Slack team, or a specified team if the provided ID is accessible. - slack_find_channels(limit?: integer, query: string, types?: string, team_id?: string, exact_match?: boolean, member_only?: boolean, exclude_archived?: boolean) — Find channels in a Slack workspace by any criteria - name, topic, purpose, or description. Returns channel IDs (C*/G* prefixed) required by most Slack tools — always resolve names to IDs here before p - slack_find_user_by_email_address(email: string) — Retrieves the Slack user object for an active user by their registered email address; requires the users:read.email OAuth scope. Fails with 'users_not_found' if the email is unregistered, the user is - slack_find_users(email?: string, limit?: integer, team_id?: string, exact_match?: boolean, include_bots?: boolean, search_query?: string, include_locale?: boolean, include_deleted?: boolean, include_restricted?: boolean) — Find users in a Slack workspace by any criteria - email, name, display name, or other text. Includes optimized email lookup for exact email matches. Zero results may reflect email visibility restricti - slack_get_bot_user(bot?: string, team_id?: string) — Fetches information for a specified, existing Slack bot user; will not work for regular user accounts or other integration types. - slack_get_call_info(id: string) — Retrieves a point-in-time snapshot of a specific Slack call's information. - slack_get_channel_conversation_preferences(channel_id: string) — Retrieves conversation preferences (e.g., who can post, who can thread) for a specified channel, primarily for use within Slack Enterprise Grid environments. - slack_get_reminder(team_id?: string, reminder: string) — Retrieves detailed information for an existing Slack reminder specified by its ID; this is a read-only operation. - slack_get_remote_file(file?: string, external_id?: string) — Retrieve information about a remote file added to Slack via the files.remote API. Does not work for standard Slack-hosted file uploads. - slack_get_team_profile(team_id?: string, visibility?: string) — Retrieves all profile field definitions for a Slack team, optionally filtered by visibility, to understand the team's profile structure. - slack_get_user_dnd_status(users: string, team_id?: string) — Retrieves a user's current Do Not Disturb status. - slack_get_user_presence(user?: string) — Retrieves a Slack user's current real-time presence (e.g., 'active', 'away') to determine their availability, noting this action does not provide historical data or status reasons. - slack_get_workspace_settings(team_id: string) — Retrieves detailed settings for a specific Slack workspace, primarily for administrators in an Enterprise Grid organization to view or audit workspace configurations. - slack_invite_user_to_channel(user_ids: string, channel_id: string) — Invites users to a specified Slack channel; this action is restricted to Enterprise Grid workspaces and requires the authenticated user to be a member of the target channel. - slack_invite_user_to_workspace(email: string, resend?: boolean, team_id: string, real_name?: string, channel_ids: string, is_restricted?: boolean, custom_message?: string, guest_expiration_ts?: string, is_ultra_restricted?: boolean, email_password_policy_enabled?: boolean) — Invites a user to a Slack workspace and specified channels by email; use `resend=True` to re-process an existing invitation for a user not yet signed up. - slack_invite_users_to_a_slack_channel(force?: boolean, users?: string, channel?: string) — Invites users to an existing Slack channel using their valid Slack User IDs. Response is always HTTP 200; inspect `ok`, `error`, and `errors` fields to confirm users were added. - slack_join_an_existing_conversation(channel: string) — Joins an existing Slack conversation (public channel, private channel, or multi-person direct message) by its ID, if the authenticated user has permission. Joining an already-joined channel returns a - slack_leave_a_conversation(channel: string) — (DEPRECATED: use `SLACK_LEAVE_CONVERSATION`) Leaves a Slack conversation given its channel ID; fails if leaving as the last member of a private channel or if used on a Slack Connect channel. - slack_list_all_channels(limit?: integer, types?: string, cursor?: string, team_id?: string, exclude_archived?: boolean) — Lists conversations available to the user with various filters and search options. Always use resolved `channel_id` (not display names) for downstream operations, as names may be non-unique. The `crea - slack_list_all_users(limit?: integer, cursor?: string, team_id?: string, include_locale?: boolean) — Retrieves a paginated list of all users with profile details, status, and team memberships in a Slack workspace; data may not be real-time. Filter response fields `is_bot`, `is_app_user`, and `deleted - slack_list_conversations(user?: string, limit?: integer, types?: string, cursor?: string, team_id?: string, exclude_archived?: boolean) — List conversations (channels/DMs) accessible to a specified user (or the authenticated user if no user ID is provided), respecting shared membership for non-public channels. Returns conversation IDs ( - slack_list_custom_emojis(include_categories?: boolean) — Retrieves all custom emojis for the Slack workspace (image URLs or aliases), not standard Unicode emojis; does not include usage statistics or creation dates. - slack_list_files_with_filters_in_slack(page?: string, user?: string, count?: string, ts_to?: integer, types?: string, channel?: string, team_id?: string, ts_from?: integer, show_files_hidden_by_limit?: boolean) — Lists files and their metadata within a Slack workspace, filterable by user, channel, timestamp, or type; returns metadata only, not file content. Results are limited to files visible to the authentic - slack_list_pinned_items(channel: string) — Retrieves all messages and files pinned to a specified channel; the caller must have access to this channel. - slack_list_reminders(team_id?: string) — Lists all reminders with their details for the authenticated Slack user; returns an empty array if no reminders exist (valid state, not an error). Reminder text is not unique—perform client-side match - slack_list_remote_files(limit?: integer, ts_to?: number, cursor?: string, channel?: string, ts_from?: number) — Retrieve information about a team's remote files. - slack_list_scheduled_messages(limit?: integer, cursor?: string, latest?: string, oldest?: string, channel?: string, team_id?: string) — Retrieves a list of pending (not yet delivered) messages scheduled in a specific Slack channel, or across all accessible channels if no channel ID is provided, optionally filtered by time and paginate - slack_list_starred_items(page?: integer, count?: integer, limit?: integer, cursor?: string, team_id?: string) — Lists items starred by a user. Returns classic starred items only — does not reflect Slack's 'saved for later' feature. Use SLACK_SEARCH_MESSAGES or SLACK_SEARCH_ALL for broader saved-content queries. - slack_list_user_group_members(team_id?: string, usergroup: string, include_disabled?: boolean) — Retrieves a list of all user IDs within a specified Slack user group, with an option to include users from disabled groups. - slack_list_user_groups(team_id?: string, include_count?: boolean, include_users?: boolean, include_disabled?: boolean) — Lists user groups in a Slack workspace, including user-created and default groups; results for large workspaces may be paginated. - slack_list_user_reactions(full?: boolean, page?: integer, user?: string, count?: integer, limit?: integer, cursor?: string, team_id?: string) — Lists all reactions added by a specific user to messages, files, or file comments in Slack, useful for engagement analysis when the item content itself is not required. Results are paginated; check `r - slack_list_workspace_users(limit?: integer, cursor?: string, team_id?: string, is_active?: boolean, only_guests?: boolean, include_deactivated_user_workspaces?: boolean) — Retrieves a paginated list of admin users for a specified Slack workspace. - slack_manually_set_user_presence(presence: string) — (DEPRECATED: use `SLACK_SET_USER_PRESENCE`) Manually sets a user's Slack presence, overriding automatic detection; this setting persists across connections but can be overridden by user actions or Sla - slack_open_dm(users?: string, channel?: string, return_im?: boolean, prevent_creation?: boolean) — Opens or resumes a Slack direct message (DM) or multi-person direct message (MPIM) by providing either user IDs or an existing channel ID. Returns `already_open=true` when the DM exists — treat as suc - slack_pin_item(channel: string, timestamp: string) — Pins a message to a specified Slack channel; the message must not already be pinned. - slack_remove_call_participants(id: string, users: string) — Registers participants removed from a Slack call. - slack_remove_reaction_from_item(file?: string, name: string, channel?: string, timestamp?: string, file_comment?: string) — Removes an emoji reaction from a message, file, or file comment in Slack. Provide exactly one targeting method: channel+timestamp together, file, or file_comment. Mixing methods or omitting all return - slack_remove_remote_file(file?: string, token?: string, external_id?: string) — Removes the Slack reference to an external file (which must have been previously added via the remote files API), specified by either its `external_id` or `file` ID (one of which is required), without - slack_remove_star(file?: string, channel?: string, timestamp?: string, file_comment?: string) — Removes a star from a previously starred Slack item (message, file, file comment, channel, group, or DM), requiring identification via `file`, `file_comment`, `channel` (for channel/group/DM), or both - slack_remove_user_from_conversation(user?: string, channel?: string) — Removes a specified user from a Slack conversation (channel); the caller must have permissions to remove users and cannot remove themselves using this action. - slack_rename_conversation(name?: string, channel?: string) — Renames a Slack channel, automatically adjusting the new name to meet naming conventions (e.g., converting to lowercase), which may affect integrations using the old name. - slack_rename_emoji(name: string, new_name: string) — Renames an existing custom emoji in a Slack workspace, updating all its instances. - slack_retrieve_a_user_s_identity_details() — Retrieves the authenticated user's and their team's identity, with details varying based on OAuth scopes (e.g., `identity.basic`, `identity.email`, `identity.avatar`). - slack_retrieve_conversation_information(channel?: string, include_locale?: boolean, include_num_members?: boolean) — Retrieves metadata for a Slack conversation by ID (e.g., name, purpose, creation date, with options for member count/locale), excluding message content. The `channel` parameter is effectively required - slack_retrieve_conversation_members_list(limit?: integer, cursor?: string, channel?: string) — Retrieves a paginated list of active member IDs (not names, emails, or presence) for a specified Slack public channel, private channel, DM, or MPIM. Returns only user IDs; use a user-lookup tool to en - slack_retrieve_current_user_dnd_status(user?: string, team_id?: string) — Retrieves a Slack user's current Do Not Disturb (DND) status to determine their availability before interaction; any specified user ID must be a valid Slack user ID. - slack_retrieve_detailed_information_about_a_file(file: string, page?: integer, count?: integer, limit?: integer, cursor?: string) — Retrieves detailed metadata and paginated comments for a specific Slack file ID; does not download file content. - slack_retrieve_detailed_user_information(user?: string, include_locale?: boolean) — Retrieves comprehensive information for a valid Slack user ID, excluding message history and channel memberships. Sensitive fields like `email` and `phone` require the `users:read.email` scope and may - slack_retrieve_message_permalink_url(channel: string, message_ts: string) — Retrieves a permalink URL for a specific message in a Slack channel or conversation; the permalink respects Slack's privacy settings. - slack_retrieve_user_profile_information(user?: string, include_labels?: boolean) — Retrieves profile information for a specified Slack user (defaults to the authenticated user if `user` ID is omitted); a provided `user` ID must be valid. Sensitive fields like email and phone may be - slack_revoke_file_public_sharing(file: string) — Revokes a Slack file's public URL, making it private; this is a no-op if not already public and is irreversible. - slack_schedule_message(text?: string, parse?: string, blocks?: string, channel?: string, post_at?: string, thread_ts?: string, link_names?: boolean, attachments?: string, unfurl_links?: boolean, unfurl_media?: boolean, markdown_text?: string, reply_broadcast?: boolean) — Schedules a message to a Slack channel, DM, or private group for a future time (`post_at`), requiring `text`, `blocks`, or `attachments` for content; scheduling is limited to 120 days in advance. - slack_search_messages(page?: integer, sort?: string, count?: integer, query: string, cursor?: string, team_id?: string, sort_dir?: string, highlight?: boolean, auto_paginate?: boolean) — Workspace‑wide Slack message search with date ranges and filters. Use `query` modifiers (e.g., in:#channel, from:@user, before/after:YYYY-MM-DD), sorting (score/timestamp), and pagination. - slack_send_ephemeral_message(text?: string, user: string, parse?: string, blocks?: string, as_user?: boolean, channel: string, icon_url?: string, username?: string, thread_ts?: string, icon_emoji?: string, link_names?: boolean, attachments?: string, markdown_text?: string) — Sends an ephemeral message visible only to the specified `user` in a channel; other channel members cannot see it. Both the bot and the target user must be members of the specified channel. - slack_send_me_message(text?: string, channel?: string) — Sends a 'me message' (e.g., '/me is typing') to a Slack channel, where it's displayed as a third-person user action; messages are plain text and the channel must exist and be accessible. - slack_send_message(blocks?: object[], channel: string, thread_ts?: string, unfurl_links?: boolean, unfurl_media?: boolean, fallback_text?: string, markdown_text?: string, reply_broadcast?: boolean) — Posts a message to a Slack channel, DM, or private group. Provide exactly one visible content mode: `markdown_text` for normal Markdown content, or `blocks` for raw Slack Block Kit layouts. Use `fallb - slack_set_conversation_purpose(channel?: string, purpose?: string) — Sets the purpose (a short description of its topic/goal, displayed in the header) for a Slack conversation; the calling user must be a member. - slack_set_dnd_duration(num_minutes: string) — Turns on Do Not Disturb mode for the current user, or changes its duration. - slack_set_profile_photo(image: object, crop_w?: integer, crop_x?: integer, crop_y?: integer) — This method allows the user to set their profile image. - slack_set_read_cursor_in_a_conversation(ts?: string, channel?: string) — Marks a message, specified by its timestamp (`ts`), as the most recently read for the authenticated user in the given `channel`, provided the user is a member of the channel and the message exists wit - slack_set_the_topic_of_a_conversation(topic?: string, channel?: string) — Sets or updates the topic for a specified Slack conversation. - slack_set_user_profile(name?: string, user?: string, value?: string, profile?: string) — Updates a Slack user's profile, setting either individual fields or multiple fields via a JSON object. - slack_share_remote_file(file?: string, channels: string, external_id?: string) — Shares a remote file, which must already be registered with Slack, into specified Slack channels or direct message conversations. - slack_start_call(title?: string, users?: string, join_url: string, created_by?: string, date_start?: integer, external_unique_id: string, external_display_id?: string, desktop_app_join_url?: string) — Registers a new call in Slack using `calls.add` for third-party call integration; `created_by` is required if not using a user-specific token. - slack_unarchive_channel(channel: string) — Reverses conversation archival. - slack_unpin_item(channel: string, timestamp: string) — Unpins a message, identified by its timestamp, from a specified channel if the message is currently pinned there; this operation is destructive. - slack_update_call_info(id: string, title?: string, join_url?: string, desktop_app_join_url?: string) — Updates the title, join URL, or desktop app join URL for an existing Slack call identified by its ID. - slack_update_remote_file(file?: string, title?: string, token?: string, filetype?: string, external_id?: string, external_url?: string, preview_image?: string, indexable_file_contents?: string) — Updates metadata or content details for an existing remote file in Slack; this action cannot upload new files or change the fundamental file type. - slack_update_user_group(name?: string, handle?: string, team_id?: string, channels?: string, usergroup: string, description?: string, include_count?: boolean, enable_section?: boolean, additional_channels?: string) — Updates an existing Slack User Group, which must be specified by an existing `usergroup` ID, with new optional details such as its name, description, handle, or default channels. - slack_update_user_group_members(users: string, team_id?: string, usergroup: string, include_count?: boolean) — Replaces all members of an existing Slack User Group with a new list of valid user IDs. - slack_updates_a_slack_message(ts: string, blocks?: object[], as_user?: boolean, channel: string, file_ids?: string[], metadata?: object, fallback_text?: string, markdown_text?: string, reply_broadcast?: boolean) — Updates a Slack message by timestamp. Provide exactly one visible content mode: `markdown_text` for normal Markdown content, or `blocks` for raw Slack Block Kit layouts. Use `fallback_text` only with - slack_upload_or_create_a_file_in_slack(file?: object|object[], title?: string, token?: string, content?: string, channels?: string, filename?: string, filetype?: string, thread_ts?: string, initial_comment?: string) — Upload files, images, screenshots, documents, or any media to Slack channels or threads. Supports all file types including images (PNG, JPG, JPEG, GIF), documents (PDF, DOCX, TXT), code files, and mor ## Example prompts - "Envie 'Deploy concluído ✅' no canal #engineering" - "Resuma as mensagens não lidas do canal #suporte de hoje" - "Liste os canais do meu workspace" ## Links Docs: https://mcp.ai/docs/mcps/slack Website: https://mcp.ai/mcps/slack