# Slack MCP — Team Messaging Server for AI Agents > MCP server that connects AI agents to Slack workspaces. Send messages, read channels, search history, manage threads, and automate team communication via natural language. 1,500+ stars. ## Install Merge the JSON below into your `.mcp.json`: ## Quick Use Add to your `.mcp.json`: ```json { "mcpServers": { "slack": { "command": "npx", "args": ["-y", "@anthropic/mcp-slack"], "env": { "SLACK_BOT_TOKEN": "xoxb-your-bot-token", "SLACK_TEAM_ID": "T01234567" } } } } ``` Create a Slack app at [api.slack.com/apps](https://api.slack.com/apps) with `chat:write`, `channels:read`, `channels:history` scopes. Restart Claude Code. --- ## Intro Slack MCP is a Model Context Protocol server that connects AI agents like Claude Code to your Slack workspace with 1,500+ GitHub stars. Send messages, read channel history, search conversations, manage threads, and automate team communication — all through natural language. Your AI agent becomes a Slack-aware assistant that can post updates, query discussions, and coordinate with your team. Best for developers who want AI-automated Slack workflows. Works with: Claude Code, Cursor, any MCP client. Setup time: under 5 minutes. --- ## Available Tools ### `slack_send_message` ``` "Post to #engineering: 'Deploy to staging complete, ready for QA'" "Send a DM to @alice: 'PR #234 is ready for your review'" ``` ### `slack_read_channel` ``` "Show the last 20 messages from #incidents" "What was discussed in #product-planning today?" ``` ### `slack_search` ``` "Search Slack for discussions about rate limiting" "Find messages from @bob about the database migration" ``` ### `slack_reply_thread` ``` "Reply to the deployment thread: 'All tests passing on staging'" ``` ### `slack_list_channels` ``` "Show all public channels and their topics" ``` ## Use Cases ### Deploy Notifications ``` "Post to #releases: 'v2.4.1 deployed — changelog: fixed auth bug, added rate limiting'" → Agent formats and posts the release notification ``` ### Incident Context ``` "Search #incidents for the database outage last Tuesday and summarize what happened" → Agent searches, reads threads, and provides a summary ``` ### Standup Automation ``` "Read my recent git commits and post a standup update to #daily-standup" → Agent reads git log, formats standup, posts to Slack ``` ### Key Stats - 1,500+ GitHub stars - Send, read, search, thread management - Channel and DM support - Full message history access - Bot token scoping for security ### FAQ **Q: What is Slack MCP?** A: An MCP server that gives AI agents full access to Slack — sending messages, reading channels, searching history, and managing threads via natural language. **Q: Is it safe?** A: Use a bot token with minimal scopes. The agent can only access channels the bot is invited to. **Q: Is Slack MCP free?** A: The MCP server is open-source. Slack is free for small teams. --- ## Source & Thanks > Built on [Slack API](https://api.slack.com/). Licensed under MIT. > > [mcp-slack](https://github.com/anthropics/mcp-slack) — ⭐ 1,500+ Thanks for making team communication AI-accessible. --- ## 快速使用 将以下配置添加到 `.mcp.json`: ```json { "mcpServers": { "slack": { "command": "npx", "args": ["-y", "@anthropic/mcp-slack"], "env": { "SLACK_BOT_TOKEN": "xoxb-你的令牌" } } } } ``` --- ## 简介 Slack MCP 是一个将 AI Agent 连接到 Slack 工作区的 MCP 服务器,GitHub 1,500+ stars。发送消息、读取频道、搜索历史和管理话题线程。适合需要 AI 自动化 Slack 工作流的开发者。 --- ## 来源与感谢 > Built on [Slack API](https://api.slack.com/). Licensed under MIT. > > [mcp-slack](https://github.com/anthropics/mcp-slack) — ⭐ 1,500+ --- Source: https://tokrepo.com/en/workflows/d5a6ae87-bad8-48af-9ac6-e185dfdec309 Author: MCP Hub