Skip to main content
Glama

Slack MCP Server

A Model Context Protocol (MCP) server for Slack workspace integration. This server allows AI assistants to interact directly with your Slack workspace, providing tools to manage channels, send messages, list users, and upload files.

Built with TypeScript and utilizing the official Slack Web API.


Available Modules & Tools

Channels

Manage workspace channels and memberships.

  • channels_create: Creates a new Slack channel (supports public and private).

  • channels_list: Lists channels in the workspace. Archived channels are excluded by default.

  • channels_invite: Invites one or more workspace members to a channel.

Messages

Send communications to channels or threads.

  • messages_send: Sends a message to a Slack channel. Optionally posts as a threaded reply by providing thread_ts.

Users

Retrieve workspace member information.

  • users_list: Lists members of the workspace.

Files

Share files from the local filesystem to Slack.

  • files_upload: Uploads a file from the server filesystem to a Slack channel. Optionally overrides the display filename and adds an initial comment.


Related MCP server: Slack MCP Server

Setup & Installation

  1. Clone the repository:

    git clone https://github.com/Themetralla3000/slack-mcp-server.git
    cd slack-mcp-server
  2. Install dependencies:

    npm install
  3. Create an environment file (.env):

    echo "SLACK_BOT_TOKEN=xoxb-your-bot-token" > .env
  4. Build the project:

    npm run build

Configuration

You must provide a valid Slack Bot Token (xoxb-...). To get one, you need to create a Slack App in your workspace and assign it the necessary OAuth scopes:

  • channels:manage, channels:read, channels:join (for Channels)

  • chat:write (for Messages)

  • users:read, users:read.email (for Users)

  • files:write (for Files)

Usage with Claude Desktop / Cursor

To use this MCP with Claude Desktop or Cursor, add the following configuration to your MCP config file (e.g., claude_desktop_config.json):

{
  "mcpServers": {
    "slack": {
      "command": "node",
      "args": ["/absolute/path/to/slack-mcp-server/dist/index.js"],
      "env": {
        "SLACK_BOT_TOKEN": "xoxb-your-bot-token"
      }
    }
  }
}

License

MIT License

Available Tools

6 tools
channels_createC

Creates a new Slack channel. Name must be lowercase with no spaces (a-z, 0-9, _ or -).

Inputs: name (required), is_private.

channels_inviteC

Invites one or more workspace members to a channel. Provide at least one user ID.

Inputs: user_ids (required), channel_id (required).

channels_listC

Lists channels in the workspace. Archived channels are excluded by default.

Inputs: limit, exclude_archived.

files_uploadB

Uploads a file from the server filesystem to a Slack channel. Optionally overrides the display filename and adds an initial comment.

Inputs: file_path (required), channel_id (required), filename, initial_comment.

messages_sendC

Sends a message to a Slack channel. Optionally posts as a threaded reply by providing thread_ts.

Inputs: text (required), channel_id (required), thread_ts.

users_listC

Lists members of the workspace.

Inputs: limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct resource-action pair: channel creation, listing, invitation, user listing, message sending, and file upload have no functional overlap. The channel-list vs. user-list distinction is clear from the object named in the tool.

    Naming Consistency5/5

    All six tools follow the same resource_action convention (channels_create, channels_list, channels_invite, users_list, messages_send, files_upload), with consistent plural resource prefixes and snake_case throughout. No deviations or mixed styles.

    Tool Count5/5

    Six tools is well within a healthy range, and each one covers a distinct operation an agent would realistically need (create/list/invite channels, list users, send messages, upload files). Nothing appears redundant or padded.

    Completeness3/5

    The surface is write-heavy: agents can send messages but cannot read channel history, replies, or threads, and channels support create/list/invite but no archive, rename, or delete. File upload exists without any file listing or retrieval, leaving several dead ends for common Slack workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server implementation that enables AI assistants to interact with Slack workspaces, allowing them to browse channels, send messages, reply to threads, add reactions, and retrieve user information.
      9
      20 npm
      2
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      A server implementing Model Context Protocol that enables AI assistants to interact with Slack API through a standardized interface, providing tools for messaging, channel management, user information retrieval, and more.
      11
      110
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that integrates with Slack API, allowing users to send messages, view channel history, manage channels, send direct messages, and retrieve user lists from Slack workspaces.
      1
      -