Integration handbook

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

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

  1. Confirm workspace administrator approval for the MCP integration and the identity that will authorize it.
  2. Choose a test channel or thread. Identify whether the audience includes external Slack Connect participants.
  3. 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.

Permission decisions before connecting
Route / permissionPurposeBoundary
MCP user authorizationUse approved Slack toolsExisting workspace permissions and admin policy apply
channels:history / groups:historyRead applicable channel history via Web APIToken type, channel membership and scopes must match
chat:writePost messages via Web APIAdds write authority; not needed for read-only reporting
Source: Provider authorization reference
  1. In Claude Desktop, open Customize/Connectors, find Slack and follow the official connection flow.
  2. Authorize the intended workspace and verify the connected identity.
  3. Read a known thread and compare the permalink and timestamps with Slack.
  4. 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.
  5. 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.

.env.local - placeholders only

ENV
# Separate Web API app only
SLACK_TOKEN=replace_with_authorized_user_or_bot_token
SLACK_CHANNEL_ID=replace_with_channel_id

Supported operations & boundaries

Slack: choose the right operation
OperationRouteImportant boundary
Search/read messages and threadsOfficial MCPCite originals and bound the date range
Draft/send/schedule messagesSupported MCP toolsSending and scheduling need separate approval
Read/create/update canvasesSupported MCP toolsVerify ownership and sharing context
Web API history/repliesCustom appToken type, scopes, membership and rate limits differ
Source: Provider capability reference

Make a bounded first request

Read a bounded channel history page

CURL
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.

A practical workflow

  1. For a release handoff, define channel and date boundaries and search for candidate discussions.
  2. Read the relevant parent messages and replies. Distinguish a proposal, an accepted decision and a later reversal.
  3. Compose a source-linked private summary with owners only where explicitly supported by the messages. Mark missing context rather than guessing intent.
  4. If asked to post, show channel name/ID, thread location, audience and complete text. Check @mentions and external sharing before approval.
  5. 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.

Execution contract
BoundaryRequired context
Required inputsWorkspace identity; Channel ID and date range; Thread timestamp if relevant; Audience and send permission
Approval requiredSending, scheduling, reacting or sharing; Inviting users/apps or modifying a canvas
Stop conditionsUnknown audience or external participants; Ambiguous thread; Uncertain previous send outcome
Return to the userSource permalinks and coverage; Private summary or exact draft; Send receipt only when actually sent
Source: Handbook editorial workflow (not a provider guarantee)
  1. Resolve the correct conversation.
  2. Read relevant replies, not only snippets.
  3. 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

  1. Disconnect Slack from the AI client and review the authorized app in Slack workspace settings.
  2. Revoke separate app tokens if the custom script is retired.
  3. 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.

Find a documented decision

PROMPTCopy into your conversation
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.
Preview a channel handoff

PROMPTCopy into your conversation
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

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