You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Add filter for active integrations and ability to disconnect / revoke credentials. #57680
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:
A way to filter the list by active/connected integrations.
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."
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.
Activity
opencode-agent commentedon Oct 21, 2026
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:
ctrl+d(press it twice to confirm) removes the stored key or token, andctrl+rrenames the account.opencode auth logoutremoves stored credentials.There's currently no filter for connected integrations. Integrations connected through an environment variable only show
$VAR_NAMEin the row and don't explain how to disconnect them. The maintainers will consider both of these.Related issues:
/connectshows providers that are disabled in the config #54145:/connectshowing providers that are disabled in config