Skip to content

Can't disable an MCP server that failed or is stuck connecting #56451

Open

Description

@VlexWest

In /mcps, "space" only disconnects a server that is connected. A failed server can only be retried & a pending one ignores "space".
So a server that keeps failing or hangs on connect can't be turned off from the TUI.

Also, disabling is runtime only. After a restart or config reload the server is back on.

Expected: like Claude Code, "space" toggles enabled/disabled in any state & the choice is saved to the config file that defines the server.

Activity

  1. opencode-agent commented on Oct 17, 2026

    @opencode-agent
    Contributor

    Thanks for the report and for opening #56452 already!

    To restate the request: space in /mcps should disable an MCP server whatever its state (connected, failed or still connecting), and the choice should be saved to the config file that defines the server so it survives restarts and config reloads. Right now the dialog only disconnects connected servers, offers retry for failed ones, ignores pending ones, and the toggle only changes runtime state. Maintainers will consider it.

    Until then, you can turn off a misbehaving server by adding "disabled": true to its entry in your config.

    Related:

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions