Slack MCP Server: Build an AI Assistant for Your Workspace
by Sandlabs Team, Founder, Sandlabs
Your team's knowledge is scattered across hundreds of Slack channels. Product decisions buried in threads. Technical context split between #engineering and #incidents. Customer feedback lost in #support after a few days of scrolling.
You already know this. What you might not know is that you can give Claude direct access to all of it — reading messages, searching conversations, posting updates, and summarising channels — through a Slack MCP server.
No browser tabs. No copy-pasting message links. Just tell Claude what you need and it works with your Slack workspace in real time.
What Is a Slack MCP Server?
A Slack MCP server is a Model Context Protocol connector that gives AI assistants like Claude structured, authenticated access to the Slack API. It translates natural language requests into Slack API calls — searching messages, reading channel history, posting replies, listing users — and returns structured results back to Claude.
MCP is the open standard Anthropic created for connecting AI models to external tools. Instead of building custom integrations for every tool, you configure an MCP server once and Claude can use it immediately. The Slack MCP server follows this exact pattern: it exposes Slack operations as tools that Claude can call during a conversation.
The result is an AI assistant that understands your workspace context without you having to explain it manually every time.
What Can the Slack MCP Server Do?
A well-configured Slack MCP server exposes the full range of Slack API operations. Here are the capabilities that teams use most:
Message Operations
- Search messages across all channels using keywords, phrases, or filters
- Read channel history to catch up on conversations you missed
- Post messages to channels or threads on your behalf
- Reply to threads with context-aware responses
- React to messages with emoji reactions
Channel Management
- List channels you have access to, filtered by type or membership
- Get channel details including topic, purpose, and member count
- Read pinned messages for quick access to important information
- Browse bookmarks saved within channels
User and Team Context
- Look up user profiles including roles, time zones, and status
- List team members in specific channels
- Check user presence to know who is online
File and Content Access
- Search shared files across the workspace
- Read canvas documents and collaborative notes
- Access thread replies for full conversation context
Setting Up the Slack MCP Server: Step-by-Step
Here is how to connect Claude to your Slack workspace.
Step 1: Create a Slack App
You need a Slack app with the right permissions to authenticate API requests.
- Go to api.slack.com/apps and click Create New App
- Choose From scratch and give it a name (e.g., "Claude MCP Assistant")
- Select the workspace you want to connect
Step 2: Configure OAuth Scopes
Under OAuth & Permissions, add the following Bot Token Scopes:
channels:history— read messages in public channelschannels:read— list and get info about public channelsgroups:history— read messages in private channels the bot is ingroups:read— list private channels the bot is insearch:read— search messages and filesusers:read— view user profileschat:write— post messages on behalf of the botreactions:read— view emoji reactionspins:read— view pinned messagesfiles:read— access shared files
Only add write scopes (chat:write, reactions:write) if you want Claude to post messages. For a read-only setup, skip those scopes.
Step 3: Install the App to Your Workspace
Click Install to Workspace in the OAuth & Permissions section. After authorising, you will receive a Bot User OAuth Token starting with xoxb-. Copy this token.
Step 4: Configure Claude Desktop
Add the Slack MCP server to your Claude Desktop configuration file.
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token-here"
}
}
}
}
Step 5: Configure Claude Code (CLI)
For Claude Code users, add the server to your project or global settings:
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token-here"
}
}
}
}
Save this in .claude/settings.json in your project root or ~/.claude/settings.json for global access.
Step 6: Invite the Bot to Channels
Your Slack bot can only read channels it has been invited to. In each channel you want Claude to access, type:
/invite @Claude MCP Assistant
Step 7: Verify the Connection
Restart Claude Desktop (or your Claude Code session) and ask:
"List the Slack channels I have access to."
If the connection works, Claude will return your channel list. If it fails, check that your bot token is valid and the bot has been invited to at least one channel.
Real Use Cases for the Slack MCP Server
Setup takes ten minutes. The real value is in what you do with it.
Channel Summaries
This is the most common use case — and the one that saves the most time. When you have been away from a channel for a day or a week, ask:
"Summarise the key discussions in #engineering from the last 3 days. Focus on decisions made and action items."
Claude reads the channel history, identifies the important threads, and gives you a structured summary. No scrolling through hundreds of messages. No missing the one thread where a critical architecture decision was made at 11pm.
Cross-Channel Message Search
Slack's built-in search is functional but limited. With the MCP server, you can run contextual searches:
"Find all messages across our workspace mentioning the payments migration. Summarise the current status and any blockers people have raised."
Claude searches across channels, reads the matching messages in context, and synthesises the information into a coherent status update. This is especially powerful for projects that span multiple channels and teams.
Standup Automation
Daily standups are useful but repetitive. With a Slack MCP server, you can automate the summary:
"Read the last 24 hours of messages in #engineering, #design, and #product. Draft a standup summary covering what each team worked on, any blockers mentioned, and what is planned for today."
Claude pulls the relevant messages, groups them by team, and drafts a summary you can review and post. Some teams use this to replace synchronous standup meetings entirely — each person posts updates in their channel, and Claude compiles the cross-team summary.
Knowledge Retrieval
Over months and years, Slack becomes an accidental knowledge base. The problem is that knowledge is trapped in message threads that nobody can find. The MCP server turns Claude into a search engine for institutional knowledge:
"Has anyone on the team discussed rate limiting strategies for our public API? Check #engineering and #architecture from the last 6 months."
Claude searches, finds the relevant threads, and summarises the discussions — including who said what and what conclusions were reached. This is particularly valuable for onboarding new team members who need to understand past decisions.
Incident Response Support
During incidents, information flows fast across multiple channels. The MCP server helps you stay on top of it:
"Read the last 2 hours of #incidents and #on-call. Give me a timeline of what happened, who is involved, and what the current status is."
Claude builds a timeline from the raw messages, identifies the key participants, and summarises the current state. This is faster and more reliable than asking someone to manually compile an incident summary while they are also trying to fix the problem.
Security Tips and Best Practices
Connecting an AI assistant to your team's conversations requires careful security practices.
Principle of Least Privilege
Only grant the permissions your use case requires. If Claude only needs to read messages, do not add chat:write or reactions:write scopes. You can always add permissions later — but you cannot un-read messages that were exposed unnecessarily.
Token Management
Your Slack bot token gives full access to every channel the bot is in. Treat it accordingly:
- Never commit tokens to version control. Use environment variables instead:
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "${SLACK_BOT_TOKEN}"
}
}
}
}
- Rotate tokens periodically. Regenerate your bot token every 90 days at minimum.
- Audit channel access. Regularly review which channels the bot is in and remove it from channels it no longer needs.
Channel Scoping
Be deliberate about which channels you invite the bot to. In most cases, the bot does not need access to #random, HR channels, or executive-only channels. Start with project and engineering channels, then expand based on actual need.
Data Sensitivity
Messages processed through the MCP server are sent to Anthropic's API. Review your organisation's data policies before connecting channels that contain sensitive information — financial data, PII, legal discussions, or HR matters. For highly regulated industries, consider running a proxy that filters sensitive content before it reaches the MCP server.
Audit Logging
Keep a record of which channels the bot is in and when it was added. If your organisation uses Slack Enterprise Grid, leverage the built-in audit logs to track bot activity. For smaller teams, maintain a simple list in your internal documentation.
Combining Slack With Other MCP Servers
The Slack MCP server becomes significantly more powerful when paired with other connectors.
Slack + GitHub MCP Server: Post PR review summaries to #engineering automatically. When a PR is merged, Claude can read the changes via the GitHub MCP server and post a summary to the relevant Slack channel.
Slack + Database MCP Server: When a customer reports an issue in #support, Claude can search the database for their account details, check recent transactions, and draft a response — all from a single prompt.
Slack + Custom MCP Connectors: Connect Claude to your internal tools — deployment pipelines, feature flags, monitoring dashboards — and let it post status updates to Slack channels automatically. Building custom MCP connectors is how teams unlock the full potential of this architecture.
Frequently Asked Questions
Can the Slack MCP server access private channels and direct messages?
The bot can access private channels it has been explicitly invited to, using the groups:history and groups:read scopes. It cannot access direct messages unless you add the im:history scope, which most teams avoid for privacy reasons. Only grant DM access if you have a clear, approved use case.
Does the Slack MCP server work with Slack Enterprise Grid?
Yes. The MCP server works with any Slack plan that supports bot tokens, including Enterprise Grid. For Enterprise Grid deployments, you may need an admin to approve the app at the organisation level before it can be installed to individual workspaces.
How do I prevent Claude from posting messages accidentally?
Remove the chat:write scope from your Slack app entirely. Without this scope, the MCP server physically cannot post messages, regardless of what Claude is asked to do. This is the safest approach for teams that only want read access.
What are the rate limits for the Slack MCP server?
Slack's API enforces rate limits of roughly one request per second for most methods, with burst allowances for some endpoints. The MCP server handles retries and backoff automatically. For large workspaces with heavy search queries, you may hit limits during peak usage — stagger complex queries or limit the time range of your searches.
What Comes Next
The Slack MCP server is one of the best MCP server examples for non-engineering teams because everyone in your company uses Slack. Once your team sees Claude summarising channels and searching conversations, the next question is always: "Can it do this with our other tools?"
The answer is yes. The same MCP pattern works for CRMs, databases, project management tools, and any internal system with an API. The next step is building custom MCP connectors that bridge Claude to your specific workflows.
Need a Slack MCP server customised for your team — or a full suite of MCP integrations connecting Claude to your internal tools? At Sandlabs, we design and build these systems in 2-6 weeks with fixed pricing. No guesswork. Talk to us.