Slack Search MCP Server
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ワークスペース内のすべてのチャンネルを取得します
Related MCP server: MCP Slack Python
要件
Bunランタイム
適切な権限を持つSlack APIトークン
インストール
リポジトリをクローンする
依存関係をインストールします:
bun install
使用法
Slack API トークンを環境変数として設定します。
export SLACK_TOKEN=xoxb-your-token-hereサーバーを実行します。
bun run index.tsまたは、コンパイルされたバージョンを使用します。
./dist/slack_search_function_mcp
建物
実行可能ファイルをビルドするには:
bun run buildこれにより、 distディレクトリにコンパイルされた実行可能ファイルが作成されます。
MCP構成
このサーバーを MCP 対応 LLM で使用するには、MCP 構成に追加します。
{
"mcpServers": {
"slack": {
"command": "/path/to/dist/slack_search_function_mcp",
"env": {
"SLACK_TOKEN": "xoxb-your-token-here"
}
}
}
}ツールの例
ユーザーを獲得する
{
"name": "get_users",
"arguments": {
"limit": 10
}
}チャンネルを取得する
{
"name": "get_channels",
"arguments": {
"limit": 10,
"exclude_archived": true
}
}チャンネルメッセージを取得する
{
"name": "get_channel_messages",
"arguments": {
"channel": "C01234ABCDE",
"limit": 10
}
}スレッドの返信を取得
{
"name": "get_thread_replies",
"arguments": {
"channel": "C01234ABCDE",
"thread_ts": "1234567890.123456",
"limit": 10
}
}メッセージを検索
{
"name": "search_messages",
"arguments": {
"query": "important announcement",
"sort": "timestamp",
"sort_dir": "desc",
"count": 10
}
}リソースの例
すべてのユーザーを取得
allusers://すべてのチャンネルを取得
allchannels://エラー処理
サーバーには、次の包括的なエラー処理が含まれています。
Slack API トークンが無効または見つかりません
API レート制限
ネットワークエラー
無効なパラメータ
認証失敗
安全
Slack APIトークンはレスポンスに記録されたり公開されることはありません
トークンは環境変数を介して安全に渡されます
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to search and retrieve messages within a Slack workspace using the Slack Web API. It supports specific channel filtering and includes built-in rate limit handling for efficient message discovery.25MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables interaction with Slack workspaces through tools for managing channels, sending messages, and retrieving user profiles. It leverages the Slack API and FastMCP to provide functionalities like message history lookup and reaction management.1
- AlicenseBqualityDmaintenanceAn MCP server that enables searching for messages and listing channels within a Slack workspace. It provides tools to retrieve channel history and filter messages based on text matching and date ranges.325MIT
- FlicenseAqualityDmaintenanceAn MCP server for semantic search and retrieval of indexed Slack messages stored in Qdrant using Cohere reranking via AWS Bedrock. It enables users to search through Slack history, retrieve full message threads, and access channel or user statistics through natural language.5
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/takuya0206/slack_search_function_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server