Back to Blog
How to Use Slack MCP with Claude Code
Send messages, search channels, read threads, and manage your Slack workspace from within Claude Code using the Slack MCP.
slackmessagingteam-collaborationnotificationsclaude-code
What is the Slack MCP?
The Slack MCP connects Claude Code to your Slack workspace via the Slack API. It enables Claude to read channels and threads, post messages, search message history, and manage workspace resources — turning Claude into an intelligent teammate that can communicate directly where your team lives.
Installation
mcpizy install slack
You will need to create a Slack app in your workspace and grant it the appropriate OAuth scopes (channels:read, chat:write, search:read, etc.). The MCP guides you through this flow during setup.
Key Capabilities
- Post messages — send formatted messages, code blocks, and file attachments to any channel or DM.
- Search message history — find past discussions, decisions, or bug reports across all channels.
- Read threads — fetch the full context of a conversation before responding.
- List channels and users — discover workspace structure programmatically.
- Send notifications — alert team members when a deployment completes or a test fails.
Example Usage
After a successful deployment, have Claude post a summary to #deployments:
// Claude will post:
// ✅ Deployed v2.4.1 to production
// - 3 bug fixes, 1 new feature
// - Zero downtime, all health checks passing
// Rollback command: kubectl rollout undo deployment/api
Tips and Best Practices
- Use Bot tokens rather than User tokens for automation to avoid personal rate limits.
- Scope your app narrowly — only request channels it actually needs to read or write.
- Combine with the GitHub MCP to automatically post PR summaries to relevant Slack channels.
- Use the search capability to mine past incident discussions before writing a post-mortem.
Found this useful? Share it.