소스 검색

fix(mcp): call enableProductionMode before getDefaultDbPath

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jungholee 1 개월 전
부모
커밋
9dd8a738f9
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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