Skip to content

[FEATURE]: Add filter for active integrations and ability to disconnect / revoke credentials. #57680

Open

Description

@Draqun

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Summary

The current "Connect an integration" menu displays all available providers, marking connected ones with a checkmark. However, as the list of services grows, it becomes difficult to quickly manage already active integrations.

I would like to propose adding:

  1. A way to filter the list by active/connected integrations.
  2. The ability to disconnect an integration directly from this menu (or clear/unset the associated credentials).

Problem / Motivation

  • Finding active services: With dozens of services listed under categories like MCP, Popular, and Services, users have to scroll through the full list to check what is currently connected.
  • Disconnecting / Revoking: Currently, it is not immediately clear how to disconnect a provider or revoke credentials once added. If an integration was enabled via an API key stored by OpenCode, there should be an option to remove it. If the provider is active due to an environment variable, the UI should guide the user on which environment variable needs to be removed.

Proposed Solution / UX Ideas

  • Filter:
    • Add a dedicated category or filter option at the top (e.g., Connected / Active section, or a quick filter toggle/shortcut like is:connected).
  • Management / Disconnect action:
    • Selecting an already connected provider could open a submenu or modal with an option to:
      • Disconnect / Remove API key: Delete the stored key/token from config.
      • Env var hint: If the provider is activated via an environment variable (e.g., ANTHROPIC_API_KEY, OPENAI_API_KEY), display a message explaining how to unset it: "Connected via environment variable ENV_VAR_NAME. Unset or remove this variable from your environment to disconnect."
Currently cannot see only connected providers

Activity

  1. opencode-agent commented on Oct 21, 2026

    @opencode-agent
    Contributor

    Thanks for the suggestion, @Draqun! You're asking for a way to show only connected integrations in the "Connect an integration" dialog, and for a clearer way to disconnect them. For integrations activated by an environment variable, you'd like a hint saying which variable to unset.

    Some of this already works today:

    • If you select an integration that has credentials stored by OpenCode (✓), it opens a Connected accounts view. There, ctrl+d (press it twice to confirm) removes the stored key or token, and ctrl+r renames the account.
    • From the CLI, opencode auth logout removes stored credentials.

    There's currently no filter for connected integrations. Integrations connected through an environment variable only show $VAR_NAME in the row and don't explain how to disconnect them. The maintainers will consider both of these.

    Related issues:

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