AS

avimbu/slack-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

24 stars 9 forks Качество 44 Тренд 0

Сервер протоколов для взаимодействия со Slack

Обзор

Это разъем, позволяющий Claude Desktop (или любому клиенту MCP) взаимодействовать с рабочим пространством Slack для отправки сообщений и запроса списка всех пользователей. Чтобы запустить этот клиент локально, добавьте следующую конфигурацию в файл конфигурации Claude Desktop MCP Server: После этого вы сможете протестировать эту реализацию в приложении Claude Desktop, используя такие подсказки, как: - "Можете ли вы перечислить всех пользователей моей команды Slack?" - "Можете ли вы отправить приветственное сообщение на мой канал Slack с идентификатором?" Уже реализованы следующие разрешения: Если у вас есть вопросы, не стесняйтесь связаться с нами через AVIMBU.

Обзор (машинный перевод)

Это разъем, позволяющий Claude Desktop (или любому клиенту MCP) взаимодействовать с рабочим пространством Slack для отправки сообщений и запроса списка всех пользователей.

Местное развитие

Чтобы запустить этот клиент локально, добавьте следующую конфигурацию в файл конфигурации Claude Desktop MCP Server:

После этого вы сможете протестировать эту реализацию в приложении Claude Desktop, используя такие подсказки, как:

  • “Вы можете перечислить всех пользователей моей команды Slack?” Можете ли вы отправить приветственное сообщение на мой канал Slack с идентификатором ?

Запуск сервера локально:

С постройкой в другом терминале

Слабые разрешения

Уже реализованы следующие разрешения:

| Разрешение | Описание | Реализовано |

| app configurations: read | Read app configuration info via App Manifest APIs | | | app configurations: write | Write app configuration info and create apps via App Manifest APIs | | | app mentions: read | Просмотр сообщений, которые непосредственно упоминают @your slack app в разговорах, в которых находится приложение | the | | Assistant:write | Разрешите вашему слабому приложению действовать в качестве помощника ИИ [править править код] [править править код]

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Slack Model Context Protocol Server

This is a connector to allow Claude Desktop (or any MCP client) to interact with your Slack workspace to post messages and query a list of all users.

Local Development

In order to run this client locally, add the following configuration to your Claude Desktop MCP Server config file:

 {
  "mcpServers": {
    "mcp-slack-local": {
      "command": "node",
      "args": ["/path/to/project/dist/index.js"], <---- replace this with your project path
      "env": {
        "SLACK_BOT_USER_OAUTH_TOKEN": "test-bot-token", 
        "SLACK_TEAM_ID": "test-team-id"
      }
    },
  }
}

After this, you should be able to test this implementation in your Claude Desktop App using example prompts like:

  • “Can you list all users of my Slack team?”
  • “Can you send a welcome message to my Slack Channel with the ID ``?”

Running the server locally:

node dist/index.js

With the build in another terminal

npm run watch

Slack Permission Scopes

The following permissions are already implemented:

Permission Description Implemented
app_configurations:read Read app configuration info via App Manifest APIs ❌
app_configurations:write Write app configuration info and create apps via App Manifest APIs ❌
app_mentions:read View messages that directly mention @your_slack_app in conversations that the app is in ❌
assistant:write Allow your slack app to act as an AI Assistant ❌
bookmarks:read List bookmarks ❌
bookmarks:write Create, edit, and remove bookmarks ❌
calls:read View information about ongoing and past calls ❌
calls:write Start and manage calls in a workspace ❌
canvases:read your slack app will be able to access contents of canvases created inside Slack. ❌
canvases:write your slack app will be able to create, edit and remove canvases. ❌
channels:history View messages and other content in public channels that your slack app has been added to ❌
channels:join Join public channels in a workspace ❌
channels:manage Manage public channels that your slack app has been added to and create new ones ❌
channels:read View basic information about public channels in a workspace ❌
channels:write.invites Invite members to public channels ❌
channels:write.topic Set the description of public channels ❌
chat:write Post messages in approved channels & conversations ✅
chat:write.customize Send messages as @your_slack_app with a customized username and avatar ❌
chat:write.public Send messages to channels @your_slack_app isn’t a member of ❌
commands Add shortcuts and/or slash commands that people can use ❌
conversations.connect:manage Allows your slack app to manage Slack Connect channels ❌
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →