BACK TO DIRECTORY
mcpbeginner

Slack

Integrates Slack workspace access into Claude Code through the MCP protocol. Enables sending messages to channels, reading channel history, searching messages, managing threads, and reacting to messages. Ideal for automated notifications, standup reports, and team communication workflows triggered from development tasks.

1.6k STARS
22.3k DOWNLOADS
slack
slackmessagingchatnotificationsteam

INSTALL COMMAND

npx @anthropic-ai/claude-code mcp add slack -- npx -y @anthropic-ai/mcp-server-slack

CONFIGURATION

json
1{
2 "mcpServers": {
3 "slack": {
4 "command": "npx",
5 "args": [
6 "-y",
7 "@anthropic-ai/mcp-server-slack"
8 ],
9 "env": {
10 "SLACK_BOT_TOKEN": "<your-slack-bot-token>",
11 "SLACK_TEAM_ID": "<your-slack-team-id>"
12 }
13 }
14 }
15}
16
17// Setup steps:
18// 1. Go to https://api.slack.com/apps and create a new app
19// 2. Under OAuth & Permissions, add these bot token scopes:
20// - channels:read
21// - channels:history
22// - chat:write
23// - reactions:read
24// - reactions:write
25// - search:read
26// - users:read
27// 3. Install the app to your workspace
28// 4. Copy the Bot User OAuth Token (xoxb-...)
29// 5. Find your Team ID in Slack workspace settings
30//
31// Available tools:
32// - send_message: Post a message to a channel
33// - read_channel: Read recent messages from a channel
34// - search_messages: Search across all channels
35// - reply_to_thread: Reply in a thread
36// - add_reaction: React to a message
37// - list_channels: List available channels