()
| 27 | |
| 28 | class IcssServer { |
| 29 | constructor() { |
| 30 | debugLog('🚀 Initializing iCSS MCP Server in debug mode'); |
| 31 | |
| 32 | this.server = new Server( |
| 33 | { |
| 34 | name: 'icss-mcp-server', |
| 35 | version: '1.1.1', |
| 36 | }, |
| 37 | { |
| 38 | capabilities: { |
| 39 | tools: {}, |
| 40 | }, |
| 41 | } |
| 42 | ); |
| 43 | |
| 44 | this.db = null; |
| 45 | this.searchEngine = null; |
| 46 | this.isReady = false; |
| 47 | this.dbInitFailed = false; |
| 48 | this.setupDatabase(); |
| 49 | this.setupHandlers(); |
| 50 | } |
| 51 | |
| 52 | setupDatabase() { |
| 53 | debugLog('📂 Setting up database connection...'); |
nothing calls this directly
no test coverage detected