import { FormProvider } from 'react-hook-form'; import type { useMCPServerForm } from './hooks/useMCPServerForm'; import ConnectionSection from './sections/ConnectionSection'; import BasicInfoSection from './sections/BasicInfoSection'; import TransportSection from './sections/TransportSection'; import TrustSection from './sections/TrustSection'; import AuthSection from './sections/AuthSection'; interface MCPServerFormProps { formHook: ReturnType; } export default function MCPServerForm({ formHook }: MCPServerFormProps) { const { methods, isEditMode, server } = formHook; return (
); }