
ubie-oss/slack-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ubie-oss/slack-mcp-server は、https://github.com/ubie-oss/slack-mcp-server. からインポートされたMCPサーバー候補です。
概要
ubie-oss/slack-mcp-server は、https://github.com/ubie-oss/slack-mcp-server. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
Slack APIにアクセスするためのMCP(モデルコンテキストプロトコル)サーバーです。このサーバーは、AIアシスタントが標準化されたインターフェースを通じてSlack APIとやり取りできるようにします。
輸送支援
このサーバーは従来型および現代的なMCPトランスポート方式の両方をサポートしています:
- Stdio Transport(デフォルト):ローカル統合のためのプロセスベースの通信
- Streamable HTTP Transport:ウェブアプリケーションおよびリモートクライアント向けのHTTPベースの通信
特徴
利用可能なツール:
slack_list_channels- ワークスペース内の公開チャネルをページ付きで一覧化しますslack_post_message- Slackチャンネルに新しいメッセージを投稿するslack_reply_to_thread- Slackの特定のメッセージスレッドに返信するslack_add_reaction- メッセージにリアクション絵文字を追加slack_get_channel_history- チャンネルからの最近のメッセージを取得slack_get_thread_replies- すべての返信をメッセージスレッドで取得するslack_get_users- ワークスペース内のすべてのユーザーの基本プロファイル情報を取得するslack_get_user_profiles- 複数のユーザーのプロファイル情報を一括取得(バッチ操作に効率的)slack_search_messages- 強力なフィルターでワークスペース内のメッセージを検索:- 基本的なクエリ検索
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
slack-mcp-server
A MCP(Model Context Protocol) server for accessing Slack API. This server allows AI assistants to interact with the Slack API through a standardized interface.
Transport Support
This server supports both traditional and modern MCP transport methods:
- Stdio Transport (default): Process-based communication for local integration
- Streamable HTTP Transport: HTTP-based communication for web applications and remote clients
Features
Available tools:
slack_list_channels- List public channels in the workspace with paginationslack_post_message- Post a new message to a Slack channelslack_reply_to_thread- Reply to a specific message thread in Slackslack_add_reaction- Add a reaction emoji to a messageslack_get_channel_history- Get recent messages from a channelslack_get_thread_replies- Get all replies in a message threadslack_get_users- Retrieve basic profile information of all users in the workspaceslack_get_user_profiles- Get multiple users’ profile information in bulk (efficient for batch operations)slack_search_messages- Search for messages in the workspace with powerful filters:- Basic query search
- Location filters:
in_channel - User filters:
from_user,with - Date filters:
before(YYYY-MM-DD),after(YYYY-MM-DD),on(YYYY-MM-DD),during(e.g., “July”, “2023”) - Content filters:
has(emoji reactions),is(saved/thread) - Sorting options by relevance score or timestamp
Quick Start
Installation
npm install @ubie-oss/slack-mcp-server
NOTE: Its now hosted in GitHub Registry so you need your PAT.
Configuration
You need to set the following environment variables:
SLACK_BOT_TOKEN: Slack Bot User OAuth TokenSLACK_USER_TOKEN: Slack User OAuth Token (required for some features like message search)SLACK_SAFE_SEARCH(optional): When set totrue, automatically excludes private channels, DMs, and group DMs from search results. This is enforced server-side and cannot be overridden by clients.
You can also create a .env file to set these environment variables:
SLACK_BOT_TOKEN=xoxb-your-bot-token
SLACK_USER_TOKEN=xoxp-your-user-token
SLACK_SAFE_SEARCH=true # Optional: Enable safe search mode
Usage
Start the MCP server
Stdio Transport (default):
npx @ubie-oss/slack-mcp-server
Streamable HTTP Transport:
npx @ubie-oss/slack-mcp-server -port 3000
You can also run the installed module with node:
# Stdio transport
node node_modules/.bin/slack-mcp-server
# HTTP transport
node node_modules/.bin/slack-mcp-server -port 3000
Command Line Options:
-port: Start with Streamable HTTP transport on specified port-h, --help: Show help message
Client Configuration
For Stdio Transport (Claude Desktop, etc.):
{
"slack": {
"command": "npx",
インストール
npx -y @ubie-oss/slack-mcp-server