@mgsoftwarebv/mg-dashboard-mcp 6.6.3 → 6.7.0

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/index.js CHANGED
@@ -2289,7 +2289,7 @@ async function getServerConnection(serverIdOrName) {
2289
2289
  assertServerAccess(serverId);
2290
2290
  const rows = await db.execute(sql`
2291
2291
  SELECT hostname, port, username, password_encrypted, ssh_key_encrypted,
2292
- ssh_key_passphrase_encrypted, allowed_ssh_ips, os_type
2292
+ ssh_key_passphrase_encrypted, os_type
2293
2293
  FROM ssh_server
2294
2294
  WHERE id = ${serverId}
2295
2295
  LIMIT 1
@@ -2310,7 +2310,7 @@ async function getServerConnection(serverIdOrName) {
2310
2310
  privateKey: data.ssh_key_encrypted ? decrypt(data.ssh_key_encrypted) : void 0,
2311
2311
  passphrase: data.ssh_key_passphrase_encrypted ? decrypt(data.ssh_key_passphrase_encrypted) : void 0
2312
2312
  };
2313
- const needsProxy = data.allowed_ssh_ips !== null && serverId !== SSH_PROXY_SERVER_ID;
2313
+ const needsProxy = serverId !== SSH_PROXY_SERVER_ID;
2314
2314
  const proxy = needsProxy ? await getProxyConnection() : void 0;
2315
2315
  const os = data.os_type === "windows" ? "windows" : "linux";
2316
2316
  return { serverId, conn, proxy, os };