Slack plugin¶
Slack's messages, threads, channels, people, canvases, lists and files in OpenCode, through Slack's own MCP server and its Web API. Each account alias is one workspace with its own sign-in, so an agent can work in several workspaces at once without one alias's credential reaching another's tools. It is for a person who works in Slack from OpenCode, and for the teams whose agents read and change their Slack content.
On top of Slack's tools the plugin adds the reads Slack's MCP server has no tool for: a cursor-based workspace feed, a thread detail, the conversation list a person confirms, the user's mentions, the user's direct feed (direct messages, group messages, mentions and own replies), and a probe of the signed-in owner. It declares three actions, each previewed and then committed only after the person confirms: slack.send writes to one person, by their user id, or one channel, and names who it reaches; slack.reply answers a permalink's message in its thread; and slack.delete removes the account's own message. Its own writes are those commits, channel_invite and mark_read. Slack's raw send, draft, schedule and file-share tools are denied, so a message goes only where slack.send resolved it. Slack's create-conversation tool creates a channel and invites the people named in the same share call, and channel_invite invites people to a channel that already exists; a Read and write sign-in asks for the write scopes these need, and a Read-only one does not. status lists what a ready account cannot do yet and whether a new sign-in, this deployment's settings, or the Slack app's administrator would allow it.
How it fits together¶
flowchart LR
Agent["OpenCode agent"] --> Plugin["Slack plugin"]
Plugin -->|"27 MCP tools"| MCP["Slack's MCP server"]
Plugin -->|"events_list, thread_read, mentions_list, direct_list, direct_thread_read, probe, the actions, channel_invite, mark_read"| API["Slack Web API"]
MCP --> Slack["Your workspaces"]
API --> Slack OpenCode holds the Slack sign-in, one grant for each alias's MCP server. The plugin stores nothing, writes no token to disk and logs none.
Where to start¶
| Goal | Page |
|---|---|
| Install the plugin, create the Slack app and sign in | Installation |
| Read a channel, a thread and the workspace feed | Quick start |
| Work in several workspaces at once | Several workspaces |
| Set every option | Configuration |
| Read each method, source and event | Capabilities |
| React to new messages on a timer | Automations |
| When a call fails | Troubleshooting |
| Work on the plugin | Architecture |