Skip to content

codex mcp get shows Slack MCP server, but codex mcp remove slack says it does not exist #20970

Open

Description

@kevin-valerio

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

Activity

  1. added
    bug
    on May 4, 2026
  2. added
    CLI
    mcp
    skills
    on May 4, 2026
  3. fengyuanluo commented on May 4, 2026

    @fengyuanluo

    I encountered a similar MCP problem.

  4. JimmyChung208 commented on Jul 9, 2026

    @JimmyChung208

    Same issue

    ❯ codex mcp remove github
    No MCP server named 'github' found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbugmcpskills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions