@sassoftware/sas-score-mcp-serverjs 1.0.1-2 → 1.0.1-4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sassoftware/sas-score-mcp-serverjs",
3
- "version": "1.0.1-2",
3
+ "version": "1.0.1-4",
4
4
  "description": "A mcp server for SAS Viya",
5
5
  "author": "Deva Kumar <deva.kumar@sas.com>",
6
6
  "license": "Apache-2.0",
@@ -75,7 +75,7 @@ async function callback(req, res, pkceStore, codeStore, appContext) {
75
75
  // which was part of the payload from the client to /oauth/authorize
76
76
  // we trust since it was associated with the valid PKCE state
77
77
  console.error("[Note] OAuth callback complete, redirecting to MCP client");
78
- console.log(pending.clientRedirectUri.toString())
78
+ console.error(pending.clientRedirectUri.toString())
79
79
  return res.redirect(`${pending.clientRedirectUri}?${redirectParams}`);
80
80
  } catch (err) {
81
81
  console.error("[Error] OAuth callback handler error:", err);
@@ -34,7 +34,7 @@ function processHeaders(req, res, next, cache, appContext) {
34
34
  let token = (hdr != null) ? hdr.slice(7) : null;
35
35
  //console.error("[Note] Authorization token", token);
36
36
  debugger;
37
- console.log('>>>',appContext.AUTHFLOW);
37
+ console.error('>>>',appContext.AUTHFLOW);
38
38
  if (appContext.AUTHFLOW === 'bearer') {
39
39
  debugger;
40
40
  let startAuth = false;
@@ -40,7 +40,7 @@ function setupSkills(clientName) {
40
40
  const entries = fs.readdirSync(dir, { withFileTypes: true });
41
41
 
42
42
  for (const entry of entries) {
43
- console.log(indent + entry.name);
43
+ console.error(indent + entry.name);
44
44
 
45
45
  if (entry.isDirectory()) {
46
46
  listExpandedFolder(path.join(dir, entry.name), indent + " ");