slack

Configure and operate Slack MCP for posting, reading, and reacting in Slack.

Updated May 7, 2026
One-click install
npx skills add https://github.com/johinsDev/loyalty-app --skill slack-johinsdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slack
Source: https://github.com/johinsDev/loyalty-app/tree/main/.claude/skills/slack
Command: npx skills add https://github.com/johinsDev/loyalty-app --skill slack-johinsdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the setup and operational friction of getting Claude Code Slack MCP working reliably so your team can post, react, and read Slack context without manual cut-and-paste.

Core Features & Use Cases

  • End-to-end Slack MCP setup: create a Slack app, choose the minimum bot scopes, install it, and capture the bot token and team ID.
  • Reliable channel posting workflow: ensure the bot is invited to target channels to prevent not_in_channel errors.
  • Practical troubleshooting: resolve missing_scope, invalid_auth, and MCP startup failures using the repo’s expected env wiring and conventions (stdio MCP + dotenv handshake).

Quick Start

Open Slack app creation in your workspace, add the required bot scopes, install the app, copy the xoxb bot token and your T ID into your local .env, invite the bot to #alerts-loyalty, then restart Claude Code so /mcp reports slack: connected.

Frequently Asked Questions about slack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Slack MCP not_in_channel errors when posting incident alerts?

Slack MCP not_in_channel errors occur when the bot is not invited to the target channel. Invite the bot to the target channel to resolve this and allow reliable posting, reading, and reacting.

What bot scopes does a Slack MCP server need for posting and reading messages?

Slack MCP requires minimum bot scopes configured during Slack app creation to authorize posting, reading, and reacting. Install the app and capture the xoxb bot token and team ID for dotenv injection.

Why does my Slack MCP connection fail with missing_scope on startup?

Missing_scope failures happen when the Slack app lacks the required bot scopes for the requested API actions. Apply the correct bot scopes during app creation and restart Claude Code to verify the connection.

How do I configure stdio Slack MCP server with dotenv in a monorepo?

Configure the stdio @modelcontextprotocol/server-slack server wrapper by injecting SLACK_BOT_TOKEN and SLACK_TEAM_ID via dotenv into your local environment, then restart Claude Code to verify the connection.

Do I need to invite the Slack bot to a channel before posting alerts?

Yes, you must invite the bot to the target channel before posting alerts. Without channel membership, the Slack API returns not_in_channel errors and blocks the MCP server from posting messages.

How do I rotate a Slack bot token for an existing MCP server setup?

Bot token rotation involves creating a new Slack app or reinstalling the existing one, copying the new xoxb bot token into your local .env file, and restarting Claude Code so /mcp reports slack: connected.