Slack Integration
Send and manage Slack messages and channels
The Slack integration provides access to send and manage Slack messages and channels through the Integrate MCP server.
Installation
The Slack integration is included with the SDK:
import { slackIntegration } from "integrate-sdk/server";Setup
1. Create a Slack OAuth App
- Go to Slack API Apps
- Create a new OAuth application
- Configure your redirect URI
- Note your Client ID and Client Secret
2. Configure the Integration on Your Server
Add the Slack integration to your server configuration. The integration automatically reads SLACK_CLIENT_ID and SLACK_CLIENT_SECRET from your environment variables:
import { createMCPServer, slackIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
slackIntegration({
}),
],
});You can override the environment variables by passing explicit values:
slackIntegration({
clientId: process.env.CUSTOM_SLACK_ID,
clientSecret: process.env.CUSTOM_SLACK_SECRET,
});3. Client-Side Usage
The default client automatically includes all integrations. You can use it directly:
import { client } from "integrate-sdk";
await client.authorize("slack");
const result = await client.slack.sendMessage({
channel: "value",
});
console.log(result);If you're using a custom client, add the integration to the integrations array:
import { createMCPClient, slackIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [slackIntegration()],
});Configuration Options
Prop
Type
Tools
slack_send_message
Send a message to a Slack channel
Prop
Type
slack_list_messages
Get message history from a channel
Prop
Type
slack_get_thread_replies
Get all replies in a message thread
Prop
Type
slack_update_message
Update the text of an existing message
Prop
Type
slack_delete_message
Delete a message
Prop
Type
slack_schedule_message
Schedule a message to be sent at a future time
Prop
Type
slack_get_permalink
Get a permanent URL for a specific message
Prop
Type
slack_search_messages
Search for messages across the workspace
Prop
Type
slack_list_channels
List channels in the workspace
Prop
Type
slack_get_channel
Get details about a specific channel
Prop
Type
slack_create_channel
Create a new channel
Prop
Type
slack_invite_to_channel
Invite one or more users to a channel
Prop
Type
slack_list_channel_members
List all members of a channel
Prop
Type
slack_set_channel_topic
Set the topic of a channel
Prop
Type
slack_archive_channel
Archive a channel
Prop
Type
slack_list_users
List all users in the workspace
Prop
Type
slack_get_user
Get detailed profile for a user
Prop
Type
slack_lookup_user_by_email
Find a user by their email address
Prop
Type
slack_add_reaction
Add an emoji reaction to a message
Prop
Type
slack_remove_reaction
Remove an emoji reaction from a message
Prop
Type
slack_get_reactions
Get all reactions on a message
Prop
Type
slack_upload_file
Upload a text file to one or more channels
Prop
Type
slack_pin_message
Pin a message in a channel
Prop
Type
slack_unpin_message
Unpin a message in a channel
Prop
Type
slack_list_pins
List all pinned items in a channel
Prop
Type
slack_set_channel_purpose
Set the purpose of a channel
Prop
Type
slack_rename_channel
Rename a channel
Prop
Type
slack_join_channel
Join a channel
Prop
Type
slack_leave_channel
Leave a channel
Prop
Type
slack_kick_from_channel
Remove a user from a channel
Prop
Type
slack_unarchive_channel
Unarchive a channel
Prop
Type
slack_open_dm
Open or resume a direct message conversation with one or more users
Prop
Type
slack_get_user_presence
Get the presence status of a user
Prop
Type
slack_get_dnd_info
Get Do Not Disturb status for a user
Prop
Type
slack_list_files
List files in the workspace
Prop
Type
slack_get_file
Get info about a file
Prop
Type
slack_delete_file
Delete a file
Prop
Type
slack_get_team_info
Get information about the current workspace/team
No parameters.
slack_list_bookmarks
List bookmarks for a channel
Prop
Type
slack_add_bookmark
Add a bookmark to a channel
Prop
Type
slack_list_reminders
List reminders for the authenticated user
No parameters.
slack_add_reminder
Create a reminder for the authenticated user
Prop
Type
slack_list_usergroups
List user groups in the workspace
Prop
Type
Notes
- Category: Communication
- Authentication mode: OAuth