@sassoftware/sas-score-mcp-serverjs 0.3.1 → 0.3.2

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/cli.js CHANGED
@@ -103,7 +103,7 @@ if (process.env.SUBCLASS != null) {
103
103
  let clientID = process.env.CLIENTID || process.env.CLIENTIDPW || null;
104
104
  let clientSecret = process.env.CLIENTSECRET || process.env.CLIENTSECRETPW || null;
105
105
  let https = process.env.HTTPS != null ? process.env.HTTPS.toUpperCase() : "FALSE";
106
- let autoLogon = process.env.AUTOLOGON != null ? process.env.AUTOLOGON.toUpperCase() : "TRUE";
106
+ let autoLogon = process.env.AUTOLOGON != null ? process.env.AUTOLOGON.toUpperCase() : "FALSE";
107
107
  const appEnvBase = {
108
108
  version: version,
109
109
  mcpType: mcpType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sassoftware/sas-score-mcp-serverjs",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "A mcp server for SAS Viya",
5
5
  "author": "Deva Kumar <deva.kumar@sas.com>",
6
6
  "license": "Apache-2.0",
@@ -16,7 +16,7 @@ async function hapiMcpServer(mcpServer, cache, baseAppEnvContext) {
16
16
  process.env.APPHOST = '0.0.0.0';
17
17
  let r = await appServer.asyncCore(mcpHandlers, true, 'app', null);
18
18
  console.error('Hapi server running result:', r);
19
- if (baseAppEnvContext.AUTHFLOW === 'code' && baseAppEnvContext.AUTOLOGON !== 'FALSE') {
19
+ if (baseAppEnvContext.AUTHFLOW === 'code' && baseAppEnvContext.AUTOLOGON === 'TRUE') {
20
20
  await urlOpen(r);
21
21
  }
22
22
  return r;