@calltelemetry/ct-lab-mcp 0.8.48 → 0.8.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/ct-lab-mcp.js +8 -3
- package/package.json +1 -1
package/dist/bin/ct-lab-mcp.js
CHANGED
|
@@ -459,9 +459,6 @@ export async function runCli(argv = process.argv, runOptions = {}) {
|
|
|
459
459
|
process.exit(2);
|
|
460
460
|
}
|
|
461
461
|
credentialError = err;
|
|
462
|
-
if (!runOptions.suppressLogs) {
|
|
463
|
-
console.error(`[ct-lab-mcp] Credential resolution failed (${err.reason}); starting diagnostic-only stdio server.`);
|
|
464
|
-
}
|
|
465
462
|
}
|
|
466
463
|
else {
|
|
467
464
|
throw err;
|
|
@@ -469,6 +466,13 @@ export async function runCli(argv = process.argv, runOptions = {}) {
|
|
|
469
466
|
}
|
|
470
467
|
hostConfigs = credentialsResult?.proxmoxHosts || credentialsResult?.hosts;
|
|
471
468
|
}
|
|
469
|
+
const canonicalBridge = new CanonicalLabBridge({ credentials: credentialsResult });
|
|
470
|
+
if (credentialError && !runOptions.suppressLogs) {
|
|
471
|
+
const startupMode = canonicalBridge.isRequired && canonicalBridge.isConfigured
|
|
472
|
+
? "required canonical CLI path is configured; executable availability, credentials and target validation remain unverified until an allowlisted operation runs"
|
|
473
|
+
: "starting diagnostic-only stdio server";
|
|
474
|
+
console.error(`[ct-lab-mcp] Legacy credential validation failed (${credentialError.reason}); ${startupMode}.`);
|
|
475
|
+
}
|
|
472
476
|
// Create the MCP server instance. REL-920: the plane is whatever transport
|
|
473
477
|
// is about to serve this process, so every tool result can say which plane
|
|
474
478
|
// answered.
|
|
@@ -478,6 +482,7 @@ export async function runCli(argv = process.argv, runOptions = {}) {
|
|
|
478
482
|
proxmoxConfigs: hostConfigs,
|
|
479
483
|
esxiConfigs: credentialsResult?.esxiHosts,
|
|
480
484
|
forceMock: effectiveForceMock,
|
|
485
|
+
canonicalBridge,
|
|
481
486
|
plane: effectiveTransport === "sse" ? "local-sse" : "local-stdio",
|
|
482
487
|
});
|
|
483
488
|
const installSignals = runOptions.installSignalHandlers !== false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@calltelemetry/ct-lab-mcp",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.49",
|
|
4
4
|
"description": "Expanded Model Context Protocol (MCP) server for Call Telemetry lab, fleet, and appliance management across Proxmox VE and VMware ESXi.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/src/index.js",
|