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())