MCP.so
登录

Slack MCP Server

@edrigu1989

基本信息

分类

沟通协作

传输方式

stdio

作者

edrigu1989

关于 Slack MCP Server

slack

Slack MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "slack-mcp-server-edrigu1989": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp/slack",
        "-f",
        "src/slack/Dockerfile",
        "."
      ]
    }
  }
}

Slack MCP Server 工具

8

List of channels with their IDs and information

Message posting confirmation and timestamp

Reply confirmation and timestamp

Reaction confirmation

List of messages with their content and metadata

List of replies with their content and metadata

List of users with their basic profiles

Detailed user profile information

概览

What is Slack MCP Server?

An MCP server for the Slack API that enables Claude to interact with Slack workspaces. It provides tools for listing channels, posting messages, replying to threads, adding reactions, and retrieving channel history, thread replies, and user profiles.

How to use Slack MCP Server?

Install via npx (npx -y @modelcontextprotocol/server-slack) or Docker (docker run -i --rm -e SLACK_BOT_TOKEN -e SLACK_TEAM_ID mcp/slack). Configure environment variables SLACK_BOT_TOKEN and SLACK_TEAM_ID in your Claude Desktop configuration. First create a Slack app with required OAuth scopes, install it to your workspace, and obtain the bot token and team ID.

Key features of Slack MCP Server

  • List public channels in the workspace with pagination
  • Post new messages to any channel
  • Reply to message threads
  • Add emoji reactions to messages
  • Get recent messages from a channel
  • Get all replies in a thread
  • List workspace users with basic profiles
  • Get detailed profile for a specific user

Use cases of Slack MCP Server

  • Automate channel discovery and monitoring
  • Send announcements or notifications to channels
  • Respond to messages in threads contextually
  • Collect message history for analysis or moderation
  • Retrieve user information for directory lookup

常见问题

1

What OAuth scopes are required for the Slack app?

`channels:history`, `channels:read`, `chat:write`, `reactions:write`, and `users:read`.

2

How do I install the Slack app to my workspace?

After creating the app and adding scopes, click "Install to Workspace" and authorize. Then copy the Bot User OAuth Token (starts with `xoxb-`) and your Team ID (starts with `T`).

3

Why am I getting permission errors?

Verify that all required scopes are added, the app is properly installed to your workspace, tokens and workspace ID are correctly configured, and the app has been added to the channels it needs to access.

4

How do I find my Slack Team ID?

Follow Slack's guidance at https://slack.com/help/articles/221769328-Locate-your-Slack-URL-or-ID#find-your-workspace-or-org-id. It starts with a

评论

沟通协作 分类下的更多 MCP 服务器