Просмотр исходного кода

Merge pull request #537 from fenrire/fix/mcp-production-mode

Tobias Lütke 1 месяц назад
Родитель
Сommit
33bdf9a308
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/mcp/server.ts

+ 3 - 0
src/mcp/server.ts

@@ -30,6 +30,9 @@ import {
   type IndexStatus,
   type IndexStatus,
 } from "../index.js";
 } from "../index.js";
 import { getConfigPath } from "../collections.js";
 import { getConfigPath } from "../collections.js";
+import { enableProductionMode } from "../store.js";
+
+enableProductionMode();
 
 
 // =============================================================================
 // =============================================================================
 // Types for structured content
 // Types for structured content