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.

1,000 free credits · 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
  1. 1Slack

    Connect Slack to ApexGenius

    Connect Slack

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

  2. 2ApexGenius

    Connect ApexGenius to Claude Code

    Copy the MCP address

    On Start, pick API key, open Manual setup, and copy the MCP address.

  3. 3ApexGenius

     

    Approve access

    ApexGenius opens its approval page. Review the access, then approve.

Add the ApexGenius MCP server to Claude Code

Claude Code stores MCP servers in ~/.claude.json. With --scope user the server is available in every project. Without it, only in the project where you ran the command.

  1. Run the command. Claude Code prints an Added line.
  2. Start Claude Code, run /mcp, choose apexgenius and follow the sign-in in your browser. From a shell, claude mcp login apexgenius does the same.
  3. Approve access on the ApexGenius page.
Run in your terminal
claude mcp add --transport http --scope user apexgenius https://server.autom8.pro/mcp

Check it. Run claude mcp list. Each server shows a status, such as Connected or Needs authentication. claude mcp get apexgenius shows the detail.

Steps follow Claude Code documentation, Connect Claude Code to tools via MCP (opens in a new tab), read November 12, 2026.

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.

Start free
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

The steps are above, under Add the ApexGenius MCP server to Claude Code. These notes apply to Claude Code only.

  • Over SSH or without a browser. claude mcp login apexgenius prints the authorization URL when it finds no local browser. Open it on your own machine, then paste the full redirect URL from the address bar back at the prompt. Add --no-browser to force that.
  • Headless runs. A claude -p run has no /mcp panel and cannot run the sign-in. Sign in once from an interactive session, or with claude mcp login, first.
  • Signing out. Clear authentication in the /mcp menu, or claude mcp logout apexgenius, removes the stored sign-in.
  • Access. When ApexGenius asks what Claude Code may use, choose Read only for the first test, or Custom to limit it to the tools you need.
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.

Full guide: the Slack setup guide.

What it looks like in Claude Code

Illustration of a task, not a recorded customer result. Your answers 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.

What Claude Code can do in Slack

3 operations: 2 read, 1 write. Read looks things up and changes nothing. Writes change Slack and run only when you turn them on.

Slack gateway tools

2 read · 1 write
  • slack_search_toolsread
  • slack_call_read_toolread
  • slack_call_toolwrite

You choose the access. When you approve Claude Code, pick Full access, Read only, or Custom.

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.

Start free

Questions about connecting Claude Code to Slack

Updated November 12, 2026.

How do I connect Claude Code to Slack?

Connect Claude Code to Slack through ApexGenius in three steps. Sign in to ApexGenius and connect Slack with Slack OAuth for your user and workspace. In Claude Code, run claude mcp add --transport http --scope user apexgenius https://server.autom8.pro/mcp, then run /mcp and sign in. Then open a task in Claude Code and ask a question about your Slack. Start with a read, so nothing changes.

How do I check that Claude Code can use Slack?

Run claude mcp list in your terminal. apexgenius should show Connected. If it shows Needs authentication, run /mcp inside Claude Code, or claude mcp login apexgenius in your shell, and finish the browser sign-in. Then ask: “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.”

Is there a Slack MCP server for Claude Code?

Yes. ApexGenius is an MCP server that Claude Code connects to once. It carries your Slack connection and 3 Slack operations, so Claude Code does not need a separate Slack integration or plugin. You set it up one time and add each agent the same way.

What can Claude Code do in Slack once it is connected?

Claude Code can use 3 Slack operations through ApexGenius: 2 that find what Slack can do and run a classified read on the account you pick, and 1 that runs a write you have enabled. Together they reach Slack’s official tools and Web API, within your Slack permissions.

Can Claude Code read my private Slack channels and DMs?

Only what the connected Slack user can already see. Private channels and DMs follow that user’s Slack access, and ApexGenius adds none for other people. Each connection is one Slack user in one workspace, and the read tool must be enabled before Claude Code can use it.

Can Claude Code change my Slack?

Not until you enable writes. Start with Read only, and the read route refuses writes. Turn writes on only when you need them. Enabled writes run when called, and disconnecting does not undo a sent message. Admin, sign-in and token methods are not available.

Can I use the same Slack connection with Claude, ChatGPT, Grok Bot or Muse?

Yes. One Slack connection in ApexGenius works with every compatible agent you add, including Claude, ChatGPT, Grok Bot or Muse. Each agent gets its own access choice and its own short setup, so you can pick read only for one agent and more for another.

Connect Slack to Claude Code today

Start free

1,000 free credits. No card required. Disconnect any time.