Skip to content

feat: add click-to-toggle functionality for MCP servers in sidebar#227

Open
ariane-emory wants to merge 6 commits intodevfrom
feat/clickable-sidebar-mcps
Open

feat: add click-to-toggle functionality for MCP servers in sidebar#227
ariane-emory wants to merge 6 commits intodevfrom
feat/clickable-sidebar-mcps

Conversation

@ariane-emory
Copy link
Owner

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Allows the user to enable or disable MCP servers by clicking on the MCP servers listed in the sidebar.

  • Add click handlers to MCP server entries in the TUI sidebar
  • Integrate with existing local.mcp.toggle() API
  • Add loading state to prevent concurrent toggles
  • Show 'Loading...' indicator during toggle operations
  • Refresh MCP status from server after toggle
  • Maintain visual feedback with muted text during loading

ariane-emory and others added 5 commits March 4, 2026 08:44
- Add click handlers to MCP server entries in the TUI sidebar
- Integrate with existing local.mcp.toggle() API
- Add loading state to prevent concurrent toggles
- Show 'Loading...' indicator during toggle operations
- Refresh MCP status from server after toggle
- Maintain visual feedback with muted text during loading
Use the proper logging utility instead of console.error for the MCP toggle error.
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.

1 participant