@sassoftware/sas-score-mcp-serverjs 1.0.1-21 → 1.0.1-23
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/.skills/skills/find-resources/SKILL.md +3 -0
- package/README.md +6 -6
- package/cli.js +5 -2
- package/package.json +1 -1
|
@@ -102,8 +102,11 @@ otherwise follow these steps:
|
|
|
102
102
|
|
|
103
103
|
**Action**: Ask user for the SCR URL/endpoint. SCR models do not have a pre-verification tool.
|
|
104
104
|
|
|
105
|
+
|
|
105
106
|
---
|
|
106
107
|
|
|
108
|
+
|
|
109
|
+
|
|
107
110
|
## Generic Model Type Inference
|
|
108
111
|
|
|
109
112
|
If user says "find model X" without a type suffix, infer the type:
|
package/README.md
CHANGED
|
@@ -196,15 +196,15 @@ NODE_EXTRA_CA_CERTS=c:\Users\<your_username>\AppData\Local\mkcert\rootCA.pem
|
|
|
196
196
|
```
|
|
197
197
|
|
|
198
198
|
## License
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
This project is licensed under the Apache License 2.0. See LICENSE.
|
|
199
|
+
This project is licensed under the Apache License 2.0. See [LICENSE](LICENSE).
|
|
202
200
|
|
|
203
201
|
The container image published from this repository also includes third-party software, each component under its own license:
|
|
204
202
|
|
|
205
|
-
The npm dependencies that ship with this project, along with their respective licenses, are listed in LICENSES.json.
|
|
206
|
-
The container is built from the 25-alpine base image; license texts for its included software ship inside the image itself.
|
|
207
|
-
|
|
203
|
+
- The npm dependencies that ship with this project, along with their respective licenses, are listed in [LICENSES.json](LICENSES.json).
|
|
204
|
+
- The container is built from the 25-alpine base image; license texts for its included software ship inside the image itself. License information for each Alpine package is available at [pkgs.alpinelinux.org](https://pkgs.alpinelinux.org/packages).
|
|
205
|
+
|
|
206
|
+
As with any container image, direct and indirect dependencies are governed by their own licenses.
|
|
207
|
+
Users of the published container image are responsible for ensuring that their use complies with all applicable licenses.
|
|
208
208
|
|
|
209
209
|
## Additional Resources
|
|
210
210
|
|
package/cli.js
CHANGED
|
@@ -23,7 +23,8 @@ import setupSkills from './src/setupSkills.js';
|
|
|
23
23
|
import { parseArgs } from "node:util";
|
|
24
24
|
|
|
25
25
|
import NodeCache from 'node-cache';
|
|
26
|
-
import { be } from 'zod/locales';
|
|
26
|
+
//import { be } from 'zod/locales';
|
|
27
|
+
//import { auth } from '@modelcontextprotocol/sdk/client/auth';
|
|
27
28
|
//import getOpts from './src/toolHelpers/getOpts.js';
|
|
28
29
|
|
|
29
30
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
@@ -266,8 +267,10 @@ let mcpHost = process.env.MCPHOST;
|
|
|
266
267
|
if (authFlow === 'oauth' || authFlow === 'oauthclient') {
|
|
267
268
|
authFlow = 'bearer';
|
|
268
269
|
authExternal = (authFlow === 'oauthclient') ? true : false;
|
|
270
|
+
} else if (authFlow === 'bearer') {
|
|
271
|
+
authExternal = true; // in bearer token flow we assume the token is generated externally and passed in via env variable or token file, so we set authExternal to true to indicate that
|
|
269
272
|
}
|
|
270
|
-
let autoLogon = process.env.AUTOLOGON != null ? process.env.AUTOLOGON.toUpperCase() : "FALSE";
|
|
273
|
+
let autoLogon = process.env.AUTOLOGON != null ? process.env.AUTOLOGON.toUpperCase() : "FALSE";
|
|
271
274
|
const appEnvBase = {
|
|
272
275
|
version: version,
|
|
273
276
|
mcpType: mcpType,
|