From 7ab58e4e00cf4a8450f268da0102064dfc65dfdb Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 10 May 2026 23:09:15 -0400 Subject: [PATCH] fix(mcp): configure mcp_client after files are loaded _load_active_project() was calling _configure_mcp_for_project() BEFORE _refresh_from_project() which populates self.files. Now it calls _refresh_from_project() first so mcp_client gets configured with the actual file list that includes gencpp paths. --- src/app_controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app_controller.py b/src/app_controller.py index d9d888d..96f6827 100644 --- a/src/app_controller.py +++ b/src/app_controller.py @@ -1544,6 +1544,7 @@ class AppController: self.active_project_path = fallback_path if fallback_path not in self.project_paths: self.project_paths.append(fallback_path) + self._refresh_from_project() self._configure_mcp_for_project() def _prune_old_logs(self) -> None: