You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
? "set; no explicit connect needed, use switch-connection tool to connect to a different connection if necessary"
154
-
: "not set; before using any mongodb tool, you need to call the connect tool with a connection string",
152
+
mode: this.userConfig.connectionString
153
+
? "MongoDB; access to MongoDB tools is available"
154
+
: "not set; before using any MongoDB tool, you need to configure a connection string, more info at 'https://github.com/mongodb-js/mongodb-mcp-server', alternatively you man setup MongoDB Atlas access.",
? "set; MongoDB Atlas tools are currently available to use"
159
+
: "not set; MongoDB Atlas tools are currently unavailable, to have access to MongoDB Atlas tools like creating clusters or connecting to clusters make sure to setup credentials, more info at 'https://github.com/mongodb-js/mongodb-mcp-server'.",
156
160
};
157
161
return{
158
162
contents: [
@@ -164,25 +168,6 @@ export class Server {
164
168
};
165
169
}
166
170
);
167
-
if(this.userConfig.connectionString){
168
-
this.mcpServer.resource(
169
-
"connection-string",
170
-
"config://connection-string",
171
-
{
172
-
description: "Preconfigured connection string that will be used as a default in the `connect` tool",
0 commit comments