From 8e5abb905ca3c97e4f895a4703ffb63d42c58555 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Tue, 8 Jul 2025 14:17:00 +0200 Subject: [PATCH] chore: handle disabled state for mcps Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- internal/tui/components/chat/sidebar/sidebar.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/tui/components/chat/sidebar/sidebar.go b/internal/tui/components/chat/sidebar/sidebar.go index 3480a5049fb597ea13aa8808d3c1e0c9dd32b9b4..3d8338c2b40b33febd9d78f2649cc3aa06337db6 100644 --- a/internal/tui/components/chat/sidebar/sidebar.go +++ b/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{