让 AI 搜索消息、总结频道、回答团队讨论相关的问题。
适用场景
Teams using Slack who want AI-powered search, summarization, and Q&A over their workspace conversations.
前提条件
Slack workspace admin access, Claude Desktop or API, MCP Slack server, Node.js 18+
工作流图
用 MCP 连接 Claude 到 Slack
分步指南
-
Create Slack App
Go to api.slack.com/apps and create a new app. Add bot token scopes: channels:read, channels:history, chat:write, search:read. Install the app to your workspace. Save the Bot User OAuth Token.
-
Install MCP Slack Server
Run: npx @modelcontextprotocol/server-slack. Set SLACK_BOT_TOKEN environment variable. Configure in Claude Desktop config file as a new MCP server.
-
Test Basic Operations
Ask Claude: List all channels in my workspace. Then: Search for messages about project deadline. Then: Summarize the last 50 messages in the general channel. Verify Claude can read and search Slack data.
-
Build Analysis Workflows
Ask Claude: What were the main decisions made in the engineering channel this week? or: Find all unresolved questions from the last 3 days and create a summary. Claude will search, read, and synthesize across channels.
-
Set Up Daily Digest
Use n8n or a cron job to trigger Claude each morning with: Summarize important updates from all channels since yesterday. Claude reads via MCP, generates a digest, and posts it to a summary channel or sends via email.