There was an error while loading. Please reload this page.
1 parent cad1abc commit c7df829Copy full SHA for c7df829
src/main.py
@@ -56,7 +56,9 @@ def cli(
56
"""Redis MCP Server - Model Context Protocol server for Redis."""
57
58
# Handle Redis URI if provided (and not empty)
59
- if url and url.strip():
+ # Note: gemini-cli passes the raw "${REDIS_URL}" string when the env var is not set
60
+
61
+ if url and url.strip() and url.strip() != "${REDIS_URL}":
62
try:
63
uri_config = parse_redis_uri(url)
64
set_redis_config_from_cli(uri_config)
0 commit comments