Skip to content

Setup Slack App

One Slack App serves all y0mcp agents. Each agent filters messages by its own SLACK_CHANNEL_ID.

  1. Go to api.slack.com/apps
  2. Click Create New AppFrom scratch
  3. Name: y0mcp (or your preference)
  4. Select your workspace
  1. Go to Socket Mode → Enable
  2. Generate an App-Level Token with connections:write scope
  3. Save the token (xapp-...) — this is your SLACK_APP_TOKEN

Go to OAuth & PermissionsBot Token Scopes and add:

  • channels:history
  • channels:read
  • chat:write
  • chat:write.public
  • reactions:add
  • reactions:read
  • reactions:write

Go to Event Subscriptions → Enable → Subscribe to bot events:

  • message.channels
  • reaction_added
  1. Go to Install AppInstall to Workspace
  2. Save the Bot User OAuth Token (xoxb-...) — this is your SLACK_BOT_TOKEN

In each Slack channel you want to use:

/invite @y0mcp
TokenEnv variableFormat
Bot User OAuth TokenSLACK_BOT_TOKENxoxb-...
App-Level TokenSLACK_APP_TOKENxapp-...