Skip to content

Connect Claude Code to Slack

Connect Claude Code to Slack in 3 steps: 1. Sign in to ApexGenius and connect Slack. 2. Add the ApexGenius MCP server. 3. Start using Slack in Claude Code.

7 days free · No card required

How to connect Slack to Claude Code

  1. 1Sign in to ApexGenius and connect Slack
  2. 2Add the ApexGenius MCP server to Claude Code
  3. 3Start using Slack in Claude Code

FirstConnect Slack to ApexGenius

ThenConnect ApexGenius to Claude Code

Slackslack.com/oauth/v2_user/authorize1 of 3

Connect Slack. Slack opens its own sign-in. Sign in and allow ApexGenius.

Then ask Claude Code:

Show my connected Slack accounts. For the account I choose, discover the read-only channel-list tool and list up to five channel names. Do not read or send messages.

Written setup, step by stepShow

Before you start

  • A Slack account in each workspace and permission to authorize the app. Workspace admins may need to approve it.

1. Connect Slack to ApexGenius

  1. Open Slack in Connections. Sign in to ApexGenius, open Connections, and choose Slack.
  2. Choose the Slack user and workspace. Sign in with the intended Slack account. Check the workspace and requested access before you allow it.
    Slack's page titled Allow the ApexGenius app to access Slack, with a workspace picker on the left, the list of permissions on the right, and Cancel and Allow buttons.
    Connect opens Slack's own permission page. Pick the workspace, review what ApexGenius can view and do as you, then choose Allow.Open full-size image (opens in a new tab)
  3. Add your other accounts. Check the saved workspace and user. Choose Add connection and repeat for each account. Use a clear name for each connection. Reconnect signs in to the same user and workspace.
  4. Choose tools and AI access. Open Tools and Access for each connection. Start with Read only for your AI. Enable writes only when you need them. Enabled writes run when called.
  5. Try one read per account. Name the intended Slack connection in your request. Check that the result and Tool Activity show that account.
Connect Slack →

2. Connect ApexGenius to Claude Code

Use this server address when adding the connection:

https://server.autom8.pro/mcp
  1. Run claude mcp add --transport http apexgenius followed by the MCP URL above.
  2. Open /mcp and choose ApexGenius.
  3. Approve ApexGenius in your browser.
  4. When ApexGenius asks what this AI client may use, choose Read only for the first test, or Custom to limit it to the tools you need.
  5. Start a new conversation and select ApexGenius from the available tools before asking for live data.
A generated anonymous terminal illustration showing a setup command, ApexGenius added, browser authorization, and ready to use.
Generated terminal example. Use the exact copy button on this page; the image only shows what kind of screen to expect.Open full-size image (opens in a new tab)

3. Verify one safe read

Show my connected Slack accounts. For the account I choose, discover the read-only channel-list tool and list up to five channel names. Do not read or send messages.

Show my connected Slack accounts. For the account I choose, discover the read-only channel-list tool and list up to five channel names. Do not read or send messages.

Compare the selected workspace and user with Slack. Repeat for each connection. A successful read does not verify writes or access to another account.

What Claude Code can do in Slack

3 operations. Read looks things up and changes nothing. Write changes Slack and runs only when that tool is enabled.

Read2 operations

Looks things up. Changes nothing.
  • slack_search_toolsDiscover what the selected Slack account can do: Slack's official tools and the Slack Web API methods ApexGenius runs.
  • slack_call_read_toolRun a discovered operation only when it is classified read-only.

Write1 operation

Changes Slack. Runs only when enabled.
  • slack_call_toolRun an enabled Slack write for the selected user and workspace, such as sending, editing, pinning or managing a channel. Writes run when called.

You choose what Claude Code can use

When you approve Claude Code, pick Full access, Read only, or Custom. Read only allows the Read operations and nothing else. Custom picks apps and tools one by one.

Limits in Slack

  • · Each connection identifies both the Slack user and workspace. Two users in one workspace remain separate.
  • · Private channels and DMs follow the connected user’s Slack access. ApexGenius does not add access to other users’ private conversations.
  • · The read route refuses writes and anything not classified as a read. Enabled writes run when called.
  • · ApexGenius uses Slack's official tools and Slack's Web API. Admin methods need a Slack org admin on Enterprise Grid. Sign-in, token and app-management methods are not available.
  • · Disconnecting stops future calls. It does not undo a sent message or another completed change.

What it looks like in Claude Code

An illustrative read-only request and response. Your results come from the account and dates you choose.

How the route works
Claude Code
Claude CodeApexGenius MCP route
Show my connected Slack accounts. For the account I choose, discover the read-only channel-list tool and list up to five channel names. Do not read or send messages.
ApexGenius
Working with ApexGenius3 reads
RequestConnected read
Account scopeAuthorized connections checked
Salesforceapex_call_read_toolsalesforce_read · Find matching recordsComplete
Salesforceapex_call_read_toolsalesforce_read · Read related activityComplete
n8napex_call_read_tooln8n_get_workflow · Check workflow statusComplete
Claude Code

Three safe example reads returned results. Nothing was changed.

Read-only route
Claude Code

Try asking

“Show my connected Slack accounts. For the account I choose, discover the read-only channel-list tool and list up to five channel names. Do not read or send messages.”

“In my chosen Slack account, find the thread I name and summarize its decisions.”

“Draft a reply for this Slack thread. Show the account, recipient and text before sending.”

Questions people ask first

Can I connect several Slack accounts?

Each user and workspace can have its own connection. Add accounts within your connection allowance and name the account in your request.

Can it do everything my Slack account can do?

It reaches most of it. ApexGenius uses Slack's official tools plus Slack's Web API, so pins, bookmarks, reminders, user groups, channel management and message edits are included, within your Slack permissions and the access you approve. Admin methods need a Slack org admin on Enterprise Grid. Sign-in, token and app-management methods are left out.

Can my AI read private messages?

Only messages the connected Slack user can access, when Slack grants the needed permissions and the read tool is enabled.

What does setup require?

An eligible Slack app, workspace approval where required, and separate OAuth consent for each account. Slack permits official MCP access for internal apps and Marketplace-published apps.

Connect Slack to Claude Code today

Start free

7 days free. No card required. Disconnect any time.