fix(mcp): preserve FalkorDB URI username#1530
Conversation
695badb to
81ba8dc
Compare
|
I have read the CLA Document and I hereby sign the CLA behalf on myself, e-mail: [email protected] or I have read the CLA Document and I hereby sign the CLA behalf of my company, e-mail: [email protected] Signature is valid for 6 months. This bot will be retriggered when the Contributor License Agreement comment has been provided. Posted by the CLA Assistant Lite bot. |
|
Rebased this branch onto the latest upstream Validated locally:
The remaining GitHub failures appear to be repository automation credentials ( |
81ba8dc to
d3ab134
Compare
|
Rebased this branch onto current Validation: Remaining non-code item: the CLA Assistant still requires the contributor agreement comment from my account. |
d3ab134 to
7f7099b
Compare
|
Rebased this branch onto the current Validation: Current head: I have read the CLA Document and I hereby sign the CLA on behalf of myself, e-mail: [email protected] |
|
I have read the CLA Document and I hereby sign the CLA behalf on myself, e-mail: [email protected] |
Summary
Fixes #1522.
FalkorDB Cloud URIs can include a username, for example
redis://falkordb:<password>@host:port. The MCP server factory parsed host and port fromFALKORDB_URI, but droppedparsed.username;GraphitiServicethen builtFalkorDriverwithout a username, so the client authenticated as the implicit Redis default user.This keeps the existing URI/password behavior and adds username propagation:
FALKORDB_URIFALKORDB_USERNAME/ config username to override itFalkorDriverTo verify
$env:PYTHONPATH='..;src'; python -m pytest tests\test_falkordb_config.py -q->2 passedpython -m py_compile src\config\schema.py src\services\factories.py src\graphiti_mcp_server.py tests\test_falkordb_config.pypython -m ruff check src\config\schema.py src\services\factories.py src\graphiti_mcp_server.py tests\test_falkordb_config.pypython -m ruff format --check src\config\schema.py src\services\factories.py src\graphiti_mcp_server.py tests\test_falkordb_config.pygit diff --check