[PR #12944] fix(tui): add missing keybind for Toggle MCPs #14445

Open
opened 2026-02-16 18:19:14 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12944

State: open
Merged: No


What does this PR do?

Fixes #12943
Adds a missing TUI keybind for Toggle MCPs by:

How did you verify your code works?

  • bun run typecheck (in packages/opencode)
  • bun test test/keybind.test.ts (in packages/opencode)
  • manual check in TUI: Toggle MCPs now shows and responds to <leader>;
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12944 **State:** open **Merged:** No --- ### What does this PR do? Fixes #12943 Adds a missing TUI keybind for `Toggle MCPs` by: - adding `mcp_list` to the TUI keybind schema (default: `<leader>;`) - wiring the `mcp.list` command to `keybind: "mcp_list"` - documenting `mcp_list` in the keybind docs example - regenerating OpenAPI/SDK generated types for the new config key This reuses the same shortcut intent as the web app (`mod+;`), using the TUI equivalent `<leader>;` for consistency: https://github.com/anomalyco/opencode/blob/dev/packages/app/src/pages/session/use-session-commands.tsx#L216 ### How did you verify your code works? - `bun run typecheck` (in `packages/opencode`) - `bun test test/keybind.test.ts` (in `packages/opencode`) - manual check in TUI: `Toggle MCPs` now shows and responds to `<leader>;`
yindo added the pull-request label 2026-02-16 18:19:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14445