codex - 💡(How to fix) Fix codex mcp get shows Slack MCP server, but codex mcp remove slack says it does not exist [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#20970Fetched 2026-05-05 05:55:14
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Code Example

<user>@MacBook-Pro ~/Desktop
  ❯ codex mcp get slack
  slack
    enabled: true
    transport: streamable_http
    url: https://mcp.slack.com/mcp
    bearer_token_env_var: -
    http_headers: -
    env_http_headers: -
    remove: codex mcp remove slack

  <user>@MacBook-Pro ~/Desktop
  ❯ codex mcp remove slack
  No MCP server named 'slack' found.

---

[plugins."slack@claude-plugins-official"]
  enabled = true

  [plugins."slack@openai-curated"]
  enabled = true
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

codex-cli 0.128.0

What subscription do you have?

Enterprise

Which model were you using?

gpt-5.2

What platform is your computer?

Darwin 25.4.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

iTerm2

What issue are you seeing?

codex mcp get slack shows an enabled Slack MCP server, but codex mcp remove slack fails with No MCP server named 'slack' found.

  <user>@MacBook-Pro ~/Desktop
  ❯ codex mcp get slack
  slack
    enabled: true
    transport: streamable_http
    url: https://mcp.slack.com/mcp
    bearer_token_env_var: -
    http_headers: -
    env_http_headers: -
    remove: codex mcp remove slack

  <user>@MacBook-Pro ~/Desktop
  ❯ codex mcp remove slack
  No MCP server named 'slack' found.

What steps can reproduce the bug?

  1. Enable the Slack plugin/MCP integration.
  2. Run:

codex mcp get slack

  1. Observe that Codex prints a Slack MCP server and even suggests:

remove: codex mcp remove slack

  1. Run:

codex mcp remove slack

  1. Observe that removal fails with:

No MCP server named 'slack' found.

What is the expected behavior?

If codex mcp get slack returns a server and prints remove: codex mcp remove slack, then codex mcp remove slack should remove or disable that same server.

If plugin-provided MCP servers cannot be removed with codex mcp remove, the CLI should say that clearly and point to the correct command or config location for disabling the Slack plugin.

Additional information

codex mcp list shows Slack:

slack https://mcp.slack.com/mcp enabled Not logged in

Local config does not contain [mcp_servers.slack], but it does contain enabled Slack plugins:

  [plugins."slack@claude-plugins-official"]
  enabled = true

  [plugins."slack@openai-curated"]
  enabled = true

extent analysis

TL;DR

The issue can be resolved by disabling the Slack plugin instead of trying to remove the MCP server.

Guidance

  • The error message No MCP server named 'slack' found suggests that the codex mcp remove command is not able to find the Slack MCP server, even though codex mcp get slack shows it as enabled.
  • The presence of enabled Slack plugins in the local config file ([plugins."slack@claude-plugins-official"] and [plugins."slack@openai-curated"]) implies that the Slack MCP server is being managed by a plugin, rather than being a manually configured MCP server.
  • To resolve the issue, try disabling the Slack plugin using the codex CLI or by modifying the local config file to set enabled = false for the Slack plugins.
  • Verify that the Slack MCP server is no longer listed after disabling the plugin by running codex mcp list.

Example

No code snippet is provided as it is not clearly supported by the issue.

Notes

The exact command to disable the Slack plugin is not specified in the issue, so it may be necessary to consult the codex CLI documentation or try modifying the local config file directly.

Recommendation

Apply workaround: Disable the Slack plugin to remove the MCP server, as the codex mcp remove command does not seem to work for plugin-provided MCP servers.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING