@sassoftware/sas-score-mcp-serverjs 1.1.8 → 1.1.9

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.
@@ -20,7 +20,9 @@ description: >
20
20
  - ✅ Found → return `{ lib: "<lib>", server: "cas" }`
21
21
  - ❌ Not found → go to step 2
22
22
 
23
- 2. Call `sas-score-find-library({ name: "<LIB_UPPERCASED>", server: "sas" })`
23
+ 2. Look in SAS
24
+ - Uppercase the library name
25
+ - call `sas-score-find-library({ name: "<LIB_UPPERCASED>", server: "sas" })`
24
26
  - ✅ Found → return `{ lib: "<LIB_UPPERCASED>", server: "sas" }`
25
27
  - ❌ Not found → library does not exist; **stop** and report not found to the user
26
28
 
@@ -39,7 +39,8 @@ Step 1. Use find-library-server skill to verify the library exists and in which
39
39
  - ✅ Found → return go to Step 2
40
40
  - ❌ Not found → library does not exist; **stop** and report not found to the user
41
41
 
42
- Step 2. Use sas-score-find-table tool with the library and server from step 1: `sas-score-find-table({ lib: "<lib>", name: "<TABLE_NAME>", server: <server })`
42
+ Step 2. Use sas-score-find-table tool with the library and server from step 1:
43
+ - If server is sas, then uppercase the table name before calling `sas-score-find-table({ lib: "<lib>", name: "<TABLE_NAME>", server: <server })`
43
44
  - ✅ Found → return success with confirmed lib, table, and server
44
45
  - ❌ Not found → table does not exist; **stop** and report not found to the user
45
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sassoftware/sas-score-mcp-serverjs",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "A mcp server for SAS Viya",
5
5
  "author": "Deva Kumar <deva.kumar@sas.com>",
6
6
  "license": "Apache-2.0",
@@ -60,6 +60,8 @@ Surface backend error directly; never fabricate jobdef names.
60
60
  handler: async (params) => {
61
61
  // _listJobdefs handles all validation and defaults
62
62
  const { intent, ...rest } = params;
63
+ rest.start = rest.start ?? 1;
64
+ rest.limit = rest.limit ?? 10;
63
65
  const result = await _listJobdefs(rest);
64
66
  return result;
65
67
  }
@@ -58,6 +58,8 @@ Surface backend error directly; never fabricate job names.
58
58
  handler: async (params) => {
59
59
  // _listJob handles all validation and defaults
60
60
  const { intent, ...rest } = params;
61
+ rest.start = rest.start ?? 1;
62
+ rest.limit = rest.limit ?? 10;
61
63
  const result = await _listJobs(rest);
62
64
  return result;
63
65
  }
@@ -73,6 +73,8 @@ Return structured error with a message field. Never hallucinate library names.
73
73
  // 'server' has a default so we don't mark it required
74
74
  handler: async (params) => {
75
75
  const { intent, ...rest } = params;
76
+ rest.start = rest.start ?? 1;
77
+ rest.limit = rest.limit ?? 10;
76
78
  rest.server = (rest.server || 'all').toLowerCase();
77
79
  let r = await _listLibrary(rest);
78
80
  return r;
@@ -59,6 +59,8 @@ Returns empty array if no models found.
59
59
  }),
60
60
  handler: async (params) => {
61
61
  const { intent, ...rest } = params;
62
+ rest.start = rest.start ?? 1;
63
+ rest.limit = rest.limit ?? 10;
62
64
  let r = await _listMas(rest);
63
65
  return r;
64
66
  }
@@ -49,7 +49,10 @@ Returns empty array if no scrs found.
49
49
  start: z.number().optional()
50
50
  }),
51
51
  handler: async (params) => {
52
- let r = await _listScr(params);
52
+ const { intent, ...rest } = params;
53
+ rest.start = rest.start ?? 1;
54
+ rest.limit = rest.limit ?? 10;
55
+ let r = await _listScr(rest);
53
56
  return r;
54
57
  }
55
58
  }
@@ -66,6 +66,8 @@ Returns empty array if no tables found.
66
66
  }),
67
67
  handler: async (params) => {
68
68
  const { intent, ...rest } = params;
69
+ rest.start = rest.start ?? 1;
70
+ rest.limit = rest.limit ?? 10;
69
71
  let r = await _listTables(rest);
70
72
  return r;
71
73
  }