Skip to content

Commit 5b73445

Browse files
authored
fix: disable discovery
This change allows connection to local database deployed to docker container
1 parent 3caf43a commit 5b73445

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ydb_mcp/connection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ async def connect(self) -> Tuple[ydb.Driver, ydb.aio.QuerySessionPool]:
8686
endpoint=endpoint,
8787
database=database,
8888
credentials=ydb.credentials.AnonymousCredentials(),
89+
disable_discovery=True,
8990
)
9091

9192
# Wait for driver to be ready with timeout

0 commit comments

Comments
 (0)