Skip to main content
Glama

MCP Server for Slack

by z9905080

Slack 用 MCP サーバー

AI アシスタントを Slack ワークスペースに統合するためのモデル コンテキスト プロトコル (MCP) サーバー実装。

概要

このパッケージは、AIアシスタントがSlackワークスペースと連携できるようにするMCPサーバーを提供します。これにより、AIモデルは以下のことが可能になります。

  • チャンネルの一覧と閲覧
  • チャンネルにメッセージを送信する
  • スレッドに返信する
  • メッセージに反応を追加する
  • チャンネル履歴を取得する
  • スレッドの返信を取得する
  • ユーザーを一覧表示し、ユーザープロファイルを取得する

インストール

# Install from npm npm install shouting-mcp-slack # Or install globally npm install -g shouting-mcp-slack

パッケージはnpmで見つかります: shouting-mcp-slack

前提条件

Slack ボットを設定し、必要な資格情報を取得する必要があります。

  1. Slack APIコンソールでSlackアプリを作成する
  2. 次のボット トークン スコープを追加します。
    • channels:history
    • channels:read
    • chat:write
    • reactions:write
    • users:read
    • users:read.email
  3. ワークスペースにアプリをインストールする
  4. ボットユーザーのOAuthトークンをコピーする

構成

サーバーには次の環境変数が必要です。

  • SLACK_BOT_TOKEN : Slack BotユーザーのOAuthトークン
  • SLACK_TEAM_ID : Slack チーム ID

使用法

CLIツールとして実行

# Set environment variables export SLACK_BOT_TOKEN=xoxb-your-token export SLACK_TEAM_ID=your-team-id # Run the server mcp-server-slack

コード内での使用

import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { SlackClient } from "shouting-mcp-slack"; // Initialize the server and client const server = new Server({...}); const slackClient = new SlackClient(process.env.SLACK_BOT_TOKEN); // Register your custom handlers // ...

利用可能なツール

サーバーは次の Slack 統合ツールを提供します。

  • slack_list_channels : 利用可能なチャンネルを一覧表示する
  • slack_post_message : チャンネルにメッセージを送信する
  • slack_reply_to_thread : スレッドに返信する
  • slack_add_reaction : メッセージに反応を追加する
  • slack_get_channel_history : チャンネルからメッセージ履歴を取得する
  • slack_get_thread_replies : スレッド内の返信を取得する
  • slack_get_users : ワークスペース内のユーザーを一覧表示する
  • slack_get_user_profile : ユーザーのプロフィールを取得する

ライセンス

ISC

著者

shouting.hsiao@gmail.com

リポジトリ

https://github.com/z9905080/mcp-slack

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

AI アシスタントが Slack ワークスペースと対話し、チャンネルの閲覧、メッセージの送信、スレッドへの返信、反応の追加、ユーザー情報の取得を行えるようにするモデル コンテキスト プロトコル サーバーの実装。

  1. 概要
    1. インストール
      1. 前提条件
        1. 構成
          1. 使用法
            1. CLIツールとして実行
            2. コード内での使用
          2. 利用可能なツール
            1. ライセンス
              1. 著者
                1. リポジトリ

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables AI assistants to interact with Telegram, allowing them to search channels, list available channels, retrieve messages, and filter messages by regex patterns.
                    Last updated -
                    7
                    13
                    JavaScript
                    MIT License
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables AI assistants like Claude to interact with Zulip workspaces, supporting capabilities such as posting messages, listing channels, sending direct messages, and accessing conversation history.
                    Last updated -
                    JavaScript
                    Apache 2.0
                  • -
                    security
                    -
                    license
                    -
                    quality
                    A Model Context Protocol server implementation that enables AI assistants to interact with Linear project management systems, allowing them to create, retrieve, and modify data related to issues, projects, teams, and users.
                    Last updated -
                    20
                    2
                    TypeScript
                  • A
                    security
                    F
                    license
                    A
                    quality
                    A Model Context Protocol server that enables AI assistants to interact with Bluesky/ATProtocol, providing authentication, timeline access, post creation, and social features like likes and follows.
                    Last updated -
                    18
                    10
                    TypeScript
                    • Apple
                    • Linux

                  View all related MCP servers

                  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/z9905080/mcp-slack'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server