File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
22import { type OperationType , type ToolArgs , formatUntrustedData } from "../../tool.js" ;
33import { AtlasToolBase } from "../atlasTool.js" ;
44import type { Cluster } from "../../../common/atlas/cluster.js" ;
5- import { inspectCluster } from "../../../common/atlas/cluster.js" ;
5+ import { getConnectionString , inspectCluster } from "../../../common/atlas/cluster.js" ;
66import { AtlasArgs } from "../../args.js" ;
77
88export const InspectClusterArgs = {
@@ -31,10 +31,7 @@ export class InspectClusterTool extends AtlasToolBase {
3131 instanceSize : formattedCluster . instanceSize || "N/A" ,
3232 state : formattedCluster . state || "UNKNOWN" ,
3333 mongoDBVersion : formattedCluster . mongoDBVersion || "N/A" ,
34- connectionString :
35- formattedCluster . connectionStrings ?. standardSrv ||
36- formattedCluster . connectionStrings ?. standard ||
37- "N/A" ,
34+ connectionStrings : formattedCluster . connectionStrings || "N/A" ,
3835 } ;
3936
4037 return {
You can’t perform that action at this time.
0 commit comments