Skip to content

Quick start

With one workspace there is nothing to configure: the default alias is that workspace. Add aliases only to work in more than one workspace at once (Several workspaces).

Read a channel or a thread

Slack's own MCP tools arrive with each alias's server. Ask the agent to read a channel, or call the tool yourself:

await tools.slack_slack_read_channel({ channel_id: "C0123ABCD45", limit: 20 })

The alias is in the server name: slack_slack_read_channel for default, and slack-work_slack_read_channel for work. A listed event names its thread as slack-thread:<channel>:<ts>; tools.slack.thread_read reads a slack.workspace thread as a page of events, tools.slack.direct_thread_read reads a slack.direct thread (carrying effect: deny), and a thread over the source's limit is TOO_LARGE rather than cut.

Read the workspace feed

events_list lists the messages of the channels a call confirms, oldest first. Confirm the channels with channels_list, then pass their ids:

const page = await tools.slack.events_list({
  account: "work",
  source: "workspace",
  scope: { channels: ["C0123ABCD45", "D0123ABCD45"] },
})
for (const event of page.events) console.log(event.kind, event.title)

Keep page.cursor in the automation's state and pass it with the same account next time. Without a cursor the read starts 24 hours back. Automations has the timer recipe.

Read the user's mentions and direct feed

mentions_list lists the messages that mention the signed-in user, and direct_list lists direct messages, group messages, mentions and own replies together. Both are effect: deny, so they are denied at every access level until a later allow rule names one for an agent or tool:

const page = await tools.slack.mentions_list({ account: "work" })
const direct = await tools.slack.direct_list({ account: "work" })

Use Slack's own search tools: slack_slack_search_public, slack_slack_search_channels and slack_slack_search_users. For private channels and direct messages, slack_slack_search_public_and_private is effect: deny for the same reason as mentions_list and direct_list. The slack-search skill covers the full read workflow.

Where the account goes

events_list, thread_read, mentions_list, direct_list, direct_thread_read, channels_list, probe, mark_read and channel_invite take account when more than one alias is configured. status takes none. The pass-through MCP tools take none either: the alias is in the server name.

Next