1. Describe the bug
Running strata auth <server> exits 0 with no output when the server exists in config but hasn't actually connected. The user thinks auth worked. It didn't — nothing happened.
authenticate_server() in mcp_client_manager.py:73 checks if server_name in self.active_clients but there's no else branch. If the condition is false, the function just returns None. The CLI at cli.py:168 treats that as success.
2. To reproduce
strata add --type sse my-server http://localhost:9999/sse
- Don't start the server (so it never connects to strata)
strata auth my-server
- Command exits 0, prints nothing. No error, no success message.
3. Expected behavior
Non-zero exit code and an error message like "Server 'my-server' is not connected".
4. Environment
- Affected MCP Server Name: open-strata (core)
- MCP Server Version/Commit: main HEAD
- Klavis Service:
1. Describe the bug
Running
strata auth <server>exits 0 with no output when the server exists in config but hasn't actually connected. The user thinks auth worked. It didn't — nothing happened.authenticate_server()inmcp_client_manager.py:73checksif server_name in self.active_clientsbut there's no else branch. If the condition is false, the function just returns None. The CLI atcli.py:168treats that as success.2. To reproduce
strata add --type sse my-server http://localhost:9999/ssestrata auth my-server3. Expected behavior
Non-zero exit code and an error message like "Server 'my-server' is not connected".
4. Environment