diff --git a/frontend/src/app/(dashboard)/agents/_components/mcp-configuration.tsx b/frontend/src/app/(dashboard)/agents/_components/mcp-configuration.tsx index ac1af003..f78604d0 100644 --- a/frontend/src/app/(dashboard)/agents/_components/mcp-configuration.tsx +++ b/frontend/src/app/(dashboard)/agents/_components/mcp-configuration.tsx @@ -6,7 +6,7 @@ import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, D import { Card } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { ScrollArea } from '@/components/ui/scroll-area'; -import { Loader2, Search, Plus, Settings, ExternalLink, Shield, X, Sparkles, ChevronRight, Database, Cloud, Code, FileText, Puzzle, Globe, Bot, Zap, GitBranch, MessageCircle, Calendar, ShoppingCart, HeadphonesIcon, Wrench } from 'lucide-react'; +import { Loader2, Search, Plus, Settings, ExternalLink, Shield, X, Sparkles, ChevronRight } from 'lucide-react'; import { usePopularMCPServers, usePopularMCPServersV2, useMCPServers, useMCPServerDetails } from '@/hooks/react-query/mcp/use-mcp-servers'; import { cn } from '@/lib/utils'; @@ -30,32 +30,32 @@ interface ConfigDialogProps { } const categoryIcons = { - "AI & Search": Bot, - "Development & Version Control": GitBranch, - "Automation & Productivity": Zap, - "Communication & Collaboration": MessageCircle, - "Project Management": Calendar, - "Data & Analytics": Database, - "Cloud & Infrastructure": Cloud, - "File Storage": FileText, - "Marketing & Sales": ShoppingCart, - "Customer Support": HeadphonesIcon, - "Finance": Database, - "Utilities": Wrench, - "Other": Puzzle, + "AI & Search": "🤖", + "Development & Version Control": "🔧", + "Automation & Productivity": "⚡", + "Communication & Collaboration": "💬", + "Project Management": "📅", + "Data & Analytics": "📊", + "Cloud & Infrastructure": "☁️", + "File Storage": "📁", + "Marketing & Sales": "🛒", + "Customer Support": "🎧", + "Finance": "💰", + "Utilities": "🔨", + "Other": "🧩", // Legacy fallbacks - "development": GitBranch, - "ai": Bot, - "automation": Zap, - "search": Bot, - "Database": Database, - "Web": Globe, - "File": FileText, - "Development": Code, - "AI": Bot, - "Cloud": Cloud, - "Utility": Zap, - "Integration": Puzzle, + "development": "🔧", + "ai": "🤖", + "automation": "⚡", + "search": "🔍", + "Database": "📊", + "Web": "🌐", + "File": "📄", + "Development": "💻", + "AI": "🤖", + "Cloud": "☁️", + "Utility": "⚡", + "Integration": "🧩", }; const ConfigDialog: React.FC = ({ server, existingConfig, onSave, onCancel }) => { @@ -337,13 +337,11 @@ export const MCPConfiguration: React.FC = ({ className={cn("w-full justify-start shadow-none bg-transparent text-primary hover:bg-muted hover:text-primary", selectedCategory === null && "bg-primary/5 text-foreground")} onClick={() => setSelectedCategory(null)} > - + 🌐 All Categories {categories.map((category) => { - const IconComponent = categoryIcons[category] || Puzzle; const count = popularServersV2?.categorized[category]?.length || 0; - return (