KS

korotovsky/slack-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

1879 stars 388 forks 品質 70 トレンド 30MIT

権限不要、アプリサポート、GovSlack、DM、グループDM、スマート履歴取得ロジックを備えた最強のMCP Slackサーバー。

概要

Slack Workspaces向けのModel Context Protocol(MCP)サーバー。最も強力なMCPのSlackサーバーは、Stdio、SSE、HTTPトランスポート、プロキシ設定、DM、グループDM、Smart History fetch(日付またはカウントによる)をサポートし、OAuth経由で動作するか、Workspace 😏内の権限やスコープなしで完全なステルスモードで動作可能です。 皆さんのご支援が必要です!毎月3万人以上のエンジニアがこのリポジトリを訪れ、すでに9,000人以上が利用しています。このプロジェクトに寄稿した皆さんのご尽力に感謝していただける方は、ぜひスターをつけることをご検討ください。 この機能豊富なSlack MCPサーバーには以下があります:- : 追加の権限やボットインストールを必要とせずにサーバーを実行できる(ステルスモード)、またはブラウザからトークンをリフレッシュや抽出せずに安全なOAuthトークンを使用してアクセスできる(OAuthモード)。- : Enterprise Slackセットアップとの統合が可能です。- : チャネルやスレッドからメッセージを取得し、アクティビティメッセージを含む。また、チャネル名を使って取得できます(例:

概要(AI 翻訳)

Slack Workspaces向けのModel Context Protocol(MCP)サーバー。最も強力なMCPのSlackサーバーは、Stdio、SSE、HTTPトランスポート、プロキシ設定、DM、グループDM、Smart History fetch(日付またはカウントによる)をサポートし、OAuth経由で動作するか、Workspace 😏内の権限やスコープなしで完全なステルスモードで動作可能です。

[!重要] 皆さんのご支援が必要です!毎月3万人以上のエンジニアがこのリポジトリを訪れ、すでに9,000人以上が利用しています。

このプロジェクトに寄稿した皆様のご尽力に感謝していただける方は、ぜひこのリポジトリに星をつけることをご検討ください。

この機能豊富なSlack MCPサーバーには以下のような機能があります:

  • ステルスモードおよびOAuthモード:追加の権限やボットインストールを必要とせずにサーバーを稼働させる(ステルスモード)、またはブラウザからトークンをリフレッシュや抽出せずに安全なOAuthトークンでアクセスできる(OAuthモード)。
  • エンタープライズワークスペースサポート:エンタープライズSlackセットアップとの統合可能性。
  • チャネルおよびスレッドサポート(#Name]@Lookup]:チャネルやスレッドからメッセージを取得し、アクティビティメッセージを含む。チャネル名(例:#general)やIDを使って取得します。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Slack MCP Server

Model Context Protocol (MCP) server for Slack Workspaces. The most powerful MCP Slack server — supports Stdio, SSE and HTTP transports, proxy settings, DMs, Group DMs, Smart History fetch (by date or count), may work via OAuth or in complete stealth mode with no permissions and scopes in Workspace 😏.

[!IMPORTANT]
We need your support! Each month, over 30,000 engineers visit this repository, and more than 9,000 are already using it.

If you appreciate the work our contributors have put into this project, please consider giving the repository a star.

This feature-rich Slack MCP Server has:

  • Stealth and OAuth Modes: Run the server without requiring additional permissions or bot installations (stealth mode), or use secure OAuth tokens for access without needing to refresh or extract tokens from the browser (OAuth mode).
  • Enterprise Workspaces Support: Possibility to integrate with Enterprise Slack setups.
  • Channel and Thread Support with #Name @Lookup: Fetch messages from channels and threads, including activity messages, and retrieve channels using their names (e.g., #general) as well as their IDs.
  • Smart History: Fetch messages with pagination by date (d1, 7d, 1m) or message count.
  • Unread Messages: Get all unread messages across channels efficiently with priority sorting (DMs > partner channels > internal), @mention filtering, and mark-as-read support.
  • Search Messages: Search messages in channels, threads, and DMs using various filters like date, user, and content.
  • Safe Message Posting: The conversations_add_message tool is disabled by default for safety. Enable it via an environment variable, with optional channel restrictions.
  • DM and Group DM support: Retrieve direct messages and group direct messages.
  • Embedded user information: Embed user information in messages, for better context.
  • Cache support: Cache users and channels for faster access.
  • Stdio/SSE/HTTP Transports & Proxy Support: Use the server with any MCP client that supports Stdio, SSE or HTTP transports, and configure it to route outgoing requests through a proxy if needed.

Analytics Demo

Add Message Demo

Tools

1. conversations_history:

Get messages from the channel (or DM) by channel_id, the last row/column in the response is used as ‘cursor’ parameter for pagination if not empty

  • Parameters:
    • channel_id (string, required): - channel_id (string): ID of the channel in format Cxxxxxxxxxx or its name starting with #... or @... aka #general or @username_dm.
GitHub で README 全文を見る

インストール

npx @modelcontextprotocol/inspector go run mcp/mcp-server.go --transport stdio
MCP 初心者?mcpskill.org のガイドから始めましょう →