"use client"; import { Search } from "lucide-react"; interface MCPSearchBarProps { value: string; onChange: (value: string) => void; onSearch: () => void; } export function MCPSearchBar({ value, onChange, onSearch }: MCPSearchBarProps) { const handleKeyPress = (e: React.KeyboardEvent) => { if (e.key === "Enter") { onSearch(); } }; return (