-
Notifications
You must be signed in to change notification settings - Fork 7
fix: disable discovery #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This change allows connection to local database deployed to docker container
|
Hello, thanks for the PR :) Why do you need to disable discovery? |
|
This PR adds The problem this fixes (reproducible)When YDB runs in Docker, discovery returns node addresses based on the container’s hostname (often a random container ID or This is amplified by YDB’s own quickstart recipes, which commonly run local YDB with Why disabling discovery is the safest default for MCP
Trade-offs and impact
Configurability (if you prefer a switch)If you’d rather keep discovery available, I’m happy to add a config flag/env var, e.g. Alternatives considered (and why they’re weaker defaults)
Disabling discovery by default makes MCP reliable in real-world developer environments with virtually no downside for this tool. Users who need discovery can turn it back on via a flag/env var. |
vgvoleg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! Can you fix changes I requested in previous comment?
This change allows connection to local database deployed to docker container