| 34 | * Generate ASCII art banner with version information |
| 35 | */ |
| 36 | export function generateBanner(version: string, modes: string[] = []): string { |
| 37 | // Create a mode string that includes all active modes |
| 38 | const modeText = modes.length > 0 ? ` [${modes.join(' | ')}]` : ''; |
| 39 | |
| 40 | return ` |
| 41 | _____ ____ _ _ _ |
| 42 | | __ \\| _ \\| | | | | | |
| 43 | | | | | |_) | |_| |_ _| |__ |
| 44 | | | | | _ <| _ | | | | '_ \\ |
| 45 | | |__| | |_) | | | | |_| | |_) | |
| 46 | |_____/|____/|_| |_|\\__,_|_.__/ |
| 47 | |
| 48 | v${version}${modeText} - Minimal Database MCP Server |
| 49 | `; |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * Initialize and start the DBHub server |