Skip to content

Commit 3547ea7

Browse files
committed
Add server config normalization before converting from client format
1 parent 84e3fc6 commit 3547ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcpm/clients/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ def get_server(self, server_name: str) -> Optional[ServerConfig]:
556556
logger.debug(f"Server {server_name} not found in {self.display_name} config")
557557
return None
558558

559-
return self.from_client_format(server_name, server_config)
559+
return self.from_client_format(server_name, self._normalize_server_config(server_config))
560560

561561
def add_server(self, server_config: Union[ServerConfig, Dict[str, Any]], name: Optional[str] = None) -> bool:
562562
"""Add or update a server in the client config

0 commit comments

Comments
 (0)