
lars-hagen/slack-user-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Model Context Protocol server for authorized Slack workspace automation
개요
MCP Server for the Slack API, enabling Claude to interact with Slack workspaces as a user. 1. slack_list_channels - List public channels in the workspace - Optional inputs: - limit (number, default: 100, max: 200): Maximum number of channels to return - cursor (string): Pagination cursor for next page - Returns: List of channels with their IDs and information 2. slack_post_message - Post a new message to a Slack channel - Required inputs: - channel_id (string): The ID of the channel to post to - text (string): The message text to post - Returns: Message posting confirmation and timestamp 3. slack_reply_to_thread - Reply to a specific message thread - Required inputs: - channel_id (string): The channel containing the thread - thread_ts (string): Timestamp of the parent message - text (string): The reply text - Returns: Reply confirmation and timestamp 4.
README
원문 README의 일부입니다. 원문 보기.
Slack User MCP Server
MCP Server for the Slack API, enabling Claude to interact with Slack workspaces as a user.
Tools
-
slack_list_channels- List public 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
Setup
- Create a Slack App:
- Visit the Slack Apps page
- Click “Create New App”
- Choose “From scratch”
- Name your app and select your workspace
설치
docker run -i --rm -e SLACK_TOKEN slack-user-mcp설정
{
"mcpServers": {
"slack": {
"command": "npm",
"args": [
"run",
"--prefix",
"/path/to/slack-user-mcp",
"start"
],
"env": {
"SLACK_TOKEN": "xoxp-your-user-token"
}
}
}
}