Skip to content

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

@kevin-valerio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serversskillsIssues related to skills

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions