Slack

v2.8.1
io.github.aaronsb/slack-mcp Checked 3 days ago Published 1 month ago

Read and write Slack with session tokens — no OAuth, no bot, no admin approval.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

auth

Interactive credential setup: walks through capturing Slack session tokens via a localhost helper. Tokens never leave this machine.

ParameterTypeDescription
actionstringAction: 'next' advances the flow, 'status' checks state, 'select' picks an option, 'retry' retries after failure or lock, 'reset' starts over, 'clear' removes stored credentials
valuestringValue for 'select' action — browser name (e.g. 'chrome') or profile directory name (e.g. 'Default')

batch

Execute a held plan in one call: an ordered commands array of reads (inbox, messages, estate — nothing else), rendered as one document under each item's own output laws. Items are independent — an item cannot read an earlier item's results, so a plan with data dependencies stays multi-turn. An item that fails renders its error in place; the rest still run. Playbooks: save='name' commands=[...] stores a named sequence, run='name' executes it, list=true shows them, delete='name' removes one.

ParameterTypeDescription
commandsarrayOrdered commands to execute (max 12): [{tool: 'inbox'|'messages'|'estate', params: {...}}, ...]
deletestringRemove a stored playbook by name
listbooleanShow stored playbooks: names, command counts, last run
runstringExecute a stored playbook by name
savestringStore commands as a named playbook (replaces the whole sequence; does not run it)

dismiss

Mark inbox items as handled — privately. Advances your local watermark so inbox view='new' stops reporting them. Invisible to Slack: no read receipts, no presence signal. (mark-read is the public counterpart.)

ParameterTypeDescription
handlestringA handle from an inbox event.
handlesarraySeveral handles from inbox events, dismissed together.
scopestringThe scope whose position to advance. Must match the inbox view='new' call that produced the handles.

download

Download a file shared in Slack into the exchange directory, the one local directory file parameters can name. filename= is a bare name, not a path; a taken name is saved with a ' (n)' suffix and the result says so.

ParameterTypeDescription
fileId *stringSlack file ID (e.g. F01234ABCD), as returned in the 'files' array of a message
filenamestringName to save as in the exchange directory: a bare name, not a path. Defaults to the Slack filename. A taken name gets a ' (n)' suffix and the result says so.

estate

Relationship views over the accumulated estate. view='about' answers "tell me about X" whole: founder plane, activity plane, circle, and a ranked reading plan. Other views: 'families' (engagement channels by stem), 'person' (footprint + counterparts), 'initiatives' (what moved, by creator), 'convergence' (where a group co-occurs). Fold-first at zero Slack calls; bounded compiled searches only when coverage requires. about/person take render='graph' to also write the view as a static HTML graph page under the server's data directory.

