Skip to content
Console

Integration · Early access

Slack

Bring OpenCode into your Slack threads, and let each member's OpenCode search, read and post in Slack.

What it does

OpenCode is an open source coding agent. The OpenCode app brings it into Slack, and brings Slack into OpenCode.

In OpenCode

  • Each member can connect their own Slack account from OpenCode Console. Their OpenCode can then search and read the conversations, files and canvases they can already see, and post as them, through Slack's MCP server.
  • OpenCode only sees what the member could see in Slack, and workspace admins choose who can connect.

In Slack

  • Mention @OpenCode in a thread to ask about your code, investigate an issue, or make a change. It works in an isolated development sandbox and replies in the thread.
  • Approve or deny what it asks to do, right from its message.

Requirements

  • An OpenCode Console workspace with MCP turned on. MCP is in early access, so not every workspace has the tab yet.
  • An owner or admin to add Slack for the whole workspace. Any member can add it for themselves.
  • A Slack account for each member who connects, in a Slack workspace whose admins allow the OpenCode app.
  • Each member's coding agent connected to Console, as Connect a client in Console shows.

Adding Slack

  1. In Console, open MCP and click Connect, or use Connect Slack at the top of this page. On the Connect an MCP server page, find Slack and click Connect.
  2. Each member connects their own Slack account. There's no shared workspace account.
  3. Sign in to Slack and approve the access OpenCode asks for.
  4. Other members connect the same way, from MCP in Console. If their OpenCode tries Slack before they've connected, it tells them where to.

Once a member connects, Slack appears in their OpenCode. Anyone can take it out of their own OpenCode with Disconnect on its page in MCP.

Console stores each sign-in's access and refresh tokens, encrypted, and sends them only to Slack. It doesn't look up your Slack profile. It also records the tools Slack lists (their names, descriptions and inputs) and its instructions for agents, so admins can review them.

Using Slack

Ask OpenCode in your own words. For example:

  • Summarize what #incidents said about last night's outage.
  • Find the thread where we agreed on the retry policy and sum up what we decided.
  • Post a short summary of this change in #releases.

OpenCode reaches Slack through Console, which adds your credentials on the way, so your OpenCode never holds them. Results go back to your OpenCode, which passes them to the model it's using. Console logs each call (the server, the tool, whether it was allowed and whose account it used) but never what was sent or returned.

Owners and admins review Slack's tools on its page in MCP and can turn any of them off. Tools Slack adds or changes later are available right away, unless an owner or admin turns on Hold new and changed tools for review. Rules in Controls decide who can use Slack, and can limit it to tools that only read.

OpenCode in Slack threads

The same app brings OpenCode agents into your Slack workspace. An owner or admin adds it from the Agents tab in Console with Add to Slack, which sets up a Slack agent that answers direct messages and @OpenCode mentions in every channel no other agent claims. More Slack agents can each take selected channels, with their own instructions, tools and model. It works for people who are members of the workspace in Console, with the same email as their Slack account, and the workspace pays for the agents' model use.

Slack agents are in early access too. To take them out of Slack, an owner or admin chooses Disconnect… on Slack's row in Settings › General › Connections. That deletes the installation and its bot token from Console and turns off every agent's Slack trigger. The agents keep their settings. The app stays in your Slack workspace until it's removed in Slack, as described below.

Removing Slack

Disconnect your account

Open Slack in MCP, choose Disconnect from its … menu, and confirm. Console deletes its copy of your Slack tokens and any sign-in you had started. When someone leaves the workspace or is removed from it, Console deletes the accounts they connected for themselves the same way.

Remove Slack from the workspace

An owner or admin opens Slack in MCP, chooses Remove… from the … menu and confirms. Console deletes Slack from the workspace with every account connected to it, the tools it recorded, its settings and members' choices. Choosing Disable for the team in the same menu turns it off for everyone instead and keeps all of that until it's turned back on.

Remove the app in Slack

Disconnecting only removes what Console holds. To end OpenCode's access on Slack's side too: In Slack, open Tools & settings › Manage apps, select OpenCode under Installed Apps, and choose Remove App on its Configuration tab. To end one member's access only, revoke their authorization on the same tab.

If you remove the app there first, Console shows your account as needing reconnecting once it's next used, and keeps the encrypted tokens until you disconnect or an admin removes Slack.

Data and privacy

  • Console keeps each Slack sign-in's tokens encrypted and sends them only to Slack, never to OpenCode.
  • It records the tools and instructions Slack lists, so admins can review them. It doesn't look up your profile.
  • It logs each tool call (who made it, the integration, the tool, the outcome and timing) for 30 days, never what was sent or returned, and doesn't keep tool results.
  • Results reach your OpenCode and the model it's using.

The privacy policy explains how Anomaly handles personal data, and the terms of service cover using OpenCode. To ask for a copy of your data or for it to be deleted, email help@anoma.ly.

Support

Email help@anoma.ly. We reply within two business days (Monday to Friday, excluding US holidays), and you don't need an account. The support page covers data requests, security reports and more.

OpenCode uses large language models, which can make mistakes. Check its answers and changes before you rely on them.