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 5693c22 commit 26cc9faCopy full SHA for 26cc9fa
src/tools/atlasLocal/atlasLocalTool.ts
@@ -44,6 +44,12 @@ please log a ticket here: https://github.com/mongodb-js/mongodb-mcp-server/issue
44
containerId: string,
45
46
): Promise<void> {
47
+ // Don't run if telemetry is disabled
48
+ if (this.config.telemetry === "disabled") {
49
+ return;
50
+ }
51
+
52
+ // Lookup the deployment id and add it to the telemetry metadata
53
const deploymentId = await client.getDeploymentId(containerId);
54
this.deploymentId = deploymentId;
55
}
0 commit comments