mcpField
S
slack

slack

Local
github.com/pulsemcpCommunication81Updated 8w ago

About slack

Slack MCP server for reading and writing messages in Slack workspaces, with support for threads and emoji reactions. It suits teams that want an AI assistant to take part in channel conversations, and it can be limited to read-only use.

Key features

  1. 01List accessible public and private channels
  2. 02Read channel messages and full threads
  3. 03Post, reply, and edit messages
  4. 04Add emoji reactions to messages
  5. 05Upload long text as file snippets
  6. 06Read-only mode through tool groups

Use cases

  1. 01Having an AI assistant summarize recent channel discussion
  2. 02Replying to or following up in a specific thread
  3. 03Searching channel and thread content in read-only mode

MCP support

This project is an MCP server that provides read and write tools for Slack channels, threads, and messages to MCP clients. It authenticates with a Slack Bot Token.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"com-pulsemcp-slack": {
"command": "npx",
"args": [
"-y",
"slack-workspace-mcp-server"
],
"env": {
"SLACK_BOT_TOKEN": "<SLACK_BOT_TOKEN>",
"ENABLED_TOOLGROUPS": "<ENABLED_TOOLGROUPS>"
}
}
}
}
Run commandnpx -y slack-workspace-mcp-server
Environment variables to set
SLACK_BOT_TOKENSecretSlack Bot User OAuth Token starting with xoxb-.
ENABLED_TOOLGROUPSComma-separated list of tool groups to enable (readonly, write).

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmslack-workspace-mcp-server0.0.7

Tools

9

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
include_privatebooleanNoInclude private channels the bot is a member of. Default: true. Set to false to only list public channels.
include_archivedbooleanNoInclude archived channels. Default: false. Archived channels are read-only and cannot receive new messages.

Details

From the project README

Slack MCP Server

A Model Context Protocol (MCP) server for integrating with Slack workspaces. This server provides tools for reading and writing messages, managing threads, and reacting to messages in Slack.

Features

  • List Channels - View all accessible public and private channels
  • Read Channel - Get channel info and recent messages
  • Read Threads - Get full threaded conversations
  • Post Messages - Send new messages to channels
  • Reply to Threads - Continue threaded conversations
  • Update Messages - Edit previously posted messages
  • React to Messages - Add emoji reactions to messages
  • Upload Snippets - Upload text content as file snippets (for long content that exceeds message limits)

Setup

Prerequisites
  • A Slack workspace with admin permissions to create apps
  • A Slack Bot Token (see instructions below)
Environment Variables
VariableRequiredDescriptionDefault
SLACK_BOT_TOKENYesSlack Bot User OAuth Token-
ENABLED_TOOLGROUPSNoComma-separated list of tool groupsAll enabled
Getting a Bot Token
  1. Go to api.slack.com/apps
  2. Create a new app or select an existing one
  3. Navigate to OAuth & Permissions
  4. Add the following Bot Token Scopes:
    • channels:read - View basic channel information
    • channels:history - View messages in public channels
    • groups:read - View private channels
    • groups:history - View messages in private channels
    • chat:write - Send messages
    • reactions:write - Add reactions
    • files:write - Upload files and snippets
  5. Install the app to your workspace
  6. Copy the Bot User OAuth Token (starts with xoxb-)
Claude Desktop

Make sure you have your Slack Bot Token ready.

Then proceed to the setup instructions below. If this is your first time using MCP Servers, you'll want to make sure you have the Claude Desktop application and follow the official MCP setup instructions.

Manual Setup

You're going to need Node working on your machine so you can run npx commands in your terminal. If you don't have Node, you can install it from nodejs.org.

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Modify your claude_desktop_config.json file to add the following:

{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": ["-y", "slack-workspace-mcp-server"],
      "env": {
        "SLACK_BOT_TOKEN": "xoxb-your-token-here"
      }
    }
  }
}

Restart Claude Desktop and you should be ready to go!

Available Tools

Read-Only Tools
ToolDescription
slack_get_channelsList all accessible channels
slack_get_channelGet channel info with recent messages
slack_get_threadGet a thread with all replies
Write Tools
ToolDescription
slack_post_messagePost a new message to a channel
slack_reply_to_threadReply to an existing thread
slack_update_messageUpdate a previously posted message
slack_react_to_messageAdd an emoji reaction to a message
slack_upload_snippetUpload text content as a file snippet to a channel

Tool Groups

You can control which tools are available using the ENABLED_TOOLGROUPS environment variable:

  • readonly - Only read operations (get channels, messages, threads)
  • write - All operations including posting and reactions

Example: ENABLED_TOOLGROUPS=readonly to disable all write operations.

Development

# Install dependencies
npm run install-all

# Run in development mode
npm run dev

# Run tests
npm test                  # Functional tests
npm run test:integration  # Integration tests
npm run test:manual       # Manual tests (requires real credentials)

# Build
npm run build

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.