Skip to main content
Glama

Slack MCP server

MCP server for Slack workspace integration. Handles channel creation, user invites, message posting, and thread management.

Setup

1. Create a Slack app

  1. Go to api.slack.com/apps

  2. Click "Create New App" → "From scratch"

  3. Name it (e.g., "Claude MCP") and select your workspace

2. Add OAuth scopes

Under "OAuth & Permissions", add these Bot Token Scopes:

channels:manage        # create public channels
groups:write           # create private channels
channels:read          # list channels
groups:read            # read private channels
chat:write             # post messages
pins:write             # pin messages
users:read             # list users
users:read.email       # lookup users by email

3. Install to workspace

Click "Install to Workspace" and authorize the app.

4. Get bot token

Copy the "Bot User OAuth Token" (starts with xoxb-).

5. Configure environment

export SLACK_BOT_TOKEN="xoxb-your-token-here"

Or add to your Claude config:

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

6. Build and run

npm install
npm run build
npm start

Related MCP server: Slack MCP Server

Development

Running tests

npm test            # protocol + unit tests; no Slack calls; requires a built dist/

The default test suite spawns the compiled server process and speaks JSON-RPC over stdio. It uses FAKE-audit-not-a-token as the token — the server validates the token is present but does not call the Slack API until a tool is invoked, so the tests are network-free.

End-to-end tests

To run tests against a real Slack workspace:

export SLACK_E2E_TOKEN="xoxb-your-real-token"
export SLACK_E2E_CHANNEL="C123ABC"   # an existing channel the bot has access to
npm run test:e2e

npm run test:e2e is intentionally excluded from npm test so CI stays green without Slack credentials.

Tools

slack_create_channel

Create a new Slack channel.

{
  "name": "gtm-jeff",
  "is_private": true,
  "description": "GTM materials for Jeff launch"
}

slack_invite_to_channel

Invite users by email or user ID.

{
  "channel_id": "C123ABC",
  "users": ["harper@2389.ai", "dylan@2389.ai"]
}

slack_post_message

Post a message to a channel.

{
  "channel_id": "C123ABC",
  "text": "## Email

**Subject:** meet jeff..."
}

slack_post_thread

Reply to a message in a thread.

{
  "channel_id": "C123ABC",
  "thread_ts": "1234567890.123456",
  "text": "Updated the subject line"
}

slack_pin_message

Pin a message to a channel.

{
  "channel_id": "C123ABC",
  "message_ts": "1234567890.123456"
}

slack_list_users

List all users in the workspace.

{}

Usage with product launcher

After generating GTM materials, say "push to slack":

  1. Creates #gtm-[product] private channel

  2. Invites Harper and Dylan

  3. Posts each output (email, blog, tweets) as separate messages

  4. Pins the summary message

License

MIT

Installation

/plugin marketplace add 2389-research/claude-plugins
/plugin install slack-mcp@2389-research

If Slack MCP saved you from context-switching out of your terminal, a ⭐ helps us know it's landing.

Built by 2389 · Part of the Claude Code plugin marketplace

Available Tools

6 tools
slack_create_channelA

Create a new Slack channel (public or private)

Inputs: name (required), is_private, description.

slack_invite_to_channelB

Invite users to a Slack channel by email or user ID

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

slack_list_usersA

List all users in the Slack workspace for user ID lookup

Inputs: no named parameters.

slack_pin_messageB

Pin a message to a channel

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

slack_post_messageC

Post a message to a Slack channel. Supports markdown formatting.

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

slack_post_threadA

Reply to a message in a thread

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

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct action: creating channels, inviting users, listing users, pinning messages, posting messages, and replying in threads. No overlap in purpose.

    Naming Consistency5/5

    All tools follow a consistent 'slack_verb_noun' pattern in snake_case, making them predictable and easy to differentiate.

    Tool Count5/5

    With 6 tools, the set is concise and covers essential Slack operations without being overly large or sparse.

    Completeness2/5

    Missing critical operations like reading messages, listing channels, editing/deleting messages, and direct messaging, which limits the server's utility for typical Slack workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Slack workspaces through comprehensive integration capabilities. Supports channel management, messaging, thread replies, reactions, and message history retrieval through natural language commands.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables comprehensive Slack workspace integration through AI assistants, allowing users to manage channels, send messages, upload files, search conversations, and interact with users through natural language commands.
      17
      ISC
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to interact with Slack workspaces through comprehensive channel management, messaging, direct messages, search functionality, and user management capabilities.
      30
      5 npm
      3
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with Slack workspaces through natural language, supporting channel management, message operations, user profiles, reactions, and threaded conversations.
      -