diff --git a/src/App.tsx b/src/App.tsx index 29be74cb..498b2956 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -11,7 +11,6 @@ import { // Bot, // TODO: Agents 功能开发中,暂时不需要 Book, Wrench, - Server, RefreshCw, Search, Download, @@ -52,6 +51,7 @@ import UnifiedSkillsPanel from "@/components/skills/UnifiedSkillsPanel"; import { DeepLinkImportDialog } from "@/components/DeepLinkImportDialog"; import { AgentsPanel } from "@/components/agents/AgentsPanel"; import { UniversalProviderPanel } from "@/components/universal"; +import { McpIcon } from "@/components/BrandIcons"; import { Button } from "@/components/ui/button"; type View = @@ -943,7 +943,7 @@ function App() { className="text-muted-foreground hover:text-foreground hover:bg-black/5 dark:hover:bg-white/5" title={t("mcp.title")} > - + diff --git a/src/components/BrandIcons.tsx b/src/components/BrandIcons.tsx index 54ead109..f6a68c67 100644 --- a/src/components/BrandIcons.tsx +++ b/src/components/BrandIcons.tsx @@ -46,3 +46,21 @@ export function GeminiIcon({ size = 16, className = "" }: IconProps) { /> ); } + +// MCP icon uses inline SVG to support currentColor for hover effects +export function McpIcon({ size = 16, className = "" }: IconProps) { + return ( + + + + + ); +}