Slack MCP Server Configuration & Usage Guide
Installationnpx
Risk LevelHigh Risk
API KeyRequired
Clients2 supported
Slack 工作区集成,支持读取频道、发送消息和搜索历史
Supported Clients
- Claude Desktop
- Cursor
Installation Command
npx -y @modelcontextprotocol/server-slackConfiguration Example
{
"mcpServers": {
"slack": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-slack"
],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-token",
"SLACK_TEAM_ID": "T0123456789"
}
}
}
}Environment variable required:SLACK_BOT_TOKEN, SLACK_TEAM_ID。Do not commit these values to public repositories.
Permission Scope & Security Notes
可读取和发送 Slack 消息,Required Bot Token,建议限制频道权限
- network-access
- credential-required
- message-send
Risk Score:6/10
Common Errors
- invalid_auth
- 检查 Bot Token 是否正确
- channel_not_found
- 确认 Bot 已被邀请到目标频道
Sources
Recently Verified:2026-05-18。Client versions and configuration formats may change. Please refer to official documentation before use.