MCPcopy Create free account
hub / github.com/bytebase/dbhub / generateBanner

Function generateBanner

src/server.ts:36–50  ·  view source on GitHub ↗
(version: string, modes: string[] = [])

Source from the content-addressed store, hash-verified

34 * Generate ASCII art banner with version information
35 */
36export 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
48v${version}${modeText} - Minimal Database MCP Server
49`;
50}
51
52/**
53 * Initialize and start the DBHub server

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected