Explorar o código

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

Tobias Lütke hai 1 mes
pai
achega
33bdf9a308
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/mcp/server.ts

+ 3 - 0
src/mcp/server.ts

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