@@ -332,7 +332,7 @@ func (m *sidebarCmp) lspBlock() string {
332332
333333 lspList := []string{section, ""}
334334
335− lsp := config.Get().LSP
335+ lsp := config.Get().LSP.Sorted()
336336 if len(lsp) == 0 {
337337 return lipgloss.JoinVertical(
338338 lipgloss.Left,
@@ -342,9 +342,9 @@ func (m *sidebarCmp) lspBlock() string {
342342 )
343343 }
344344
345− for n, l := range lsp {
345+ for _, l := range lsp {
346346 iconColor := t.Success
347− if l.Disabled {
347+ if l.LSP.Disabled {
348348 iconColor = t.FgMuted
349349 }
350350 lspErrs := map[protocol.DiagnosticSeverity]int{
@@ -353,7 +353,7 @@ func (m *sidebarCmp) lspBlock() string {
353353 protocol.SeverityHint: 0,
354354 protocol.SeverityInformation: 0,
355355 }
356− if client, ok := m.lspClients[n]; ok {
356+ if client, ok := m.lspClients[l.Name]; ok {
357357 for _, diagnostics := range client.GetDiagnostics() {
358358 for _, diagnostic := range diagnostics {
359359 if severity, ok := lspErrs[diagnostic.Severity]; ok {
@@ -381,8 +381,8 @@ func (m *sidebarCmp) lspBlock() string {
381381 core.Status(
382382 core.StatusOpts{
383383 IconColor: iconColor,
384− Title: n,
385− Description: l.Command,
384+ Title: l.Name,
385+ Description: l.LSP.Command,
386386 ExtraContent: strings.Join(errs, " "),
387387 },
388388 m.width,
@@ -406,8 +406,8 @@ func (m *sidebarCmp) mcpBlock() string {
406406
407407 mcpList := []string{section, ""}
408408
409− mcp := config.Get().MCP
410− if len(mcp) == 0 {
409+ mcps := config.Get().MCP.Sorted()
410+ if len(mcps) == 0 {
411411 return lipgloss.JoinVertical(
412412 lipgloss.Left,
413413 section,
@@ -416,14 +416,17 @@ func (m *sidebarCmp) mcpBlock() string {
416416 )
417417 }
418418
419− for n, l := range mcp {
419+ for _, l := range mcps {
420420 iconColor := t.Success
421+ if l.MCP.Disabled {
422+ iconColor = t.FgMuted
423+ }
421424 mcpList = append(mcpList,
422425 core.Status(
423426 core.StatusOpts{
424427 IconColor: iconColor,
425− Title: n,
426− Description: l.Command,
428+ Title: l.Name,
429+ Description: l.MCP.Command,
427430 },
428431 m.width,
429432 ),