让 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
Install MCP Slack Server
Test Basic Operations
Build Analysis Workflows
Set Up Daily Digest

分步指南

  1. 1

    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.

  2. 2

    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.

  3. 3

    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.

  4. 4

    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.

  5. 5

    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.

标签

#mcp#slack#assistant#team-collaboration