Slack 検索 MCP サーバー
Slack の検索機能にアクセスするためのツールとリソースを提供するモデルコンテキストプロトコル (MCP) サーバー。このサーバーにより、LLM は Slack ワークスペースからユーザー、チャンネル、メッセージなどを検索・取得できます。
特徴
ツール
get_users- Slackワークスペース内のユーザーのリストを取得しますget_channels- Slackワークスペース内のチャンネルのリストを取得しますget_channel_messages- 特定のチャネルからメッセージを取得するget_thread_replies- スレッド内の返信を取得するsearch_messages- Slack 内のメッセージを検索する
リソース
allusers://- Slackワークスペース内のすべてのユーザーを取得しますallchannels://- Slackワークスペース内のすべてのチャンネルを取得します
要件
Bunランタイム
適切な権限を持つSlack APIトークン
インストール
リポジトリをクローンする
依存関係をインストールします:
bun install
使用法
Slack API トークンを環境変数として設定します。
export SLACK_TOKEN=xoxb-your-token-hereサーバーを実行します。
bun run index.tsまたは、コンパイルされたバージョンを使用します。
./dist/slack_search_function_mcp
建物
実行可能ファイルをビルドするには:
これにより、 distディレクトリにコンパイルされた実行可能ファイルが作成されます。
MCP構成
このサーバーを MCP 対応 LLM で使用するには、MCP 構成に追加します。
ツールの例
ユーザーを獲得する
チャンネルを取得する
チャンネルメッセージを取得する
スレッドの返信を取得
メッセージを検索
リソースの例
すべてのユーザーを取得
すべてのチャンネルを取得
エラー処理
サーバーには、次の包括的なエラー処理が含まれています。
Slack API トークンが無効または見つかりません
API レート制限
ネットワークエラー
無効なパラメータ
認証失敗
安全
Slack APIトークンはレスポンスに記録されたり公開されることはありません
トークンは環境変数を介して安全に渡されます
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
LLM が Slack の検索機能にアクセスして、Slack ワークスペースからユーザー、チャンネル、メッセージ、スレッドの返信を取得できるようにする MCP サーバー。
Related MCP Servers
- Asecurity-licenseAqualityMCP Server for the Slack API, enabling Claude to interact with Slack workspaces.Last updated -11,12071,513MIT License
- Asecurity-licenseAqualityAn MCP server that provides LLMs access to other LLMsLast updated -1667MIT License
- Asecurity-licenseAqualityThe most powerful MCP server for Slack Workspaces. This integration supports both Stdio and SSE transports, proxy settings and does not require any permissions or bots being created or approved by Workspace admins 😏.Last updated -2869MIT License
- -security-license-qualityA Model Context Protocol server that integrates with Slack API, allowing users to send messages, view channel history, manage channels, send direct messages, and retrieve user lists from Slack workspaces.Last updated -1