From 487a3b3f50c7cd8bfef74fd2ceec4944386d6471 Mon Sep 17 00:00:00 2001 From: Gopar Date: Mon, 19 Jan 2026 23:58:51 -0800 Subject: [PATCH] Expand `~` when given an mcp servers file --- cecli/mcp/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cecli/mcp/utils.py b/cecli/mcp/utils.py index 5642a9b9aae..0bfc919f991 100644 --- a/cecli/mcp/utils.py +++ b/cecli/mcp/utils.py @@ -75,7 +75,7 @@ def _resolve_mcp_config_path(file_path, io, verbose=False): return None # If the path is absolute or already exists, use it as-is - path = Path(file_path) + path = Path(file_path).expanduser() if path.is_absolute() or path.exists(): return str(path.resolve())