Claude / Slack ยท Documentation-reviewed guide
Slack for Claude
Find decisions in Slack, cite the original threads and prepare messages without accidentally notifying a channel or speaking as the wrong user.
Official setup guide (opens in a new tab)- Connection
- Official MCP / Web API
- Access
- Scoped to your account
- Testing
- Not account-tested
Contents & search
Find in guide
Connect Claude to Slack
Slack is useful for decision discovery and handoff summaries, but search snippets alone can omit the replies that changed a decision. Start with a channel, time window and relevant participants, then read the full matching threads before drawing conclusions.
Reading messages, drafting a response and posting it are different actions. The approved workspace integration determines tool access, while a separate Web API app has its own user/bot identity and scopes. Do not assume a bot token can read everything visible to a human.
Before you start
- Confirm workspace administrator approval for the MCP integration and the identity that will authorize it.
- Choose a test channel or thread. Identify whether the audience includes external Slack Connect participants.
- Decide whether the outcome is a private answer, a message draft, a posted message or a canvas update. Never infer sending permission from a request to summarize.
Authorization & setup
Claude Desktop can add Slack from its connector settings and complete OAuth. Slack also documents an official Claude Code plugin route; use the current provider instructions rather than inventing an OAuth client configuration.
For a custom Web API application, create/manage it through api.slack.com/apps, add the necessary scopes and install it to the intended workspace. The generated token belongs to that application and identity; keep it server-side.
| Route / permission | Purpose | Boundary |
|---|---|---|
| MCP user authorization | Use approved Slack tools | Existing workspace permissions and admin policy apply |
| channels:history / groups:history | Read applicable channel history via Web API | Token type, channel membership and scopes must match |
| chat:write | Post messages via Web API | Adds write authority; not needed for read-only reporting |
- In Claude Desktop, open Customize/Connectors, find Slack and follow the official connection flow.
- Authorize the intended workspace and verify the connected identity.
- Read a known thread and compare the permalink and timestamps with Slack.
- For Claude Code, inspect the official Slack plugin instructions before installation; installing a plugin is a local configuration change, not a requirement to use this handbook.
- Keep write approvals on. Resolve the actual channel ID and thread timestamp before proposing any reply.
Local environment for custom code
The hosted connector signs in through the provider; it does not read an environment file from this website. The following placeholders are only for a separate server-side project. Keep .env.local ignored by Git and configure deployment secrets separately. Never use NEXT_PUBLIC_ for these values.
# Separate Web API app only
SLACK_TOKEN=replace_with_authorized_user_or_bot_token
SLACK_CHANNEL_ID=replace_with_channel_idSupported operations & boundaries
| Operation | Route | Important boundary |
|---|---|---|
| Search/read messages and threads | Official MCP | Cite originals and bound the date range |
| Draft/send/schedule messages | Supported MCP tools | Sending and scheduling need separate approval |
| Read/create/update canvases | Supported MCP tools | Verify ownership and sharing context |
| Web API history/replies | Custom app | Token type, scopes, membership and rate limits differ |
Make a bounded first request
curl --fail-with-body --get https://slack.com/api/conversations.history \
--data-urlencode "channel=$SLACK_CHANNEL_ID" \
--data-urlencode "limit=5" \
--header "Authorization: Bearer $SLACK_TOKEN"Inspect the JSON ok field and error value, not just HTTP status. This reads a history page, not necessarily every reply in each thread. Use the appropriate replies operation for relevant threads, and honor cursors and current method limits.
Endpoint & protocol reference
These are provider API or protocol entry points, not a promise that the same named operation is exposed in every MCP client. Discover the live MCP tool schema before calling it. Follow the linked reference for request bodies, pagination, permissions and current limits.
- GET
https://slack.com/api/conversations.historyRead channel history for the authorized token. Check ok, errors and pagination.
API reference for https://slack.com/api/conversations.history (opens in a new tab) - GET
https://slack.com/api/conversations.repliesRetrieve a thread by conversation and parent timestamp with suitable token access.
API reference for https://slack.com/api/conversations.replies (opens in a new tab) - POST
https://slack.com/api/chat.postMessageSend a message. Resolve destination, content and thread placement before an approved call.
API reference for https://slack.com/api/chat.postMessage (opens in a new tab)
A practical workflow
- For a release handoff, define channel and date boundaries and search for candidate discussions.
- Read the relevant parent messages and replies. Distinguish a proposal, an accepted decision and a later reversal.
- Compose a source-linked private summary with owners only where explicitly supported by the messages. Mark missing context rather than guessing intent.
- If asked to post, show channel name/ID, thread location, audience and complete text. Check @mentions and external sharing before approval.
- Send once after approval and capture the message timestamp/permalink. If a timeout occurs, inspect the channel before retrying to avoid duplicate notifications.
AI agent playbook
Provide source-linked Slack context or an explicitly approved message.
| Boundary | Required context |
|---|---|
| Required inputs | Workspace identity; Channel ID and date range; Thread timestamp if relevant; Audience and send permission |
| Approval required | Sending, scheduling, reacting or sharing; Inviting users/apps or modifying a canvas |
| Stop conditions | Unknown audience or external participants; Ambiguous thread; Uncertain previous send outcome |
| Return to the user | Source permalinks and coverage; Private summary or exact draft; Send receipt only when actually sent |
- Resolve the correct conversation.
- Read relevant replies, not only snippets.
- Check retention and pagination coverage.
Troubleshooting
History is inaccessible
- Likely cause
- The app may lack membership, token type or scope for that conversation.
- What to do
- Check workspace, channel type and current method requirements. Do not invite a bot to private channels without approval.
HTTP succeeded but Slack reports an error
- Likely cause
- Slack methods can return ok:false in a JSON response.
- What to do
- Inspect error and response fields and report the actual provider failure.
Search misses the final decision
- Likely cause
- A snippet or limited history page omitted thread replies.
- What to do
- Retrieve the relevant thread and report the time window and coverage.
Revoke access, costs & maintenance
- Disconnect Slack from the AI client and review the authorized app in Slack workspace settings.
- Revoke separate app tokens if the custom script is retired.
- Review already scheduled messages or automations separately; revoking a chat connection is not a cancellation receipt.
Slack plan retention/search access, provider method limits and AI-client costs apply. Different Web API app classes can have different history limits. Do not hardcode one global request-per-minute value.
Prompts to get started
Start with read-only questions. Replace placeholders with your own account context; these are examples, not live results.
In [workspace/channel], find the decision about [topic] within [date range]. Read matching threads, cite permalinks and separate proposals from accepted decisions. Do not post, react or edit anything.Draft a handoff for [channel ID] based on the verified sources. Show exact text, any mentions and whether the channel includes external participants. Wait for approval before posting; return the resulting permalink after verification.Frequently asked questions
Can a bot token read all my private channels?
No. Token type, scopes and conversation access matter. Use the current method reference and authorize only intended resources.
Does a message draft notify anyone?
A local draft should not. Posting, scheduling, sharing and reactions are external actions and require the intended approval.
Is this account-tested or a working connection?
No. Official documentation was reviewed on November 17, 2026. This guide does not connect accounts or execute examples. Validate with your own permissions before adopting it in an agent.
Sources & resources
References used in this guide
- Slack MCP client setup (opens in a new tab)
- Slack MCP supported features (opens in a new tab)
- History API (opens in a new tab)
- Replies API (opens in a new tab)
- Post message API (opens in a new tab)
Documentation-reviewed guide. Provider facts come from the linked references; workflow recommendations and agent approval boundaries are our editorial guidance. No private account, paid action or end-to-end workflow was tested.
Logos are local SVGs from Simple Icons. Brand marks belong to their respective owners; credits are not an endorsement. No provider screenshots have been copied into this preview.
Icon library & licensing