diff --git a/client/src/components/MCP/StackedMCPIcons.tsx b/client/src/components/MCP/StackedMCPIcons.tsx index fa04928210..bf9e8566f0 100644 --- a/client/src/components/MCP/StackedMCPIcons.tsx +++ b/client/src/components/MCP/StackedMCPIcons.tsx @@ -2,6 +2,7 @@ import { useMemo } from 'react'; import { MCPIcon } from '@librechat/client'; import type { MCPServerDefinition } from '~/hooks/MCP/useMCPServerManager'; import { getSelectedServerIcons } from './mcpServerUtils'; +import ClickHouseIcon from './ClickHouseIcon'; import { cn } from '~/utils'; interface StackedMCPIconsProps { @@ -58,8 +59,31 @@ export default function StackedMCPIcons({ const sizes = sizeConfig[iconSize]; const colors = variantConfig[variant]; + const renderIcon = (icon: { iconPath: string | null; displayName: string }) => { + if (icon.iconPath === 'clickhouse') { + return ( + + ); + } + + if (icon.iconPath) { + return ( + {icon.displayName} + ); + } + + return ; + }; + return ( -