We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a0fe0 commit cac95a7Copy full SHA for cac95a7
src/config.ts
@@ -46,7 +46,7 @@ function getLocalDataPath(): { localDataPath: string; configPath: string } {
46
const localAppData = process.env.LOCALAPPDATA ?? process.env.APPDATA;
47
if (localAppData && appData) {
48
localDataPath = path.join(localAppData, "mongodb", "mongodb-mcp");
49
- configPath = path.join(localAppData, "mongodb", "mongodb-mcp.conf");
+ configPath = path.join(localDataPath, "mongodb-mcp.conf");
50
}
51
52
0 commit comments