Slack Admin MCP Server

Slack Admin MCP Server

MCP server for Slack channel administration (create, rename, archive)

xiujiang1987

Developer Tools
Visit Server

README

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)

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
MCP Package Docs Server

MCP Package Docs Server

Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.

Featured
Local
TypeScript
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
@kazuph/mcp-taskmanager

@kazuph/mcp-taskmanager

Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.

Featured
Local
JavaScript
Linear MCP Server

Linear MCP Server

Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.

Featured
JavaScript
mermaid-mcp-server

mermaid-mcp-server

A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.

Featured
JavaScript
Jira-Context-MCP

Jira-Context-MCP

MCP server to provide Jira Tickets information to AI coding agents like Cursor

Featured
TypeScript
Linear MCP Server

Linear MCP Server

A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Featured
JavaScript
Sequential Thinking MCP Server

Sequential Thinking MCP Server

This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Featured
Python