# MCP Slack [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/crunchtools/mcp-slack  
**GitHub Stars:** 2  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-slack

## Description
Secure read-only MCP server for Slack workspaces

## Tools
Capabilities this server exposes over MCP:

- **slack_auth_test** — Test Slack authentication and get info about the token owner.

Returns the authenticated user's ID, team ID, team name, username, and workspace URL.
Use this to verify the connection is working.
- **slack_list_channels** — List channels in the Slack workspace.
- **slack_get_channel_info** — Get detailed information about a Slack channel.
- **slack_get_channel_history** — Get message history from a Slack channel.
- **slack_get_thread_replies** — Get replies in a Slack message thread.
- **slack_list_channel_members** — List members of a Slack channel.
- **slack_search_messages** — Search messages in the Slack workspace.

Supports Slack search modifiers: from:user, in:channel, has:link,
before:date, after:date, during:month.
- **slack_get_reactions** — Get reactions for a specific Slack message.
- **slack_list_reactions** — List reactions made by a user.
- **slack_list_stars** — List starred items for the authenticated user.
- **slack_get_user_info** — Get information about a Slack user.
- **slack_list_users** — List users in the Slack workspace.
- **slack_get_user_profile** — Get a Slack user's profile information.
- **slack_list_files** — List files in the Slack workspace (metadata only, no content download).
- **slack_get_file_info** — Get metadata about a Slack file (no content download).
- **slack_send_message** — Send or schedule a Slack message.

When SLACK_ADD_MESSAGE_DELAY is set (default: 3m), the message is scheduled
via chat.scheduleMessage, giving a cancellation window before delivery.
Use slack_cancel_scheduled_message with the returned scheduled_message_id
to cancel. Set SLACK_ADD_MESSAGE_DELAY=0 to post immediately.
- **slack_cancel_scheduled_message** — Cancel a scheduled Slack message before it sends.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "mcp-slack": {
    "command": "uvx",
    "args": ["mcp-slack-crunchtools"],
    "env": {
      "SLACK_USER_TOKEN": "",
      "SLACK_COOKIE_TOKEN": "",
      "SLACK_COOKIE_D": ""
    }
  }
}
```

**Requires environment variables:** `SLACK_USER_TOKEN`, `SLACK_COOKIE_TOKEN`, `SLACK_COOKIE_D` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What MCP Slack MCP server does

MCP Slack MCP server exposes Slack workspace data and selected messaging actions through the Model Context Protocol. Most of its 17 tools are read-only: agents can inspect channels, retrieve channel history and thread replies, search messages, examine users and profiles, review reactions and starred items, and list files or file metadata. File tools do not download file contents.

The server also provides an authentication test that returns the token owner's user ID, team ID, team name, username, and workspace URL. Two tools can affect Slack state: one sends or schedules a message, and the other cancels a scheduled message. Existing Slack content is not edited or deleted.

## How it works

The server communicates with Slack over HTTP and uses an MCP client connection for tool calls. It supports two mutually exclusive authentication modes. Token mode uses a Slack user OAuth token beginning with `xoxp-`. Cookie mode uses a browser session token and its matching `d` cookie. When both cookie variables are present, cookie mode takes precedence; otherwise the server uses token mode.

Token mode is the preferred option when a Slack app can be installed and approved in the workspace. Cookie mode reuses an existing browser session and may require periodic credential replacement because the session can expire or be invalidated. Both cookie values grant access equivalent to the associated Slack session and should be protected accordingly.

Outgoing messages use Slack scheduling by default. The default delay is three minutes, and the returned scheduled message ID can be passed to the cancellation tool. Set the delay to zero to post immediately, or use supported duration forms such as `30s`, `5m`, or `2h`.

## Setup and configuration

The repository supports installation through `uvx`, a local `uv run` command, or a container image. For an MCP client configured with a command, provide the authentication variables and run `uvx mcp-slack-crunchtools`. Container deployments pass the same values into the container environment. Token-mode message delivery requires the Slack `chat:write` scope.

Configuration variables are:

- `SLACK_USER_TOKEN`: User OAuth token for token mode.
- `SLACK_COOKIE_TOKEN`: Browser session token for cookie mode.
- `SLACK_COOKIE_D`: Matching `d` cookie for cookie mode.
- `SLACK_ADD_MESSAGE_DELAY`: Optional scheduling delay; defaults to `3m`. Values such as `0`, `0s`, `none`, or `false` disable scheduling.

Cookie mode requires both cookie variables. The authentication modes should not be configured together.

## Tools and capabilities

Available operations include:

- Test authentication and identify the token owner.
- List channels, inspect channel details, retrieve history, and list channel members.
- Read thread replies and search workspace messages using modifiers such as `from:`, `in:`, `has:link`, `before:`, `after:`, and `during:`.
- Inspect users, profiles, reactions, starred items, and workspace file metadata.
- Send or schedule a message, then cancel it before delivery.

The implementation uses direct HTTP calls through `httpx` rather than a Slack SDK. Its security design covers input validation, token handling, client hardening, output sanitization, runtime protection, and supply-chain security.

## Limitations and notes

Slack file access is metadata-only; the server does not download file contents. Cookie credentials are live browser-session credentials and can expire as the session changes. Token mode depends on having a Slack app installed and approved in the workspace. Message sending and cancellation are the only write operations, and sending requires `chat:write` when using a user OAuth token.

_Full upstream README: https://allmcps.com/mcp/mcp-slack/readme_

