# Slack Explorer MCP [Health: Active]

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

## Description
MCP server specialized in retrieving information from Slack messages and threads

## Tools
Capabilities this server exposes over MCP:

- **query** — Basic search query. Use dedicated fields for inclusion modifiers (bare modifiers in this field are rejected). Exclusion modifiers prefixed with `-` (e.g., `-in:#channel`) ARE allowed here
- **in_channel** — Filter by channel name (e.g., "general", "team-dev")
- **from_user** — Search messages from specific user (User ID)
- **with** — Search DMs/threads with specific users (array of User IDs)
- **during** — Period specification (e.g., "July", "2023")
- **has** — Messages containing specific features (emoji, "pin", "file", "link", "reaction")
- **hasmy** — Messages where you reacted with specific emoji
- **sort** — Sort method ("score" or "timestamp")
- **count** — Number of results per page (1-100, default: 20)
- **page** — Page number (1-100, default: 1)
- **channel_id** — Channel ID (required)
- **thread_ts** — Parent message timestamp (required)
- **limit** — Number of replies to retrieve (1-1000, default: 100)
- **cursor** — Pagination cursor
- **user_ids** — Array of user IDs (required, max 100)
- **display_name** — Display name to search for (required)
- **exact** — Enable exact match search
- **types** — Filter by file types (e.g., ["canvases", "pdfs"]). Available types: lists, canvases, documents, emails, images, pdfs, presentations, snippets, spreadsheets, audio, videos
- **with_users** — Search files in DMs/threads with specific users (array of User IDs)
- **canvas_ids** — Array of canvas IDs (required, max 20)

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "slack-explorer-mcp": {
    "url": "https://api.slack.com/apps"
  }
}
```

## Documentation

## What Slack Explorer MCP MCP server does

Slack Explorer MCP MCP server gives an MCP-compatible agent read access to Slack content available to the authenticated user. It focuses on retrieval rather than workspace changes: agents can search messages, inspect thread replies, find users, search files, and retrieve the HTML content of Slack canvases.

Message search supports channel, author, participant, date, reaction, attachment, and sorting filters. File search can narrow results by file type, channel, author, conversation participants, and date. The available file categories include canvases, documents, emails, images, PDFs, presentations, snippets, spreadsheets, audio, and videos.

## How it works

The server authenticates with a Slack User OAuth token beginning with `xoxp-`. Results are limited to information the token's user can view. MCP clients send tool calls, and the server translates those calls into Slack searches or retrieval requests.

The default transport is stdio, which fits local MCP client configurations. An HTTP mode is also available by setting `TRANSPORT=http`; in that mode, the Slack token is supplied with the `X-Slack-User-Token` request header. HTTP host and port can be customized with `HTTP_HOST` and `HTTP_PORT`.

Pagination is available for message searches, thread replies, and file searches. Message and file result pages accept counts from 1 to 100, while thread retrieval accepts 1 to 1,000 replies per request. User profile lookup accepts up to 100 user IDs, and canvas retrieval accepts up to 20 canvas IDs.

## Setup and configuration

Create a Slack app, configure the required User Token Scopes, install it in the target workspace, and copy the resulting User OAuth token. The documented scopes are `channels:history`, `groups:history`, `im:history`, `mpim:history`, `search:read`, `users.profile:read`, `users:read`, and `files:read`.

For a container-based stdio setup, configure an MCP server command that runs the published `ghcr.io/shibayu36/slack-explorer-mcp:latest` image and passes `SLACK_USER_TOKEN`. Claude Code can add the same Docker command through `claude mcp add`. Multiple users in one workspace can use separate tokens; the README instructs adding collaborators and having each user reinstall the app to obtain an individual token.

## Tools and capabilities

Slack Explorer MCP MCP server exposes these retrieval tools:

- `search_messages` searches messages with query, channel, user, conversation, date, feature, sort, and pagination filters.
- `get_thread_replies` retrieves replies for a channel and parent message timestamp, with cursor pagination.
- `get_user_profiles` returns profile details for batches of user IDs.
- `search_users_by_name` supports exact or partial display-name matching with case sensitivity.
- `search_files` searches Slack files and filters by type, location, user, date, and page.
- `get_canvas_content` returns HTML for up to 20 specified canvas IDs.

Dedicated fields should be used for inclusion modifiers in message and file searches. Exclusion modifiers prefixed with `-`, such as `-in:#channel` or `-type:pdfs`, are supported in the basic query field.

## Limitations and notes

The server requires a Slack User OAuth token and the corresponding scopes. It can only retrieve content visible to that authenticated user. Search inputs have documented bounds, including page numbers from 1 to 100, result counts from 1 to 100, a maximum of 100 user IDs per profile request, and a maximum of 20 canvas IDs per canvas request.

In HTTP mode, clients must provide the token through the `X-Slack-User-Token` header rather than the stdio environment-variable configuration.

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

