Slack
БесплатноНе проверенEnables Slack integration with tools to list channels, read messages, and post messages using a bot token.
Описание
Enables Slack integration with tools to list channels, read messages, and post messages using a bot token.
README
MCP server for Slack integration, built with FastMCP. Provides tools for listing channels, reading messages, and posting to Slack.
Install
pip install -e ".[dev]"
Environment Variables
| Variable | Required | Description |
|---|---|---|
SLACK_BOT_TOKEN |
Yes | Bot User OAuth Token (xoxb-...) |
SLACK_DEFAULT_CHANNEL |
No | Fallback channel for slack_post_message |
Copy .env.example to .env and fill in your values.
Tools
| Tool | Description |
|---|---|
slack_list_channels |
List all channels accessible by the bot |
slack_read_channel(channel, limit?) |
Read last N messages from a channel (default: 20, max: 100) |
slack_post_message(channel, text) |
Send a message to a channel |
The channel parameter accepts either a channel name (without #) or a Slack channel ID.
Slack App Setup
Go to api.slack.com/apps and create a new app
Under OAuth & Permissions, add the required Bot Token Scopes for the tools you want to use:
Tool Required Bot Scopes slack_list_channelschannels:read,groups:readslack_read_channelchannels:history,groups:historyslack_post_messagechat:writeNote: Private-channel access (
groups:*) and DM scopes are only needed if the bot operates outside public channels.Install the app to your workspace
Copy the Bot User OAuth Token (
xoxb-...) toSLACK_BOT_TOKENInvite the bot to channels it should access:
/invite @your-bot-name
Troubleshooting: missing_scope Error
If a tool fails with a missing_scope error, it means the bot doesn't have the necessary permissions to perform that action. Check the error message to see which scope is missing, cross-reference it with the table above, and add the missing scope in your Slack App's OAuth & Permissions page. (Remember to reinstall the app to your workspace after changing scopes!)
Usage
Standalone
mcp-slack
Claude Desktop config
{
"mcpServers": {
"slack": {
"command": "mcp-slack",
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-token"
}
}
}
}
Development
pip install -e ".[dev]"
ruff check src/ tests/
ruff format src/ tests/
pytest
License
MIT
Установка Slack
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/antonio-mello-ai/mcp-slackFAQ
Slack MCP бесплатный?
Да, Slack MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Slack?
Нет, Slack работает без API-ключей и переменных окружения.
Slack — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Slack в Claude Desktop, Claude Code или Cursor?
Открой Slack на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Gmail
Read, send and search emails from Claude
автор: GoogleSlack
Send, search and summarize Slack messages
автор: SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Compare Slack with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории communication
