Sponsored by Deepsite.site

Slack Admin MCP Server

Created By
xiujiang19879 months ago
MCP server for Slack channel administration (create, rename, archive)
Content

Slack Admin MCP Server

這是一個自訂的 Model Context Protocol (MCP) 伺服器,用於執行 Slack 頻道的管理操作。

功能

提供以下工具:

  • slack_create_channel:建立新的 Slack 頻道 (公開或私密)。
  • slack_rename_channel:重新命名現有的 Slack 頻道。
  • slack_archive_channel:封存現有的 Slack 頻道。

設定

  1. 取得 Slack Bot Token

    • 前往 https://api.slack.com/apps 建立或選擇一個 Slack App。
    • 在 "OAuth & Permissions" > "Bot Token Scopes" 中,確保至少加入以下權限:
      • channels:manage (建立/封存/重新命名公開頻道)
      • groups:write (建立/封存/重新命名私密頻道)
      • channels:read (讀取頻道資訊)
      • groups:read (讀取私密頻道資訊)
    • 重新安裝 App 到您的工作區以使權限生效。
    • 複製產生的 "Bot User OAuth Token" (以 xoxb- 開頭)。
  2. 設定 MCP

    • 將此伺服器加入您的 MCP 設定檔 (例如 cline_mcp_settings.json)。
    • 確保 command, args, options.cwd, env.NODE_PATH 指向正確的路徑。
    • env 中設定 SLACK_BOT_TOKEN 為您取得的 Token。
    "slack-admin-mcp": {
      "command": "cmd", // 或 node 的完整路徑
      "args": [
        "/c",
        "node", // 如果 command 是 cmd
        "D:\\Github_Project\\slack-admin-mcp\\build\\index.js" // 確認路徑正確
      ],
      "options": {
        "cwd": "D:\\Github_Project\\slack-admin-mcp" // 確認路徑正確
      },
      "env": {
        "SLACK_BOT_TOKEN": "YOUR_SLACK_BOT_TOKEN_HERE", // 替換成您的 Token
        "NODE_PATH": "D:\\Github_Project\\slack-admin-mcp\\node_modules" // 確認路徑正確
      },
      "disabled": false,
      "autoApprove": []
    }
    

開發

  • 安裝依賴:npm install
  • 建置:npm run build
  • 監看變更並自動建置:npm run watch

使用

透過支援 MCP 的客戶端 (例如 Cline),使用 use_mcp_tool 指令呼叫以下工具:

  • slack_create_channel (參數: name, is_private (可選, 預設 false))
  • slack_rename_channel (參數: channel_id, new_name)
  • slack_archive_channel (參數: channel_id)
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
WindsurfThe new purpose-built IDE to harness magic
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Amap Maps高德地图官方 MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Serper MCP ServerA Serper MCP Server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
ChatWiseThe second fastest AI chatbot™
CursorThe AI Code Editor
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Tavily Mcp
DeepChatYour AI Partner on Desktop
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Playwright McpPlaywright MCP server