Slack 集成
Slack连接 Slack 工作区,发送消息、管理频道、搜索历史记录。
安装命令
npx -y @modelcontextprotocol/server-slack 配置示例
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-你的token",
"SLACK_TEAM_ID": "T你的团队ID"
}
}
}
} 包含工具
list_channelspost_messagesearch_messagesget_channel_history
常见问题(FAQ)
Slack 集成 MCP 是做什么的?
Slack 集成 是一个 MCP 服务器,主要能力是:连接 Slack 工作区,发送消息、管理频道、搜索历史记录。
Slack 集成 如何安装到 Claude Code?
执行安装命令并加入 MCP 配置即可:npx -y @modelcontextprotocol/server-slack
Slack 集成 提供哪些工具?
当前包含工具:list_channels、post_message、search_messages、get_channel_history
Slack 集成 适合新手吗?
适合程度取决于你的使用场景。当前难度标记为 intermediate,建议先用只读或测试环境验证。