File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ export const config = {
3
3
version : process . env . VERSION || "1.0.0" ,
4
4
apiBaseURL : process . env . API_BASE_URL || "https://cloud.mongodb.com/" ,
5
5
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" ) ,
7
7
projectID : process . env . PROJECT_ID ,
8
8
} ;
9
9
export default config ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export const config = {
4
4
version : process . env . VERSION || "1.0.0" ,
5
5
apiBaseURL : process . env . API_BASE_URL || "https://cloud.mongodb.com/" ,
6
6
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" ) ,
8
8
projectID : process . env . PROJECT_ID ,
9
9
} ;
10
10
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export class Server {
36
36
this . initiated = true ;
37
37
}
38
38
39
- async ensureAuthenticated ( ) {
39
+ private async ensureAuthenticated ( ) {
40
40
switch ( this . state ! . auth . status ) {
41
41
case "not_auth" :
42
42
return false ;
@@ -221,7 +221,7 @@ export class Server {
221
221
}
222
222
}
223
223
224
- mcpServer ( ) : McpServer {
224
+ private mcpServer ( ) : McpServer {
225
225
const server = new McpServer ( {
226
226
name : "MongoDB Atlas" ,
227
227
version : process . env . VERSION || "1.0.0" ,
You can’t perform that action at this time.
0 commit comments