Slack

MCP
Messaging
8 tools

Send messages, read channels, and manage conversations in Slack

Installation

Install the typed integration package for your language:

Terminal

$ npm install @leash/integration-slack

Authentication

Set SLACK_BOT_TOKEN — Create a Slack app at api.slack.com, add Bot Token Scopes, install to workspace, copy the Bot User OAuth Token (xoxb-...). Also set SLACK_TEAM_ID.

Usage

import { LeashIntegrations } from '@leash/sdk'
import { createSlackClient } from '@leash/integration-slack'
const leash = new LeashIntegrations()
const client = createSlackClient(leash)
const result = await client.slackPostMessage()

Available Tools

ToolDescription
slack_post_messagePost a message to a channel
slack_reply_to_threadReply to a message thread
slack_add_reactionAdd an emoji reaction to a message
slack_get_channel_historyGet recent messages from a channel
slack_get_thread_repliesGet all replies in a thread
slack_list_channelsList all channels in the workspace
slack_get_usersList all users in the workspace
slack_get_user_profileGet a user profile by ID