/ ディレクトリ / プレイグラウンド / slack-mcp-server
● コミュニティ korotovsky ⚡ 即起動

slack-mcp-server

作者 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.

なぜ使うのか

主な機能

ライブデモ

実際の動作

slack-mcp-server-2.replay ▶ 準備完了
0/0

インストール

クライアントを選択

~/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"
      ]
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

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

Cursor は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

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

Cline サイドバーの MCP Servers アイコンをクリックし、"Edit Configuration" を選択。

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

Claude Desktop と同じ形式。Windsurf を再起動して反映。

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

Continue はマップではなくサーバーオブジェクトの配列を使用。

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

context_servers に追加。保存時に Zed がホットリロード。

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

ワンライナー。claude mcp list で確認、claude mcp remove で削除。

ユースケース

実用的な使い方: slack-mcp-server

How to catch up on unread Slack messages with AI assistance

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

使うタイミング: Monday morning or after PTO — you have hundreds of unread messages across channels.

前提条件
  • Slack token (xoxc/xoxd for stealth, xoxp for OAuth) — Extract from browser cookies or create via Slack app settings
フロー
  1. Get unread summary
    Show me all my unread Slack messages, prioritized by @mentions first, then channels with most activity.✓ コピーしました
    → 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.✓ コピーしました
    → Thread content with action items extracted
  3. Mark as read
    Mark #random and #general as read — I'll skip those.✓ コピーしました
    → Channels marked as read

結果: Inbox zero on Slack in 10 minutes instead of 30.

注意点
  • 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

使うタイミング: You need to find that one Slack message where a decision was made weeks ago.

前提条件
  • Slack token configured — Set SLACK_TOKEN environment variable
フロー
  1. Search messages
    Search Slack for messages about 'API redesign' from the last month in engineering channels.✓ コピーしました
    → Matching messages with timestamps, authors, and context
  2. Get the full thread
    Show me the full thread where the final decision was made.✓ コピーしました
    → Complete thread with all replies

結果: Found the specific conversation with the context you needed.

注意点
  • Search only works within channels you have access to — If a message was in a private channel, you need to be a member

組み合わせ

他のMCPと組み合わせて10倍の力を

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.✓ コピーしました
slack-mcp-server-2 + filesystem

Export Slack conversations to files for documentation

Export the full #architecture-decisions channel history to ~/docs/architecture-decisions.md.✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
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

コストと制限

運用コスト

APIクォータ
Slack API rate limits: varies by method, typically 50+ req/min for most endpoints
呼び出しあたりのトークン
300–2000 tokens per tool call
金額
Free — Slack API is free. Enterprise features require Slack Enterprise Grid.
ヒント
Use conversations_unreads for efficient catch-up instead of reading every channel individually.

セキュリティ

権限、シークレット、影響範囲

認証情報の保管: Slack tokens in SLACK_TOKEN environment variable. For stealth mode, extract xoxc + xoxd from browser.
データ送信先: All calls to Slack API (api.slack.com). Supports proxy configuration.

トラブルシューティング

よくあるエラーと対処法

401 Invalid auth

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

確認: 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.

確認: channels_list
Rate limited

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

確認: Check server logs for retry messages

代替案

slack-mcp-server 他との比較

代替案代わりに使う場面トレードオフ
Discord MCPYour team uses Discord instead of SlackDifferent platform, similar coverage

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る