Skip to content

Commit 13f6c9a

Browse files
committed
fix: messages
1 parent 1a8c937 commit 13f6c9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ export class Server {
149149
const result = {
150150
telemetry: this.userConfig.telemetry,
151151
logPath: this.userConfig.logPath,
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.",
152+
connectionString: this.userConfig.connectionString
153+
? "set; access to MongoDB tools are currently available to use"
154+
: "not set; before using any MongoDB tool, you need to configure a connection string, alternatively you man setup MongoDB Atlas access, more info at 'https://github.com/mongodb-js/mongodb-mcp-server'.",
155155
connectOptions: this.userConfig.connectOptions,
156156
atlas:
157157
this.userConfig.apiClientId && this.userConfig.apiClientSecret

0 commit comments

Comments
 (0)