@sassoftware/sas-score-mcp-serverjs 0.4.1-5 → 0.4.1-6

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
@@ -354,6 +354,8 @@ console.error('[Note] appEnvBase is', JSON.stringify(appEnvBase, null,2));
354
354
  // creat a dummy sessionId for stdio since there is only one session and transport in that case, and tools need a sessionId to access the appEnvBase and contexts
355
355
  let sessionId = randomUUID();
356
356
  sessionCache.set(sessionId, appEnvBase);
357
+ sessionCache.set('currentId', sessionId);
358
+
357
359
  if (mcpType === 'stdio') {
358
360
  console.error('[Note] Setting up stdio transport with sessionId:', sessionId);
359
361
  console.error('[Note] Used in setting up tools and some persistence(not all).');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sassoftware/sas-score-mcp-serverjs",
3
- "version": "0.4.1-5",
3
+ "version": "0.4.1-6",
4
4
  "description": "A mcp server for SAS Viya",
5
5
  "author": "Deva Kumar <deva.kumar@sas.com>",
6
6
  "license": "Apache-2.0",
@@ -0,0 +1,7 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "mcp__sasmcp__sas-score-deva-score"
5
+ ]
6
+ }
7
+ }