Slack

v2026.1.14Communicationstable

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 incl

slack-mcp-servermcpai-integration
Share:
86,067
Stars
0
Downloads
0
Weekly
0/5

What is Slack?

Slack is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables interaction with slack workspaces through comprehensive channel management, messaging, user management, file uploads, and block kit formatting. features secure credential storage via macos key...

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 incl

This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables interaction with Slack workspaces through comprehens

Use Cases

Send and read messages in Slack channels.
Create channels, manage users, and upload files to your workspace.
Format and send rich messages using Slack's Block Kit.
LicenseMIT License
Languagetypescript
Versionv2026.1.14
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @modelcontextprotocol/server-filesystem

Manual Installation

npx -y @modelcontextprotocol/server-filesystem

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Slack

The Slack MCP Server connects AI assistants directly to your Slack workspace, enabling them to read channel history, post messages, reply to threads, add reactions, and look up user profiles. It uses a Slack Bot Token for authentication and exposes eight distinct tools covering the full range of day-to-day Slack interactions. Developers and teams use it to automate notifications, summarize conversations, and let AI agents participate in Slack workflows without leaving their AI client.

Prerequisites

  • Node.js 18 or later installed on your machine
  • A Slack workspace where you have permission to install apps
  • A Slack Bot Token (starts with xoxb-) from a Slack App with the required OAuth scopes
  • Your Slack Team ID (starts with T, found in workspace settings)
  • An MCP-compatible client such as Claude Desktop or Cursor
1

Create a Slack App and obtain a Bot Token

Go to api.slack.com/apps and create a new app. Under 'OAuth & Permissions', add the required bot scopes: channels:read, channels:history, chat:write, reactions:write, users:read, and users:read.email. Install the app to your workspace and copy the Bot User OAuth Token (xoxb-...).

2

Find your Slack Team ID

Your Team ID starts with 'T' and can be found in your Slack workspace URL (e.g. https://app.slack.com/client/T01234567/...) or under workspace Settings > About.

3

Install the Slack MCP Server package

The server is published on npm. You can run it directly with npx — no global install required.

npx -y @modelcontextprotocol/server-slack
4

Add the server to your MCP client configuration

Open your MCP client's config file (e.g. claude_desktop_config.json for Claude Desktop) and add the slack server entry with your credentials as environment variables.

{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-slack"],
      "env": {
        "SLACK_BOT_TOKEN": "xoxb-your-bot-token",
        "SLACK_TEAM_ID": "T01234567",
        "SLACK_CHANNEL_IDS": "C01234567,C76543210"
      }
    }
  }
}
5

Restart your MCP client and verify the connection

Restart Claude Desktop (or your chosen client). The Slack server should appear in the tools list. Test by asking your AI assistant to list your Slack channels.

Slack Examples

Client configuration

Full claude_desktop_config.json entry for the Slack MCP server, using real env var names.

{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-slack"],
      "env": {
        "SLACK_BOT_TOKEN": "xoxb-your-bot-token-here",
        "SLACK_TEAM_ID": "T01234567",
        "SLACK_CHANNEL_IDS": "C01234567"
      }
    }
  }
}

Prompts to try

Example prompts that work with the Slack MCP server's eight available tools.

- "List all available Slack channels in my workspace"
- "Post a message to #general saying 'Deployment complete!'"
- "Summarize the last 10 messages in #engineering"
- "Reply to the latest thread in #support with a status update"
- "Add a thumbs-up reaction to the most recent message in #announcements"
- "Look up the profile of user @jane.doe"

Troubleshooting Slack

Error: invalid_auth or token_revoked when the server starts

Verify your SLACK_BOT_TOKEN starts with 'xoxb-' and has not been revoked. Re-install the Slack App to your workspace and copy the freshly issued token.

Tools return 'channel_not_found' when posting messages

Make sure the bot has been invited to the target channel (/invite @your-bot-name) and that the SLACK_CHANNEL_IDS list includes the channel's ID (not its name).

SLACK_TEAM_ID is set but channel listing returns an empty array

Confirm the Team ID starts with 'T' and matches your workspace. If SLACK_CHANNEL_IDS is set, the server will only expose those channels — remove the variable to allow all accessible channels.

Frequently Asked Questions about Slack

What is Slack?

Slack is a Model Context Protocol (MCP) server that 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 incl It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Slack?

Install via npm with the command: npx -y @modelcontextprotocol/server-filesystem. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Slack?

Slack works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Slack free to use?

Yes, Slack is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Communication MCP Servers

Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "slack-mcp-server": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Slack?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides