/ Annuaire / Playground / slack-mcp-server
● Communauté korotovsky ⚡ Instantané

slack-mcp-server

par korotovsky · korotovsky/slack-mcp-server

The most powerful Slack MCP server — stealth mode, DMs, group DMs, unread messages, search, and Enterprise/GovSlack support.

slack-mcp-server is a Go-based MCP server providing 15 tools for Slack workspace interaction. Supports three auth modes: stealth (no permissions needed, uses xoxc/xoxd tokens), OAuth (xoxp), and bot (xoxb). Features include channel history with smart pagination, unread message fetching with @mention filtering, message search, DM/group DM support, reactions, user group management, and Enterprise/GovSlack compatibility.

Pourquoi l'utiliser

Fonctionnalités clés

Démo en direct

Aperçu en pratique

slack-mcp-server-2.replay ▶ prêt
0/0

Installer

Choisissez votre client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "slack-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/korotovsky/slack-mcp-server"
      ]
    }
  }
}

Ouvrez Claude Desktop → Settings → Developer → Edit Config. Redémarrez après avoir enregistré.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "slack-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/korotovsky/slack-mcp-server"
      ]
    }
  }
}

Cursor utilise le même schéma mcpServers que Claude Desktop. La config projet l'emporte sur la globale.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "slack-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/korotovsky/slack-mcp-server"
      ]
    }
  }
}

Cliquez sur l'icône MCP Servers dans la barre latérale Cline, puis "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "slack-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/korotovsky/slack-mcp-server"
      ]
    }
  }
}

Même format que Claude Desktop. Redémarrez Windsurf pour appliquer.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "slack-mcp-server-2",
      "command": "TODO",
      "args": [
        "See README: https://github.com/korotovsky/slack-mcp-server"
      ]
    }
  ]
}

Continue utilise un tableau d'objets serveur plutôt qu'une map.

~/.config/zed/settings.json
{
  "context_servers": {
    "slack-mcp-server-2": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/korotovsky/slack-mcp-server"
        ]
      }
    }
  }
}

Ajoutez dans context_servers. Zed recharge à chaud à la sauvegarde.

claude mcp add slack-mcp-server-2 -- TODO 'See README: https://github.com/korotovsky/slack-mcp-server'

Une seule ligne. Vérifiez avec claude mcp list. Supprimez avec claude mcp remove.

Cas d'usage

Usages concrets : slack-mcp-server

How to catch up on unread Slack messages with AI assistance

👤 Busy professionals drowning in Slack notifications ⏱ ~10 min beginner

Quand l'utiliser : Monday morning or after PTO — you have hundreds of unread messages across channels.

Prérequis
  • Slack token (xoxc/xoxd for stealth, xoxp for OAuth) — Extract from browser cookies or create via Slack app settings
Déroulement
  1. Get unread summary
    Show me all my unread Slack messages, prioritized by @mentions first, then channels with most activity.✓ Copié
    → Prioritized list of unread channels with message counts and highlights
  2. Read key threads
    Show me the full thread for the @mention in #engineering. Summarize what they need from me.✓ Copié
    → Thread content with action items extracted
  3. Mark as read
    Mark #random and #general as read — I'll skip those.✓ Copié
    → Channels marked as read

Résultat : Inbox zero on Slack in 10 minutes instead of 30.

Pièges
  • Stealth mode tokens expire periodically — Re-extract xoxc/xoxd tokens from your browser when they expire

Search Slack history for decisions and context

👤 Anyone who needs to find a specific conversation or decision from the past ⏱ ~5 min beginner

Quand l'utiliser : You need to find that one Slack message where a decision was made weeks ago.

Prérequis
  • Slack token configured — Set SLACK_TOKEN environment variable
Déroulement
  1. Search messages
    Search Slack for messages about 'API redesign' from the last month in engineering channels.✓ Copié
    → Matching messages with timestamps, authors, and context
  2. Get the full thread
    Show me the full thread where the final decision was made.✓ Copié
    → Complete thread with all replies

Résultat : Found the specific conversation with the context you needed.

Pièges
  • Search only works within channels you have access to — If a message was in a private channel, you need to be a member

Combinaisons

Associez-le à d'autres MCPs pour un effet X10

slack-mcp-server-2 + github

Cross-reference Slack discussions with GitHub PRs and issues

Search Slack for mentions of PR #142, then get the PR details from GitHub and summarize the full context.✓ Copié
slack-mcp-server-2 + filesystem

Export Slack conversations to files for documentation

Export the full #architecture-decisions channel history to ~/docs/architecture-decisions.md.✓ Copié

Outils

Ce que ce MCP expose

OutilEntréesQuand appelerCoût
conversations_history channel: str, limit?: int Fetch messages from a channel or DM 1 Slack API call
conversations_unreads none Get all unread messages across channels Multiple Slack API calls
conversations_search_messages query: str, filters? Search messages across workspace 1 Slack API call
conversations_replies channel: str, ts: str Get thread replies 1 Slack API call
channels_list none List workspace channels 1 Slack API call
users_search query: str Find users by name or email 1 Slack API call
conversations_mark channel: str, ts: str Mark a channel as read (disabled by default) 1 Slack API call

Coût et limites

Coût d'exécution

Quota d'API
Slack API rate limits: varies by method, typically 50+ req/min for most endpoints
Tokens par appel
300–2000 tokens per tool call
Monétaire
Free — Slack API is free. Enterprise features require Slack Enterprise Grid.
Astuce
Use conversations_unreads for efficient catch-up instead of reading every channel individually.

Sécurité

Permissions, secrets, portée

Stockage des identifiants : Slack tokens in SLACK_TOKEN environment variable. For stealth mode, extract xoxc + xoxd from browser.
Sortie de données : All calls to Slack API (api.slack.com). Supports proxy configuration.

Dépannage

Erreurs courantes et correctifs

401 Invalid auth

Your Slack token expired or is invalid. Re-extract browser tokens (stealth) or regenerate the OAuth/bot token.

Vérifier : curl -H 'Authorization: Bearer $SLACK_TOKEN' https://slack.com/api/auth.test
Channel not found

Use the channel name with # (e.g., #general) or the channel ID. Run channels_list to find the correct identifier.

Vérifier : channels_list
Rate limited

Slack has per-method rate limits. The server handles backoff automatically, but reduce concurrent requests.

Vérifier : Check server logs for retry messages

Alternatives

slack-mcp-server vs autres

AlternativeQuand l'utiliserCompromis
Discord MCPYour team uses Discord instead of SlackDifferent platform, similar coverage

Plus

Ressources

📖 Lire le README officiel sur GitHub

🐙 Voir les issues ouvertes

🔍 Parcourir les 400+ serveurs MCP et Skills