Skip to content

The agent that grows with you

refactor(hermes_cli): mcp_config — wrap _lookup_server signature

Teknium03333b59efc5
diff --git a/hermes_cli/mcp_config.py b/hermes_cli/mcp_config.py
index 4930db34b1c..b9ced51313d 100644
--- a/hermes_cli/mcp_config.py
+++ b/hermes_cli/mcp_config.py
@@ -94,7 +94,9 @@ def _validate_or_warn(name: str, server_config: dict) -> bool:
return not issues
-def _lookup_server(name: str, servers: Dict[str, dict], available_label: str = "Available servers") -> Optional[dict]:
+def _lookup_server(
+ name: str, servers: Dict[str, dict], available_label: str = "Available servers"
+) -> Optional[dict]:
"""Return the named server config, or print the not-found hint and return None."""
if name in servers:
return servers[name]