Logo Slack Model Context Protocol Server

Slack Model Context Protocol Server

Tổ chức
AVIMBU

A Model Context Protocol Server for Interacting with Slack

Nhà phát hànhAVIMBU
Kho mãslack-mcp-server
Ngôn ngữTypeScript
Bản fork
9
Sao
25
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Slack Model Context Protocol Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    25 sao và 9 bản fork từ kho mã được liên kết.

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 <channel 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:

PermissionDescriptionImplemented
app_configurations:readRead app configuration info via App Manifest APIs❌
app_configurations:writeWrite app configuration info and create apps via App Manifest APIs❌
app_mentions:readView messages that directly mention @your_slack_app in conversations that the app is in❌
assistant:writeAllow your slack app to act as an AI Assistant❌
bookmarks:readList bookmarks❌
bookmarks:writeCreate, edit, and remove bookmarks❌
calls:readView information about ongoing and past calls❌
calls:writeStart and manage calls in a workspace❌
canvases:readyour slack app will be able to access contents of canvases created inside Slack.❌
canvases:writeyour slack app will be able to create, edit and remove canvases.❌
channels:historyView messages and other content in public channels that your slack app has been added to❌
channels:joinJoin public channels in a workspace❌
channels:manageManage public channels that your slack app has been added to and create new ones❌
channels:readView basic information about public channels in a workspace❌
channels:write.invitesInvite members to public channels❌
channels:write.topicSet the description of public channels❌
chat:writePost messages in approved channels & conversations✅
chat:write.customizeSend messages as @your_slack_app with a customized username and avatar❌
chat:write.publicSend messages to channels @your_slack_app isn't a member of❌
commandsAdd shortcuts and/or slash commands that people can use❌
conversations.connect:manageAllows your slack app to manage Slack Connect channels❌
conversations.connect:readReceive Slack Connect invite events sent to the channels your slack app is in❌
conversations.connect:writeCreate Slack Connect invitations for channels that your slack app has been added to, and accept invitations sent to your slack app❌
datastore:readView and see data from Slack App Datastore❌
datastore:writeWrite data to Slack App Datastore❌
dnd:readView Do Not Disturb settings for people in a workspace❌
emoji:readView custom emoji in a workspace❌
files:readView files shared in channels and conversations that your slack app has been added to❌
files:writeUpload, edit, and delete files as your slack app❌
groups:historyView messages and other content in private channels that your slack app has been added to❌
groups:readView basic information about private channels that your slack app has been added to❌
groups:writeManage private channels that your slack app has been added to and create new ones❌
groups:write.invitesInvite members to private channels❌
groups:write.topicSet the description of private channels❌
im:historyView messages and other content in direct messages that your slack app has been added to❌
im:readView basic information about direct messages that your slack app has been added to❌
im:writeStart direct messages with people❌
im:write.topicSet the description in direct messages❌
incoming-webhookCreate one-way webhooks to post messages to a specific channel❌
links.embed:writeEmbed video player URLs in messages and app surfaces❌
links:readView URLs in messages❌
links:writeShow previews of URLs in messages❌
metadata.message:readAllows your slack app to read message metadata in channels that your slack app has been added to❌
mpim:historyView messages and other content in group direct messages that your slack app has been added to❌
mpim:readView basic information about group direct messages that your slack app has been added to❌
mpim:writeStart group direct messages with people❌
mpim:write.topicSet the description in group direct messages❌
noneExecute methods without needing a scope❌
pins:readView pinned content in channels and conversations that your slack app has been added to❌
pins:writeAdd and remove pinned messages and files❌
reactions:readView emoji reactions and their associated content in channels and conversations that your slack app has been added to❌
reactions:writeAdd and edit emoji reactions❌
reminders:readView reminders created by your slack app❌
reminders:writeAdd, remove, or mark reminders as complete❌
remote_files:readView remote files added by the app in a workspace❌
remote_files:shareShare remote files on a user's behalf❌
remote_files:writeAdd, edit, and delete remote files on a user's behalf❌
search:read.filesSearch a workspace's content in files❌
search:read.imSearch a workspace's content in direct messages❌
search:read.mpimSearch a workspace's content in group direct messages❌
search:read.privateSearch a workspace's content in private channels❌
search:read.publicSearch a workspace's content in public channels❌
team.billing:readAllows your slack app to read the billing plan for workspaces your slack app has been installed to❌
team.preferences:readAllows your slack app to read the preferences for workspaces your slack app has been installed to❌
team:readView the name, email domain, and icon for workspaces your slack app is connected to❌
tokens.basicExecute methods without needing a scope❌
triggers:readRead new Platform triggers❌
triggers:writeCreate new Platform triggers❌
usergroups:readView user groups in a workspace❌
usergroups:writeCreate and manage user groups❌
users.profile:readView profile details about people in a workspace❌
users:readView people in a workspace✅
users:read.emailView email addresses of people in a workspace❌
users:writeSet presence for your slack app❌
workflow.steps:executeAdd steps that people can use in Workflow Builder❌
workflows.templates:readRead a workflow template❌
workflows.templates:writeWrite a workflow template❌

Contact

If you have questions, feel free to contact us via AVIMBU.

Cài đặt

TypingMind
{
  "mcpServers": {
    "avimbu-slack-mcp-server": {
      "command": "node",
      "args": [
        "dist/index.js"
      ],
      "env": {
        "SLACK_BOT_USER_OAUTH_TOKEN": "<SLACK_BOT_USER_OAUTH_TOKEN>",
        "SLACK_TEAM_ID": "<SLACK_TEAM_ID>"
      }
    }
  }
}

Dùng MCP Slack Model Context Protocol Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Slack Model Context Protocol Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Slack Model Context Protocol Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Slack Model Context Protocol Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "avimbu-slack-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "slack-model-context-protocol-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Slack Model Context Protocol Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Slack Model Context Protocol Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Slack Model Context Protocol Server giúp tôi làm việc này không?
Slack Model Context Protocol Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Slack Model Context Protocol Server.

Câu hỏi thường gặp

Máy chủ MCP Slack Model Context Protocol Server dùng để làm gì?

Slack Model Context Protocol Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Slack Model Context Protocol Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Slack Model Context Protocol Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Slack Model Context Protocol Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Slack Model Context Protocol Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Slack Model Context Protocol Server với TypingMind?

Slack Model Context Protocol Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Slack Model Context Protocol Server cung cấp những công cụ nào trong TypingMind?

Slack Model Context Protocol Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Slack Model Context Protocol Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Slack Model Context Protocol Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