File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ export class Server {
7070 this . userConfig = userConfig ;
7171 this . elicitation = elicitation ;
7272 this . connectionErrorHandler = connectionErrorHandler ;
73- this . toolConstructors = toolConstructors ?? [ ...AtlasTools , ...MongoDbTools ] ;
73+ this . toolConstructors = toolConstructors ?? [ ...AtlasTools , ...MongoDbTools , ... AtlasLocalTools ] ;
7474 }
7575
7676 async connect ( transport : Transport ) : Promise < void > {
@@ -222,7 +222,7 @@ export class Server {
222222 }
223223
224224 private registerTools ( ) : void {
225- for ( const toolConstructor of [ ... this . toolConstructors , ... AtlasLocalTools ] ) {
225+ for ( const toolConstructor of this . toolConstructors ) {
226226 const tool = new toolConstructor ( {
227227 session : this . session ,
228228 config : this . userConfig ,
You can’t perform that action at this time.
0 commit comments