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 = {
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} ;
99export default config ;
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments