Summary
Toggling MCP servers via the command palette (Ctrl+P → "Toggle MCPs" → spacebar) has no effect. The server's disabled state does not change.
Environment
- opencode version: opencode2 v0.0.0-next-15355
- OS: Darwin 25.5.0 (darwin arm64) — MacBook Pro
- Terminal: TERM=xterm-256color, COLORTERM=truecolor
- Shell: /bin/zsh
- Install/channel: next
- Active plugins: None found in config
Reproduction
- Open opencode TUI
- Press
Ctrl+P to open the command palette
- Select "Toggle MCPs"
- Navigate to an MCP server entry and press the spacebar
- Observe that nothing happens — the server's enabled/disabled state does not change
Expected Behavior
Pressing spacebar on an MCP server in the "Toggle MCPs" dialog should toggle its enabled/disabled state (and optionally persist the change to config).
Actual Behavior
Nothing happens. The MCP server remains in its current state (enabled or disabled) regardless of the spacebar press.
Additional Context
- MCP servers are defined across three config files:
opencode.jsonc (repo root) — 4 AWS servers, all disabled: true
apps/frontend/opencode.json — 1 server (prompt-kit)
~/.config/opencode/opencode.jsonc — 2 servers (github_grep, chrome-devtools), both disabled: false
- The issue is reproducible consistently across all MCP server entries.
- No error messages are displayed in the TUI when attempting to toggle.
Summary
Toggling MCP servers via the command palette (
Ctrl+P→ "Toggle MCPs" → spacebar) has no effect. The server's disabled state does not change.Environment
Reproduction
Ctrl+Pto open the command paletteExpected Behavior
Pressing spacebar on an MCP server in the "Toggle MCPs" dialog should toggle its enabled/disabled state (and optionally persist the change to config).
Actual Behavior
Nothing happens. The MCP server remains in its current state (enabled or disabled) regardless of the spacebar press.
Additional Context
opencode.jsonc(repo root) — 4 AWS servers, alldisabled: trueapps/frontend/opencode.json— 1 server (prompt-kit)~/.config/opencode/opencode.jsonc— 2 servers (github_grep, chrome-devtools), bothdisabled: false