ParameterTypeDescription
view *stringWhich view: 'about', 'families', 'person', 'initiatives', 'convergence', 'people' (directory search), 'channels' (channel listing)
daysnumberActivity window in days (defaults: about/person 30, convergence 14, initiatives 7; capped at 90 — the attention ledger's horizon)
deeperbooleanabout only: second hop — compile the circle's activity with bounded searches and show where it converges
filterstringchannels: 'member' (default; 'all' when searching), 'all', 'public', 'private', 'dm', 'group-dm'
forceRefreshbooleanchannels: force refresh the channel cache from Slack (rate-limited)
includeArchivedbooleanchannels: include archived channels
includeDeletedbooleanpeople/channels: include tombstoned entries as dated facts
limitnumberfamilies/channels: maximum items to return (families default 10, channels default 50)
offsetnumberSkip the first N items of the view's ranked lists — a cap never prevents paging; capped responses name the exact next call
peoplestringComma-separated people for the convergence view (at least two)
personstringThe seed person for about/person, or the creator anchor for families (@handle, name, or user ID)
renderstringabout/person only: 'graph' also writes the view as a self-contained HTML graph report under the server's data directory (reports/, private 0600, replaced on each render) and returns its path and file:…
searchstringfamilies: filter by stem or channel name (partial match; relaxes the default criteria). channels: name/purpose filter.

inbox

What needs you. view='new' reports what changed since your last dismiss (conversations and threads, watermark-tracked). view='unreads' scans unread DMs and channels. view='mentions' collects your @-mentions by urgency. Read-only; nothing here marks anything read.

ParameterTypeDescription
view *stringWhich view: 'new' (since last dismiss), 'unreads', 'mentions'
cursorstringContinuation cursor from a previous page (mentions)
focusstringunreads only: 'all', 'dms', or 'channels'
limitnumberMaximum items (new: default 50; unreads: per category, max 25; mentions: per page, max 50)
scopestringnew only: watermark scope for multiple independent watchers
timeframestringmentions only: how far back to look (default 3d)

mark-read

Mark channels, threads, or messages as read - helps manage your Slack inbox

ParameterTypeDescription
channelstringChannel name or ID to mark as read (alternative to target)
filterstringFilter what to mark: 'all', 'non-important', 'older-than-1d', 'no-mentions'
scopestringScope of marking: 'messages-only', 'including-threads', 'threads-only'
targetstringWhat to mark as read: 'channel:name', 'thread:id', 'dm:user', 'all-dms', 'all-channels', 'everything'
timestampstringSpecific message timestamp to mark as read up to

messages

Conversation content, addressed four ways, plus scheduled=true for what you have scheduled to send (precedence: query and filters beat target-less modes and refuse target; around beats since): target alone reads it in full (a handle, '#channel', '@person', or a description); target+around fetches context around a timestamp; target+since renders a time window with triage; query searches (raw Slack syntax passes through as written; in=, from=, after=, before=, has=, thread= are resolved filters composed onto it). Read-only; never marks anything read.

ParameterTypeDescription
afterstringsearch: YYYY-MM-DD (or 3d, 2w). Replaces the default window; not with timeframe
aroundstringWith target: a message timestamp to fetch context around (thread replies if it starts one)
beforestringsearch: YYYY-MM-DD (or 3d, 2w)
cursorstringContinuation cursor from a previous page
fromarraysearch: messages by these people; resolved through the person ladder, a miss returns candidates and does not search. Several entries compose as repeated from: clauses; Slack's OR/AND behavior for repe…
hasarraysearch: 'link', 'pin', or a reaction as ':emoji:' (Slack's has::emoji:). Other values (file, star, bare reaction) are unverified and rejected
inarraysearch: narrow to a '#channel' or '@person' (DM); resolved by name, a miss returns candidates and does not search. Several entries compose as repeated in: clauses; Slack's OR/AND behavior for repeats…
limitnumberMaximum messages. Per mode: bare target default 50 cap 200; around default 10 cap 100; since default 20 cap 50; ignored for query.
querystringSearch instead of fetch: raw Slack search text, passed to Slack as written (a from:@name typed here is NOT resolved or checked; use from= for resolution)
scheduledbooleanList your pending scheduled messages, soonest first, with handles for say cancel=; target= narrows to one conversation. Your own unsent composer drafts are never shown.
sincestringWith target: a time window to catch up on ('2h', '1d', '30m') with triage highlighting
targetstringWhat to read: a handle from inbox, '#channel', '@person', or a description ('the deploy thread')
threadbooleansearch: only messages in threads (is:thread)
timeframestringsearch: how far back to search (default 1w); refused together with after=, before=, or a date operator (after:, before:, on:, during:) in query=

put

Write a new file into the exchange directory for say files= to attach, for clients whose own file tools cannot reach the server's filesystem (a sandbox on another machine, a remote server). name is a bare name, not a path; pass the content as text in content= or as standard base64 in base64=, exactly one. Never overwrites: a taken name is saved with a ' (n)' suffix and the result says so. At most 5 MiB.

ParameterTypeDescription
name *stringName to save as in the exchange directory: a bare name such as chart.png, not a path
base64stringThe file's content as standard base64 (A-Z a-z 0-9 + /; padding optional; may be wrapped into equal-length lines), for binary files such as images. Not with content.
contentstringThe file's content as UTF-8 text, written as given. Not with base64.

say

Contribute content, Slack-visible: text posts a message (to a channel, DM, or thread — a thread reply can also go to the channel); text+at schedules it for Slack to send later, and cancel withdraws a scheduled one; files attaches up to 10 files from the exchange directory to one message, with text as its comment; emoji+messageTs adds or removes a reaction — a reaction is a small say. This is a write; everything it posts is attributed to your user. You are writing from this account's owner's account. Speak as yourself, the assistant, for this account's owner, in a way that suits the convers…

ParameterTypeDescription
atstringWith text: schedule the message for Slack to send at this time instead of now, 2 minutes to 120 days out. RFC 3339 with an offset ('2026-10-02T09:00:00-06:00'), a date and time with no offset (read in…
broadcastbooleanWith thread: also post the reply to the channel (Slack's 'Also send to #channel'). An error without thread, or with emoji.
cancelstringWithdraw a scheduled message: its handle from say at= or messages scheduled=true. On its own; to is not needed.
emojistringReaction mode: emoji name without colons ('thumbsup'); requires messageTs
filesarrayAttach files, at most 10, as one message: bare names inside the exchange directory (the directory download saves into), not paths. Copy a file in first, or write it with put when your file tools canno…
messageTsstringReaction mode: the message to react to
removebooleanReaction mode: remove instead of add
textstringThe message to post; with files, the comment the files are shared with
threadstringThread timestamp to reply into
tostringWhere: '#channel', '@handle' (a DM needs the exact handle, or '@me'), or a channel ID

unlock

Open a page in the operator's browser where they can review and clear the outbound-safety locks: quarantined people and conversations, and the strike lock. The operator does the clearing there; this tool clears nothing, returns no link, and does not report what they clear. Call it when the operator asks to clear a lock.