Skip to main content
Glama
Slack Notifications MCP Server

Slack Notifications MCP Server

by Stig-Johnny

Slack Notifications MCP Server

MCP server that allows Claude to check Xcode Cloud build status and interact with Slack channels.

Features

  • check_build_status - Get latest Xcode Cloud build notifications

  • get_channel_messages - Read recent messages from any channel

  • search_messages - Search for specific build info (requires search:read scope)

  • send_message - Post messages to Slack

  • list_channels - List available channels

Related MCP server: Slack MCP Server

Setup

1. Create Slack App

  1. Go to https://api.slack.com/apps

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

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

2. Configure Bot Token Scopes

Go to OAuth & Permissions → Scopes → Bot Token Scopes and add:

  • channels:history - Read messages in public channels

  • channels:read - List channels

  • groups:history - Read messages in private channels (if needed)

  • groups:read - List private channels (if needed)

  • chat:write - Send messages

  • search:read - Search messages (optional)

3. Install App to Workspace

  1. Go to Install App in sidebar

  2. Click "Install to Workspace"

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

4. Get Channel ID

  1. Open Slack in browser

  2. Go to your build notifications channel

  3. The URL will be like: https://app.slack.com/client/TXXXXX/CXXXXXXX

  4. The C... part is your channel ID

5. Invite Bot to Channel

In Slack, go to the channel and type:

/invite @Claude MCP

(or whatever you named your app)

6. Configure Claude Code

Add to ~/.mcp.json (create if it doesn't exist):

{
  "mcpServers": {
    "slack-notifications": {
      "command": "node",
      "args": ["/Users/post/.claude/mcp-servers/slack-notifications/index.js"],
      "env": {
        "SLACK_BOT_TOKEN": "xoxb-your-bot-token-here",
        "SLACK_BUILD_CHANNEL_ID": "C01234567890"
      }
    }
  }
}

7. Restart Claude Code

# Exit and restart Claude Code for MCP changes to take effect

Environment Variables

Variable

Required

Description

SLACK_BOT_TOKEN

Yes

Bot User OAuth Token from OAuth & Permissions (starts with xoxb-)

SLACK_BUILD_CHANNEL_ID

Yes

Channel ID for build notifications (starts with C)

Both variables must be set — the server will fail to start if either is missing.

Usage

Once configured, Claude can use these tools:

# Check latest builds
mcp__slack-notifications__check_build_status()

# Get channel messages
mcp__slack-notifications__get_channel_messages(channel_id: "C...", limit: 10)

# Search for failed builds
mcp__slack-notifications__search_messages(query: "build failed")

# Send a message
mcp__slack-notifications__send_message(text: "Build complete!")

Xcode Cloud Setup

To send build notifications to Slack:

  1. Go to App Store Connect → Xcode Cloud

  2. Select your workflow → Post-Actions

  3. Add Slack notification

  4. Configure to post to your build channel

Troubleshooting

"missing_scope" error

Add the required scope in your Slack App settings under OAuth & Permissions.

"channel_not_found" error

Make sure the bot is invited to the channel (/invite @BotName).

No messages returned

Check that SLACK_BUILD_CHANNEL_ID is correct and the bot has access.

Available Tools

5 tools
check_build_statusA

Get the latest Xcode Cloud build status from Slack notifications. Returns recent build messages including status, workflow name, duration, and timestamp.

Inputs: limit, workflow.

get_channel_messagesB

Read recent messages from a specific Slack channel

Inputs: channel_id, limit.

list_channelsB

List available Slack channels the bot has access to

Inputs: limit.

search_messagesB

Search for messages in Slack containing specific text

Inputs: query (required), limit.

send_messageB

Send a message to a Slack channel

Inputs: text (required), channel_id.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool serves a distinct purpose: build status retrieval, channel message reading, channel listing, text search, and message sending. No overlapping functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case (check_build_status, get_channel_messages, list_channels, search_messages, send_message).

    Tool Count4/5

    Five tools is a reasonable scope for a Slack-focused server. It covers core actions without being overly minimal or bloated.

    Completeness4/5

    The set covers essential Slack operations (list, read, search, send) plus build status. Missing features like thread replies or file uploads are minor gaps for a notification server.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables interaction with Slack workspaces as a user, supporting channel listing, message posting, threading, reactions, and user management via the Slack API.
      8
      11
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables interaction with Slack workspaces through comprehensive channel management, messaging, user management, file uploads, and Block Kit formatting. Features secure credential storage via macOS Keychain and supports all major Slack operations including reactions and workspace information.
      26
      3
      MIT
    • 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
      B
      quality
      D
      maintenance
      Enables interaction with Slack workspaces to manage channels, post messages, add reactions, view message history and threads, and retrieve user profiles through the Model Context Protocol.
      8
      16 npm
      ISC