chore: handle disabled state for mcps

Kujtim Hoxha and Copilot created

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Change summary

internal/tui/components/chat/sidebar/sidebar.go | 3 +++
1 file changed, 3 insertions(+)

Detailed changes

internal/tui/components/chat/sidebar/sidebar.go 🔗

@@ -418,6 +418,9 @@ func (m *sidebarCmp) mcpBlock() string {
 
 	for _, l := range mcps {
 		iconColor := t.Success
+		if l.MCP.Disabled {
+			iconColor = t.FgMuted
+		}
 		mcpList = append(mcpList,
 			core.Status(
 				core.StatusOpts{