Skip to content

Commit 09f1416

Browse files
committed
fix: visibility
1 parent 3a19594 commit 09f1416

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export const config = {
33
version: process.env.VERSION || "1.0.0",
44
apiBaseURL: process.env.API_BASE_URL || "https://cloud.mongodb.com/",
55
clientID: process.env.CLIENT_ID || "0oabtxactgS3gHIR0297",
6-
stateFile: process.env.STATE_FILE || path.resolve("state.json"),
6+
stateFile: process.env.STATE_FILE || path.resolve("./state.json"),
77
projectID: process.env.PROJECT_ID,
88
};
99
export default config;

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const config = {
44
version: process.env.VERSION || "1.0.0",
55
apiBaseURL: process.env.API_BASE_URL || "https://cloud.mongodb.com/",
66
clientID: process.env.CLIENT_ID || "0oabtxactgS3gHIR0297",
7-
stateFile: process.env.STATE_FILE || path.resolve("state.json"),
7+
stateFile: process.env.STATE_FILE || path.resolve("./state.json"),
88
projectID: process.env.PROJECT_ID,
99
};
1010

src/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class Server {
3636
this.initiated = true;
3737
}
3838

39-
async ensureAuthenticated() {
39+
private async ensureAuthenticated() {
4040
switch (this.state!.auth.status) {
4141
case "not_auth":
4242
return false;
@@ -221,7 +221,7 @@ export class Server {
221221
}
222222
}
223223

224-
mcpServer(): McpServer {
224+
private mcpServer(): McpServer {
225225
const server = new McpServer({
226226
name: "MongoDB Atlas",
227227
version: process.env.VERSION || "1.0.0",

0 commit comments

Comments
 (0)