# How to connect Slack MCP with VS Code

```json
{
  "title": "How to connect Slack MCP with VS Code",
  "toolkit": "Slack",
  "toolkit_slug": "slack",
  "framework": "VS Code",
  "framework_slug": "vscode",
  "url": "https://composio.dev/toolkits/slack/framework/vscode",
  "markdown_url": "https://composio.dev/toolkits/slack/framework/vscode.md",
  "updated_at": "2026-05-06T08:28:59.308Z"
}
```

## Introduction

### How to connect Slack MCP with VS Code
VS Code is the most popular code editor out there. With its recent AI makeover, it can do more than just help you write code. You can connect your applications to it and let LLMs automate many of the mundane tasks in your workflow.
In this guide, I will explain how to connect Slack with VS Code in the most secure and robust way possible via Composio.

## Also integrate Slack with

- [ChatGPT](https://composio.dev/toolkits/slack/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/slack/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/slack/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/slack/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/slack/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/slack/framework/codex)
- [Cursor](https://composio.dev/toolkits/slack/framework/cursor)
- [OpenCode](https://composio.dev/toolkits/slack/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/slack/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/slack/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/slack/framework/cli)
- [Google ADK](https://composio.dev/toolkits/slack/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/slack/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/slack/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/slack/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/slack/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/slack/framework/crew-ai)

## TL;DR

### Why use Composio?
Composio provides:
- Access to 1,000+ managed apps from a single MCP endpoint. This makes it convenient for agents to run cross-app workflows.
- Programmatic tool calling. Allows LLMs to write its code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
- Large tool response handling outside the LLM context. This minimizes context bloat from large tool responses.
- Dynamic just-in-time access to thousands of tools across hundreds of apps. Composio loads the tools your agent needs, so LLMs are not overwhelmed by tools they do not need.

## Connect Slack to VS Code

### Integrate Slack MCP with VS Code
### 1. Install with one click
Click the button below to add Composio to VS Code. You will be prompted to authorize. This requires VS Code 1.99+ with GitHub Copilot.
[+Install in VS Code](vscode:mcp/install?%7B%22name%22%3A%22composio%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fconnect.composio.dev%2Fmcp%22%7D)
### 2. Or add manually
Open or create .vscode/mcp.json in your project root and add the following configuration:

```bash
{
  "servers": {
    "composio": {
      "type": "http",
      "url": "https://connect.composio.dev/mcp"
    }
  }
}
```

## What is the Slack MCP server, and what's possible with it?

The Slack MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Slack account. It provides structured and secure access to your messages, channels, files, and reminders, so your agent can send messages, manage conversations, organize reminders, and interact with channel content—all on your behalf.
- Automated messaging and reminders: Let your agent send messages to channels, create reminders with natural language timing, and help your team stay on track.
- Emoji and reaction management: Have the agent add custom emoji, create emoji aliases, or react to messages with specific emojis to keep conversations lively and expressive.
- Channel and conversation organization: Ask the agent to archive inactive channels or close direct message threads, keeping your Slack workspace neat and focused.
- File and external content sharing: Enable your agent to add references to external files from services like Google Drive or Dropbox, making collaboration seamless without leaving Slack.
- Starring and prioritizing items: Let the agent star important channels, files, or messages so your priorities are always front and center.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `SLACK_ADD_AN_EMOJI_ALIAS_IN_SLACK` | Add an emoji alias | Adds an alias for an existing custom emoji in a slack enterprise grid organization. |
| `SLACK_ADD_A_REMOTE_FILE_FROM_A_SERVICE` | Add a remote file | 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_A_STAR_TO_AN_ITEM` | Add a star to an item | Stars a channel, file, file comment, or a specific message in slack. |
| `SLACK_ADD_CALL_PARTICIPANTS` | Add call participants | Registers new participants added to a slack call. |
| `SLACK_ADD_EMOJI` | Add emoji | Adds a custom emoji to a slack workspace given a unique name and an image url; subject to workspace emoji limits. |
| `SLACK_ADD_REACTION_TO_AN_ITEM` | Add reaction to message | Adds a specified emoji reaction to an existing message in a slack channel, identified by its timestamp; does not remove or retrieve reactions. |
| `SLACK_ARCHIVE_A_PUBLIC_OR_PRIVATE_CHANNEL` | Archive a public or private channel | Archives a slack public or private channel, making it read-only; the primary 'general' channel cannot be archived. |
| `SLACK_ARCHIVE_A_SLACK_CONVERSATION` | Archive a Slack conversation | 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) cannot be archived and this may impact connected integrations. |
| `SLACK_CLOSE_DM_OR_MULTI_PERSON_DM` | Close conversation channel | 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` | Create a reminder | 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_A_SLACK_USER_GROUP` | Create a Slack user group | Creates a new user group (often referred to as a subteam) in a slack workspace. |
| `SLACK_CREATE_CHANNEL` | Create channel | Initiates a public or private channel-based conversation |
| `SLACK_CREATE_CHANNEL_BASED_CONVERSATION` | Create a channel-based conversation | 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_CUSTOMIZE_URL_UNFURL` | Customize URL unfurl | 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_A_COMMENT_ON_A_FILE` | Delete file comment | Deletes a specific comment from a file in slack; this action is irreversible. |
| `SLACK_DELETE_A_FILE_BY_ID` | Delete a file by ID | 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_A_PUBLIC_OR_PRIVATE_CHANNEL` | Delete a public or private channel | Permanently and irreversibly deletes a specified public or private channel, including all its messages and files, within a slack enterprise grid organization. |
| `SLACK_DELETE_A_SCHEDULED_MESSAGE_IN_A_CHAT` | Delete scheduled chat message | Deletes a pending, unsent scheduled message from the specified slack channel, identified by its `scheduled message id`. |
| `SLACK_DELETE_A_SLACK_REMINDER` | Delete a Slack reminder | Deletes an existing slack reminder, typically when it is no longer relevant or a task is completed; this operation is irreversible. |
| `SLACK_DELETES_A_MESSAGE_FROM_A_CHAT` | Delete a message from a chat | 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_DELETE_USER_PROFILE_PHOTO` | 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_DISABLE_AN_EXISTING_SLACK_USER_GROUP` | Disable a Slack user group | 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_A_SPECIFIED_USER_GROUP` | Enable a user group | 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_ENABLE_PUBLIC_SHARING_OF_A_FILE` | Share file public url | Enables public sharing for an existing slack file by generating a publicly accessible url; this action does not create new files. |
| `SLACK_END_A_CALL_WITH_DURATION_AND_ID` | End a call | Ends an ongoing slack call, identified by its id (obtained from `calls.add`), optionally specifying the call's duration. |
| `SLACK_END_SNOOZE` | End snooze | Ends the current user's snooze mode immediately. |
| `SLACK_END_USER_DO_NOT_DISTURB_SESSION` | End DND session | 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 status. |
| `SLACK_FETCH_BOT_USER_INFORMATION` | Fetch bot user information | Fetches information for a specified, existing slack bot user; will not work for regular user accounts or other integration types. |
| `SLACK_FETCH_CONVERSATION_HISTORY` | Fetch conversation history | 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. |
| `SLACK_FETCH_ITEM_REACTIONS` | Fetch item reactions | Fetches reactions for a slack message, file, or file comment, requiring one of: channel and timestamp; file id; or file comment id. |
| `SLACK_FETCH_MESSAGE_THREAD_FROM_A_CONVERSATION` | Retrieve conversation replies | Retrieves replies to a specific parent message in a slack conversation, using the channel id and the parent message's timestamp (`ts`). |
| `SLACK_FETCH_TEAM_INFO` | Fetch team info | Fetches comprehensive metadata about the current slack team, or a specified team if the provided id is accessible. |
| `SLACK_FETCH_WORKSPACE_SETTINGS_INFORMATION` | Fetch workspace settings information | Retrieves detailed settings for a specific slack workspace, primarily for administrators in an enterprise grid organization to view or audit workspace configurations. |
| `SLACK_FIND_CHANNELS` | Find channels | Find channels in a slack workspace by any criteria - name, topic, purpose, or description. |
| `SLACK_FIND_USER_BY_EMAIL_ADDRESS` | Lookup users by email | Retrieves the slack user object for an active user by their registered email address; fails with 'users not found' if the email is unregistered or the user is inactive. |
| `SLACK_FIND_USERS` | Find users | Find users in a slack workspace by any criteria - email, name, display name, or other text. includes optimized email lookup for exact email matches. |
| `SLACK_GET_CHANNEL_CONVERSATION_PREFERENCES` | Get channel conversation preferences | 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_INFORMATION` | Get reminder information | Retrieves detailed information for an existing slack reminder specified by its id; this is a read-only operation. |
| `SLACK_GET_REMOTE_FILE` | Get remote file | Retrieve information about a remote file added to slack. |
| `SLACK_GET_TEAM_DND_STATUS` | Get team DND status | Retrieves a user's current do not disturb status. |
| `SLACK_GET_USER_PRESENCE_INFO` | Retrieve user presence | 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_INVITE_USERS_TO_A_SLACK_CHANNEL` | Invite users to a Slack channel | Invites users to an existing slack channel using their valid slack user ids. |
| `SLACK_INVITE_USER_TO_CHANNEL` | Invite users to channel | 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` | Invite user to workspace | 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_JOIN_AN_EXISTING_CONVERSATION` | Join conversation by channel id | Joins an existing slack conversation (public channel, private channel, or multi-person direct message) by its id, if the authenticated user has permission. |
| `SLACK_LEAVE_A_CONVERSATION` | Leave conversation channel | 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` | List all channels | Lists conversations available to the user with various filters and search options. |
| `SLACK_LIST_ALL_USERS` | List all users | Retrieves a paginated list of all users, including comprehensive details, profile information, status, and team memberships, in a slack workspace; data may not be real-time. |
| `SLACK_LIST_ALL_USERS_IN_A_USER_GROUP` | List all users in a user group | Retrieves a list of all user ids within a specified slack user group, with an option to include users from disabled groups. |
| `SLACK_LIST_CONVERSATIONS` | List conversations | Retrieves conversations accessible to a specified user (or the authenticated user if no user id is provided), respecting shared membership for non-public channels. |
| `SLACK_LIST_FILES_WITH_FILTERS_IN_SLACK` | List Slack files | Lists files and their metadata within a slack workspace, filterable by user, channel, timestamp, or type; this action returns metadata only, not file content. |
| `SLACK_LIST_REMINDERS` | List reminders | Lists all reminders with their details for the authenticated slack user; returns an empty list if no reminders exist. |
| `SLACK_LIST_REMOTE_FILES` | List remote files | Retrieve information about a team's remote files. |
| `SLACK_LIST_SCHEDULED_MESSAGES` | List scheduled messages | 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 paginated. |
| `SLACK_LISTS_PINNED_ITEMS_IN_A_CHANNEL` | List pinned items in a channel | Retrieves all messages and files pinned to a specified channel; the caller must have access to this channel. |
| `SLACK_LIST_STARRED_ITEMS` | List starred items | Lists items starred by a user. |
| `SLACK_LIST_TEAM_CUSTOM_EMOJIS` | List team custom emojis | 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_USER_GROUPS_FOR_TEAM_WITH_OPTIONS` | List user groups | Lists user groups in a slack workspace, including user-created and default groups; results for large workspaces may be paginated. |
| `SLACK_LIST_USER_REACTIONS` | List user reactions | 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. |
| `SLACK_LIST_WORKSPACE_USERS` | List admin users | Retrieves a paginated list of admin users for a specified slack workspace. |
| `SLACK_MANUALLY_SET_USER_PRESENCE` | 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 slack's auto-away (e.g., after 10 mins of inactivity). |
| `SLACK_MARK_REMINDER_AS_COMPLETE` | Mark reminder as complete | Marks a specific slack reminder as complete using its `reminder` id; **deprecated**: this slack api endpoint ('reminders.complete') was deprecated in march 2023 and is not recommended for new applications. |
| `SLACK_OPEN_DM` | Open DM | Opens or resumes a slack direct message (dm) or multi-person direct message (mpim) by providing either user ids or an existing channel id. |
| `SLACK_PINS_AN_ITEM_TO_A_CHANNEL` | Pin an item to a channel | Pins a message to a specified slack channel; the message must not already be pinned. |
| `SLACK_REMOVE_A_REMOTE_FILE` | Remove remote file | 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 deleting the actual external file. |
| `SLACK_REMOVE_A_STAR_FROM_AN_ITEM` | Remove a star from an item | 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 `channel` and `timestamp` (for a message). |
| `SLACK_REMOVE_A_USER_FROM_A_CONVERSATION` | Remove user from conversation | 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_REMOVE_CALL_PARTICIPANTS` | Remove call participants | Registers participants removed from a slack call. |
| `SLACK_REMOVE_REACTION_FROM_ITEM` | Remove reaction from item | Removes an emoji reaction from a message, file, or file comment in slack. |
| `SLACK_RENAME_A_CONVERSATION` | Rename a conversation | 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_AN_EMOJI` | Rename an emoji | Renames an existing custom emoji in a slack workspace, updating all its instances. |
| `SLACK_RENAME_A_SLACK_CHANNEL` | Rename a Slack channel | Renames a public or private slack channel; for enterprise grid workspaces, the user must be a workspace admin or channel manager. |
| `SLACK_RETRIEVE_A_USER_S_IDENTITY_DETAILS` | 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_CALL_INFORMATION` | Retrieve call information | Retrieves a point-in-time snapshot of a specific slack call's information. |
| `SLACK_RETRIEVE_CONVERSATION_INFORMATION` | Retrieve conversation information | Retrieves metadata for a slack conversation by id (e.g., name, purpose, creation date, with options for member count/locale), excluding message content; requires a valid channel id. |
| `SLACK_RETRIEVE_CONVERSATION_MEMBERS_LIST` | Get conversation members | Retrieves a paginated list of active member ids for a specified slack public channel, private channel, direct message (dm), or multi-person direct message (mpim). |
| `SLACK_RETRIEVE_CURRENT_USER_DND_STATUS` | Retrieve user DND status | 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` | Retrieve detailed file information | Retrieves detailed metadata and paginated comments for a specific slack file id; does not download file content. |
| `SLACK_RETRIEVE_DETAILED_USER_INFORMATION` | Retrieve detailed user information | Retrieves comprehensive information for a valid slack user id, excluding message history and channel memberships. |
| `SLACK_RETRIEVE_MESSAGE_PERMALINK_URL` | Retrieve message permalink | Retrieves a permalink url for a specific message in a slack channel or conversation; the permalink respects slack's privacy settings. |
| `SLACK_RETRIEVE_TEAM_PROFILE_DETAILS` | Retrieve team profile details | Retrieves all profile field definitions for a slack team, optionally filtered by visibility, to understand the team's profile structure. |
| `SLACK_RETRIEVE_USER_PROFILE_INFORMATION` | Retrieve user profile information | 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. |
| `SLACK_REVOKE_PUBLIC_SHARING_ACCESS_FOR_A_FILE` | Revoke a file's public url | 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` | Schedule message | 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` | Search messages | 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` | Send ephemeral message | Sends an ephemeral message to a user in a channel. |
| `SLACK_SEND_MESSAGE` | Send message | Posts a message to a slack channel, direct message, or private group; requires content via `text`, `blocks`, or `attachments`. |
| `SLACK_SET_A_CONVERSATION_S_PURPOSE` | Set a conversation's purpose | 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` | Set DND duration | Turns on do not disturb mode for the current user, or changes its duration. |
| `SLACK_SET_PROFILE_PHOTO` | Set profile photo | This method allows the user to set their profile image. |
| `SLACK_SET_READ_CURSOR_IN_A_CONVERSATION` | Set conversation read cursor | 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 within it. |
| `SLACK_SET_SLACK_USER_PROFILE_INFORMATION` | Set Slack user profile information | Updates a slack user's profile, setting either individual fields or multiple fields via a json object. |
| `SLACK_SET_THE_TOPIC_OF_A_CONVERSATION` | Set conversation topic | Sets or updates the topic for a specified slack conversation. |
| `SLACK_SHARE_A_ME_MESSAGE_IN_A_CHANNEL` | Share a me message in a channel | 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_SHARE_REMOTE_FILE_IN_CHANNELS` | Share a remote file in channels | Shares a remote file, which must already be registered with slack, into specified slack channels or direct message conversations. |
| `SLACK_START_CALL` | Start call | 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_START_REAL_TIME_MESSAGING_SESSION` | Start real time messaging session | Initiates a slack rtm session providing a single-use websocket url (valid 30s) for event streaming; does not set initial presence status. |
| `SLACK_UNARCHIVE_A_PUBLIC_OR_PRIVATE_CHANNEL` | Unarchive a public or private channel | Unarchives a specified public or private slack channel that is currently archived, using its channel id. |
| `SLACK_UNARCHIVE_CHANNEL` | Unarchive channel | Reverses conversation archival. |
| `SLACK_UNPIN_ITEM_FROM_CHANNEL` | Unpin message from channel | Unpins a message, identified by its timestamp, from a specified channel if the message is currently pinned there; this operation is destructive. |
| `SLACK_UPDATE_AN_EXISTING_SLACK_USER_GROUP` | Update Slack user group | 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_UPDATES_AN_EXISTING_REMOTE_FILE` | Update an existing remote file | 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_UPDATES_A_SLACK_MESSAGE` | Update a Slack message | Updates a slack message, identified by `channel` id and `ts` timestamp, by modifying its `text`, `attachments`, or `blocks`; provide at least one content field, noting `attachments`/`blocks` are replaced if included (`[]` clears them). |
| `SLACK_UPDATE_SLACK_CALL_INFORMATION` | Update call information | Updates the title, join url, or desktop app join url for an existing slack call identified by its id. |
| `SLACK_UPDATE_USER_GROUP_MEMBERS` | Update user group members | Replaces all members of an existing slack user group with a new list of valid user ids. |
| `SLACK_UPLOAD_OR_CREATE_A_FILE_IN_SLACK` | Upload or create a file in Slack | Uploads a file to slack, requiring either `content` (for text) or `file` (for binary data), optionally sharing it in specified `channels` or as a reply via `thread ts`. |

## Supported Triggers

| Trigger slug | Name | Description |
|---|---|---|
| `SLACK_CHANNEL_CREATED` | New Channel Created Trigger | Triggered when a new channel is created in Slack. |
| `SLACK_CHANNEL_MESSAGE_RECEIVED` | Channel Message Received | Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages. |
| `SLACK_DIRECT_MESSAGE_RECEIVED` | Direct Message Received | Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels. |
| `SLACK_MESSAGE_REACTION_ADDED` | Message Reaction Added | Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name. |
| `SLACK_REACTION_ADDED` | Reaction Added Trigger | DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack. |
| `SLACK_REACTION_REMOVED` | Reaction Removed Trigger | DEPRECATED. Triggered when a reaction is removed from a message. |
| `SLACK_RECEIVE_BOT_MESSAGE` | New Bot Message Received Trigger | DEPRECATED: use `SLACK_CHANNEL_MESSAGE_RECEIVED` with `is_bot_message=true` instead. Triggered when a new bot message is posted to a Slack channel. |
| `SLACK_RECEIVE_MESSAGE` | New Message Received Trigger | DEPRECATED: use `SLACK_CHANNEL_MESSAGE_RECEIVED` instead. Triggered when a new message is posted to a Slack channel. |

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, VS Code can access the Slack MCP server via Composio to run the app actions you authorize, directly from your coding workflow.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Slack is connected, extend your setup by connecting the other apps you already use every day, so your agent can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
- Connect HubSpot or Salesforce to log customer context, update records, and draft follow-ups.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single MCP endpoint, your agent can coordinate multiple tools safely and reliably in one conversation.

## How to build Slack MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/slack/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/slack/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/slack/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/slack/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/slack/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/slack/framework/codex)
- [Cursor](https://composio.dev/toolkits/slack/framework/cursor)
- [OpenCode](https://composio.dev/toolkits/slack/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/slack/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/slack/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/slack/framework/cli)
- [Google ADK](https://composio.dev/toolkits/slack/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/slack/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/slack/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/slack/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/slack/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/slack/framework/crew-ai)

## Related Toolkits

- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
- [Outlook](https://composio.dev/toolkits/outlook) - Outlook is Microsoft's email and calendaring platform for unified communications and scheduling. It helps users stay organized with powerful email, contacts, and calendar management.
- [Gong](https://composio.dev/toolkits/gong) - Gong is a platform for video meetings, call recording, and team collaboration. It helps teams capture conversations, analyze calls, and turn insights into action.
- [Microsoft teams](https://composio.dev/toolkits/microsoft_teams) - Microsoft Teams is a collaboration platform that combines chat, meetings, and file sharing within Microsoft 365. It keeps distributed teams connected and productive through seamless virtual communication.
- [Slackbot](https://composio.dev/toolkits/slackbot) - Slackbot is a conversational automation tool for Slack that handles reminders, notifications, and automated responses. It boosts team productivity by streamlining onboarding, answering FAQs, and managing timely alerts—all right inside Slack.
- [2chat](https://composio.dev/toolkits/_2chat) - 2chat is an API platform for WhatsApp and multichannel text messaging. It streamlines chat automation, group management, and real-time messaging for developers.
- [Agent mail](https://composio.dev/toolkits/agent_mail) - Agent mail provides AI agents with dedicated email inboxes for sending, receiving, and managing emails. It empowers agents to communicate autonomously with people, services, and other agents—no human intervention needed.
- [Basecamp](https://composio.dev/toolkits/basecamp) - Basecamp is a project management and team collaboration tool by 37signals. It helps teams organize tasks, share files, and communicate efficiently in one place.
- [Chatwork](https://composio.dev/toolkits/chatwork) - Chatwork is a team communication platform with group chats, file sharing, and task management. It helps businesses boost collaboration and streamline productivity.
- [Clickmeeting](https://composio.dev/toolkits/clickmeeting) - ClickMeeting is a cloud-based platform for running online meetings and webinars. It helps businesses and individuals host, manage, and engage virtual audiences with ease.
- [Confluence](https://composio.dev/toolkits/confluence) - Confluence is Atlassian's team collaboration and knowledge management platform. It helps your team organize, share, and update documents and project content in one secure workspace.
- [Dailybot](https://composio.dev/toolkits/dailybot) - DailyBot streamlines team collaboration with chat-based standups, reminders, and polls. It keeps work flowing smoothly in your favorite messaging platforms.
- [Dialmycalls](https://composio.dev/toolkits/dialmycalls) - Dialmycalls is a mass notification service for sending voice and text messages to contacts. It helps teams and organizations quickly broadcast urgent alerts and updates.
- [Dialpad](https://composio.dev/toolkits/dialpad) - Dialpad is a cloud-based business phone and contact center system for teams. It unifies voice, video, messaging, and meetings across your devices.
- [Discord](https://composio.dev/toolkits/discord) - Discord is a real-time messaging and VoIP platform for communities and teams. It lets users chat, share media, and collaborate across public and private channels.
- [Discordbot](https://composio.dev/toolkits/discordbot) - Discordbot is an automation tool for Discord servers that handles moderation, messaging, and user engagement. It helps communities run smoothly by automating routine and complex tasks.
- [Echtpost](https://composio.dev/toolkits/echtpost) - Echtpost is a secure digital communication platform for encrypted document and message exchange. It ensures confidential data stays private and protected during transmission.
- [Egnyte](https://composio.dev/toolkits/egnyte) - Egnyte is a cloud-based platform for secure file sharing, storage, and governance. It helps teams collaborate efficiently while maintaining data compliance and security.
- [Google Meet](https://composio.dev/toolkits/googlemeet) - Google Meet is a secure video conferencing platform for virtual meetings, chat, and screen sharing. It helps teams connect, collaborate, and communicate seamlessly from anywhere.
- [Heartbeat](https://composio.dev/toolkits/heartbeat) - Heartbeat is a plug-and-play platform for building and managing online communities. It helps you organize users, channels, events, and discussions in one place.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Slack MCP?

With a standalone Slack MCP server, the agents and LLMs can only access a fixed set of Slack tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Slack and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with VS Code?

Yes, you can. VS Code fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Slack tools.

### Can I manage the permissions and scopes for Slack while using Tool Router?

Yes, absolutely. You can configure which Slack scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Slack data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
