diff --git a/desktop/src/features/agents/ui/McpServersSection.tsx b/desktop/src/features/agents/ui/McpServersSection.tsx index b4d92af1ce..3e6c93ca5d 100644 --- a/desktop/src/features/agents/ui/McpServersSection.tsx +++ b/desktop/src/features/agents/ui/McpServersSection.tsx @@ -29,6 +29,15 @@ export function McpServersSection({ variant === "compact" ? "mt-3 pt-2" : "divide-y divide-border/50", )} > +
+ MCP Servers +
+ {isBuzzAgent && buzzAgentSlot ? buzzAgentSlot : null} {extensions.length > 0 ? ( diff --git a/desktop/tests/e2e/config-bridge-screenshots.spec.ts b/desktop/tests/e2e/config-bridge-screenshots.spec.ts index 754c79f9c5..ef20e7b4a6 100644 --- a/desktop/tests/e2e/config-bridge-screenshots.spec.ts +++ b/desktop/tests/e2e/config-bridge-screenshots.spec.ts @@ -247,10 +247,10 @@ test.describe("config bridge screenshots", () => { // Advanced runtime fields render directly in the profile panel's flat list. await expect(panel.getByText("active_provider")).toBeVisible(); - // MCP servers render once each, without the removed summary row. + // MCP servers render once each under their group label. await expect(panel.getByText("developer", { exact: true })).toHaveCount(1); await expect(panel.getByText("MCP Servers", { exact: true })).toHaveCount( - 0, + 1, ); await settleAnimations(panel); @@ -275,7 +275,7 @@ test.describe("config bridge screenshots", () => { panel.getByText("No custom servers configured", { exact: true }), ).toBeVisible(); await expect(panel.getByText("MCP Servers", { exact: true })).toHaveCount( - 0, + 1, ); });