MCPcopy Create free account
hub / github.com/chokcoco/iCSS / constructor

Method constructor

MCP/server.js:29–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28class 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...');

Callers

nothing calls this directly

Calls 3

setupDatabaseMethod · 0.95
setupHandlersMethod · 0.95
debugLogFunction · 0.70

Tested by

no test coverage detected