File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ export class Server {
165165
166166 public sendResourceUpdated ( uri : string ) : void {
167167 this . session . logger . info ( {
168- id : LogId . serverInitialized ,
168+ id : LogId . resourceUpdateFailure ,
169169 context : "resources" ,
170170 message : `Resource updated: ${ uri } ` ,
171171 } ) ;
@@ -271,13 +271,13 @@ export class Server {
271271 This is the MongoDB MCP server.
272272 ` ;
273273 if ( this . userConfig . connectionString ) {
274- instructions = `
274+ instructions + = `
275275 This MCP server was configured with a MongoDB connection string, and you can assume that you are connected to a MongoDB cluster.
276276 ` ;
277277 }
278278
279279 if ( this . userConfig . apiClientId && this . userConfig . apiClientSecret ) {
280- instructions = `
280+ instructions + = `
281281 This MCP server was configured with MongoDB Atlas API credentials.` ;
282282 }
283283
Original file line number Diff line number Diff line change @@ -107,9 +107,9 @@ export class ConnectTool extends MongoDBToolBase {
107107 } ) ;
108108
109109 this . update ?.( {
110- name : name ,
111- description : description ,
112- inputSchema : inputSchema ,
110+ name,
111+ description,
112+ inputSchema,
113113 } ) ;
114114 }
115115}
You can’t perform that action at this time.
0 commit comments