
zencoderai/slack-mcp-server 是从 https://github.com/zencoderai/slack-mcp-server. 导入的一个 MCP 服务器候选
概览
zencoderai/slack-mcp-server 是从 https://github.com/zencoderai/slack-mcp-server. 导入的一个 MCP 服务器候选
概述(AI 翻译)
免责声明
该项目包含最初由Anthropic开发并以MIT许可证发布的代码。For Good AI Inc.(以Zencoder Inc.为名)增加了大量修改和新功能,并采用Apache许可证2.0版本授权。
概述
一个用于与 Slack 工作区交互的模型上下文协议(MCP)服务器。该服务器提供列出频道、发布消息、回复帖子、添加反应、获取频道历史和管理用户的工具。
可用工具
- slack_list_channels
- 在工作区中列出公共或预定义频道
- 可选输入:
limit(编号,默认:100,最大:200):最大返回通道数cursor(字符串):下一页的分页光标- 返回:频道列表及其ID和信息
- slack_post_message
- 向Slack频道发布新消息
- 所需输入:
channel_id(字符串):要发布的信道IDtext(字符串):要发布的消息文本- 返回:消息发布确认和时间戳
- slack_reply_to_thread
- 回复特定消息线程
- 所需输入:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
slack-mcp-server
Disclaimer
This project includes code originally developed by Anthropic and released under the MIT License. Substantial modifications and new functionality have been added by For Good AI Inc. (dba Zencoder Inc.), and are licensed under the Apache License, Version 2.0.
Overview
A Model Context Protocol (MCP) server for interacting with Slack workspaces. This server provides tools to list channels, post messages, reply to threads, add reactions, get channel history, and manage users.
Available Tools
-
slack_list_channels
- List public or pre-defined channels in the workspace
- Optional inputs:
limit(number, default: 100, max: 200): Maximum number of channels to returncursor(string): Pagination cursor for next page
- Returns: List of channels with their IDs and information
-
slack_post_message
- Post a new message to a Slack channel
- Required inputs:
channel_id(string): The ID of the channel to post totext(string): The message text to post
- Returns: Message posting confirmation and timestamp
-
slack_reply_to_thread
- Reply to a specific message thread
- Required inputs:
channel_id(string): The channel containing the threadthread_ts(string): Timestamp of the parent messagetext(string): The reply text
- Returns: Reply confirmation and timestamp
-
slack_add_reaction
- Add an emoji reaction to a message
- Required inputs:
channel_id(string): The channel containing the messagetimestamp(string): Message timestamp to react toreaction(string): Emoji name without colons
- Returns: Reaction confirmation
-
slack_get_channel_history
- Get recent messages from a channel
- Required inputs:
channel_id(string): The channel ID
- Optional inputs:
limit(number, default: 10): Number of messages to retrieve
- Returns: List of messages with their content and metadata
-
slack_get_thread_replies
- Get all replies in a message thread
- Required inputs:
channel_id(string): The channel containing the threadthread_ts(string): Timestamp of the parent message
- Returns: List of replies with their content and metadata
-
slack_get_users
- Get list of workspace users with basic profile information
- Optional inputs:
cursor(string): Pagination cursor for next pagelimit(number, default: 100, max: 200): Maximum users to return
- Returns: List of users with their basic profiles
-
slack_get_user_profile
- Get detailed profile information for a specific user
- Required inputs:
user_id(string): The user’s ID
- Returns: Detailed user profile information
Slack Bot Setup
To use this MCP server, you need to create a Slack app and configure it with the necessary permissions:
安装
docker run --rm \