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
| Tool | Description |
|---|---|
slack_post_message | Post a message to a channel |
slack_reply_to_thread | Reply to a message thread |
slack_add_reaction | Add an emoji reaction to a message |
slack_get_channel_history | Get recent messages from a channel |
slack_get_thread_replies | Get all replies in a thread |
slack_list_channels | List all channels in the workspace |
slack_get_users | List all users in the workspace |
slack_get_user_profile | Get a user profile by ID |