Skip to content

Connect Codex to Slack

Connect Codex to Slack in 3 steps: 1. Sign in to ApexGenius and connect Slack. 2. Add the ApexGenius plugin. 3. Start using Slack in Codex. Start in Plugins in the ChatGPT desktop app and authorize your connection.

1,000 free credits · No card required

How to connect Slack to Codex

  1. 1Sign in to ApexGenius and connect Slack
  2. 2Add the ApexGenius plugin to Codex
  3. 3Start using Slack in Codex
  1. 1Slack

    Connect Slack to ApexGenius

    Connect Slack

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

  2. 2ApexGenius

    Connect ApexGenius to Codex

    Choose Codex

    Back on Start, pick Codex and copy the prompt.

  3. 3ApexGenius

     

    Approve access

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

Add the ApexGenius plugin to Codex

Codex stores MCP servers in ~/.codex/config.toml. The ChatGPT desktop app, the Codex CLI and the IDE extension share that file, so one setup covers all three on the same machine.

  1. In the ChatGPT desktop app, open Plugins and select an ApexGenius plugin shared with you or one you created. Connect it and authorize the app connections you intend to use.
  2. No plugin? Open Settings, then MCP servers, then Add server. Name it ApexGenius, choose Streamable HTTP and paste the MCP address.
  3. Save, select Restart, then Authenticate, and sign in to ApexGenius in your browser.
  4. Start a new Codex task.

The MCP address

https://server.autom8.pro/mcp

Check it. In the composer, type /mcp to view the connected servers.

Steps follow OpenAI documentation, Model Context Protocol for ChatGPT and Codex (opens in a new tab), read November 12, 2026.

Then ask Codex

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 Codex

The steps are above, under Add the ApexGenius plugin to Codex. These notes apply to Codex only.

  • From the terminal. The commands are under Manual setup for developers. codex mcp list shows the configured servers, and codex mcp login apexgenius runs the sign-in.
  • Without a local browser. Run codex mcp login apexgenius --no-browser, open the printed authorization URL on another machine, sign in, and paste the full redirect URL back into the terminal.
  • Asking before writes. In config.toml, default_tools_approval_mode = "writes" on the apexgenius server makes Codex ask before any tool that is not marked read-only.
  • ChatGPT on the web. ChatGPT on the web does not read local Codex configuration. It uses plugins.
  • Access. When ApexGenius asks what Codex may use, choose Read only for the first test, or Custom to limit it to the tools you need.

Watch the setup

Follow each step at your own pace.

Codex desktop app with Plugins selected and ApexGenius listed under Available to your account.
Open Codex in the ChatGPT desktop app, then Plugins, and find ApexGenius.Open full-size image (opens in a new tab)

The walkthrough uses the original ChatGPT web plugin captures. After connecting, open Codex in the desktop app and start a new task with ApexGenius. A ChatGPT web connection does not verify Codex access.

A public ApexGenius plugin listing is not verified. Use a plugin shared with you or one you created, subject to your account and workspace policy.

Create a personal plugin

Where Developer mode is available, open ChatGPT Settings, then Security and login, and enable it. In Plugins, select the plus button, enter ApexGenius and a description, then add this URL under Connection. Create the connection, complete OAuth, and review the tools. Return to Codex in the desktop app and start a new task with the plugin enabled.

https://server.autom8.pro/mcp
OpenAI custom connection guide (opens in a new tab)
No plugin available? Use desktop settings
  1. In the ChatGPT desktop app, open Settings, then MCP servers, then Add server.
  2. Name the server ApexGenius, choose Streamable HTTP, and paste the MCP address below.
  3. Save, select Restart, then Authenticate. Sign in to ApexGenius and authorize the intended connections and access.
  4. Start a new Codex task and ask one read-only question. Check the returned result and its matching successful read in Activity.
https://server.autom8.pro/mcp
OpenAI desktop MCP settings (opens in a new tab)
Manual setup for developers

Codex CLI is optional. Run these commands, complete browser authorization, then start a new session. Do not paste bearer tokens or static authorization headers.

Register the remote MCP server

codex mcp add apexgenius --url https://server.autom8.pro/mcp

Authorize in your browser

codex mcp login apexgenius

Inspect registered servers

codex mcp list

The desktop app, CLI, and IDE extension share MCP configuration on the same host. The IDE extension does not install plugins. ChatGPT web does not read local Codex configuration.

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 Codex

Illustration of a task, not a recorded customer result. Your answers come from the account and dates you choose.

How the route works
Codex
CodexApexGenius 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
Codex

Three safe example reads returned results. Nothing was changed.

Read-only route
Codex

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 Codex 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 Codex, 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 Codex to Slack

Updated November 12, 2026.

How do I connect Codex to Slack?

Connect Codex to Slack through ApexGenius in three steps. Sign in to ApexGenius and connect Slack with Slack OAuth for your user and workspace. In the ChatGPT desktop app, open Plugins and connect an ApexGenius plugin, or open Settings, then MCP servers, then Add server, and add the ApexGenius MCP address as a Streamable HTTP server. Then open a task in Codex and ask a question about your Slack. Start with a read, so nothing changes.

How do I check that Codex can use Slack?

In the Codex composer, type /mcp to view the connected servers. ApexGenius should be listed. If it asks for sign-in, open Settings, then MCP servers, and select Authenticate. Start a new task, 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 Codex?

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

What can Codex do in Slack once it is connected?

Codex 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 Codex 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 Codex can use it.

Can Codex 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 Codex today

Start free

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