Slack MCP Server

Slack MCP Server

Enables searching and reading public Slack channels, and sending messages with two-step confirmation.

Category
Visit Server

README

Slack MCP Server

Search and read public-channel Slack discussions about Jira tickets and PRs, and send/reply to messages only after an explicit two-step confirmation.

What it can and can't do

  • Reads public channels only. DMs, private channels, and group DMs are refused by a server-side guard — even though the user token could see them.
  • Search uses Slack's search.messages, which requires a user token.
  • Sending is two-step: draft_message returns a preview + one-time token; nothing posts until you call send_message with that token.

Slack app setup

  1. Create an app at https://api.slack.com/apps.
  2. Under OAuth & Permissions → User Token Scopes, add: search:read, channels:history, channels:read, users:read, chat:write.
  3. Install the app to your workspace and copy the User OAuth Token (xoxp-...).

Configuration

export SLACK_USER_TOKEN="xoxp-..."          # required
export SLACK_DRAFT_TTL_SECONDS=300           # optional, default 300

Run

uv sync
uv run slack-mcp

MCP client config

{
  "mcpServers": {
    "slack": {
      "command": "uv",
      "args": ["run", "slack-mcp"],
      "cwd": "/absolute/path/to/slack-mcp",
      "env": { "SLACK_USER_TOKEN": "xoxp-..." }
    }
  }
}

Tools

  • search_messages(query, count=20) — find messages in public channels.
  • read_thread(channel, thread_ts) — full thread with resolved names.
  • read_channel_history(channel, limit=30, around_ts=None) — recent/context.
  • list_channels(name_filter=None) — public channels.
  • resolve_users(user_ids) — ids → display names.
  • draft_message(channel, text, thread_ts=None) — preview + token; does NOT send.
  • send_message(confirmation_token) — sends the drafted message (only write path).

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured