mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
feat: lazy load mcp server
This commit is contained in:
@@ -6,7 +6,7 @@ import { getVersion } from "core/env";
|
||||
export function getSystemMcp(app: App) {
|
||||
const middlewareServer = getMcpServer(app.server);
|
||||
|
||||
const appConfig = app.modules.configs();
|
||||
//const appConfig = app.modules.configs();
|
||||
const { version, ...appSchema } = app.getSchema();
|
||||
const schema = s.strictObject(appSchema);
|
||||
const result = [...schema.walk({ maxDepth: 3 })];
|
||||
|
||||
Reference in New Issue
Block a user