LH

lars-hagen/slack-user-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

11 stars 13 forks 품질 82 트렌드 38MIT

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

  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. slack_add_reaction

    • Add an emoji reaction to a message
    • Required inputs:
      • channel_id (string): The channel containing the message
      • timestamp (string): Message timestamp to react to
      • reaction (string): Emoji name without colons
    • Returns: Reaction confirmation
  5. 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
  6. slack_get_thread_replies

    • Get all replies in a message thread
    • Required inputs:
      • channel_id (string): The channel containing the thread
      • thread_ts (string): Timestamp of the parent message
    • Returns: List of replies with their content and metadata
  7. slack_get_users

    • Get list of workspace users with basic profile information
    • Optional inputs:
      • cursor (string): Pagination cursor for next page
      • limit (number, default: 100, max: 200): Maximum users to return
    • Returns: List of users with their basic profiles
  8. 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

  1. Create a Slack App:
    • Visit the Slack Apps page
    • Click “Create New App”
    • Choose “From scratch”
    • Name your app and select your workspace
GitHub에서 전체 README 보기

설치

docker run -i --rm -e SLACK_TOKEN slack-user-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "slack": { "command": "npm", "args": [ "run", "--prefix", "/path/to/slack-user-mcp", "start" ], "env": { "SLACK_TOKEN": "xoxp-your-user-token" } } } }