Published: June 14, 2026
Category: Guides
The Slack MCP server connects your AI coding agent to your team's Slack workspace. Your agent can read channel messages, search conversations, post updates, and react to threads through the Model Context Protocol.
> Quick Answer: The Slack MCP server connects an AI agent to Slack to read and send messages, enabling the agent to gather context from team discussions for tasks like coding, summarizing channels, posting updates, and automating standup or deployment reports.
The most common use case isn't chatbots. It's context. Developers discuss decisions, share requirements, and provide feedback in Slack. When your AI agent can read those conversations, it has the context it needs to write better code.
Practical examples:
npm install -g @anthropic/mcp-slack
Configure in your Claude Code MCP settings:
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["@anthropic/mcp-slack"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token"
}
}
}
}
You'll need to create a Slack app in your workspace and generate a bot token with appropriate permissions (channels:read, chat:write, search:read at minimum).
"Read the last 50 messages in #product-feedback and list the top feature requests."
The agent reads the channel, identifies themes, and produces a structured summary. This is useful before sprint planning or when prioritizing work.
"Post to #deployments: 'Auth service v2.3 deployed to production. Changes: OAuth2.1 flow, session management refactor, rate limiting on /token endpoint.'"
Automate deployment announcements. The agent can generate release notes from your git history and post them to the right channel.
"Read my recent commits and draft a standup update for #daily-standup."
The agent compiles what you've done, formats it as a standup update, and posts it. Less time spent writing updates, more time coding.
"Search Slack for discussions about the payment flow redesign, then implement the approach the team agreed on."
This is where Slack MCP becomes powerful. The agent gathers context from team discussions, then uses that context to inform its coding decisions. Combined with the right skills, this creates an agent that understands not just the code but the reasoning behind it.
Set up your Slack bot token with minimal required permissions:
channels:read for reading public channelschannels:history for reading message historychat:write for posting messagessearch:read for searching conversationsusers:read for resolving usernamesA documentation skill paired with the Slack MCP server lets your agent gather requirements from Slack and generate technical documentation. A code review skill lets it summarize PR discussions happening in Slack threads.
Browse skills on Agensi that complement the Slack MCP server.