Skip to content

Conversation

@sudo-tee
Copy link
Owner

@sudo-tee sudo-tee commented Jan 14, 2026

Add new MCP picker UI that allows users to interactively view and toggle MCP server connections. Replace the static MCP server list view with a dynamic picker interface that supports connecting/disconnecting servers via API calls.

Changes:

  • Add mcp_picker module with format, toggle, and selection logic
  • Add API client methods for list_mcp_servers, connect_mcp, disconnect_mcp
  • Refactor base_picker to support flexible multi-part item formatting with highlights
  • Add mcp_picker.toggle_connection keymap () to config
image

This should fix #168

Add new MCP picker UI that allows users to interactively view and toggle MCP server connections. Replace the static MCP server list view with a dynamic picker interface that supports connecting/disconnecting servers via API calls.

Changes:
- Add mcp_picker module with format, toggle, and selection logic
- Add API client methods for list_mcp_servers, connect_mcp, disconnect_mcp
- Refactor base_picker to support flexible multi-part item formatting with highlights
- Add mcp_picker.toggle_connection keymap (<C-t>) to config

This should fix #168
@sudo-tee sudo-tee merged commit 5b93cef into main Jan 14, 2026
10 checks passed
aweis89 pushed a commit to aweis89/opencode.nvim that referenced this pull request Jan 29, 2026
…udo-tee#185)

* feat(mcp): add interactive MCP server picker with connection toggle

Add new MCP picker UI that allows users to interactively view and toggle MCP server connections. Replace the static MCP server list view with a dynamic picker interface that supports connecting/disconnecting servers via API calls.

Changes:
- Add mcp_picker module with format, toggle, and selection logic
- Add API client methods for list_mcp_servers, connect_mcp, disconnect_mcp
- Refactor base_picker to support flexible multi-part item formatting with highlights
- Add mcp_picker.toggle_connection keymap (<C-t>) to config

This should fix sudo-tee#168
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Toggle MCPs like OpenCode TUI's /mcp

2 participants