Slack

com.pulsemcp由 pulsemcp.com 发布v0.0.7更新于 Oct 24, 2026

MCP server for Slack — read/write messages, manage threads, and react to messages.

已验证STDIO仅桌面效率与工作流沟通与协作

概览

AI 生成的概览

让助手读取 Slack 频道和会话串、发布和编辑消息、添加表情回应,并上传文本片段。

可以做什么
通过机器人令牌把助手连接到 Slack 工作区。只读工具可列出可访问的频道、获取频道及其最近消息、拉取包含全部回复的会话串。写入工具可发布新消息、回复会话串、更新已发布的消息、添加表情回应,并把较长文本作为文件片段上传。可通过工具组设置只暴露读取操作。
适用场景
适合让助手总结或检索 Slack 对话、起草并发送回复、跟进会话串,或在不切换应用的情况下回应消息。如果团队主要在 Slack 中沟通,并希望在同一助手会话里读取和发布消息,就值得添加。
运行要求
通过 npx 在本地运行,需要 Node.js。需要一个可创建应用的 Slack 工作区,并以环境变量 SLACK_BOT_TOKEN 提供机器人令牌,同时授予频道与私有频道读取、消息历史、发送消息、添加回应和上传文件等机器人权限范围。可选变量 ENABLED_TOOLGROUPS 用于选择 readonly 或 write 工具组。
安装前请注意
机器人令牌是工作区凭据,持有者可代机器人操作,需妥善保管。写入工具会向频道发布、编辑和上传内容,表情回应他人可见。只授予必要的权限范围,并可用 ENABLED_TOOLGROUPS=readonly 避免意外发布。消息内容会作为工具结果发送给模型提供方。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Slack,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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:

json
{  "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

bash
# Install dependenciesnpm run install-all
# Run in development modenpm run dev
# Run testsnpm test                  # Functional testsnpm run test:integration  # Integration testsnpm run test:manual       # Manual tests (requires real credentials)
# Buildnpm run build

License

MIT

来源:experimental/slack/README.md,提交 0ed34de

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.0.7最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分