@sassoftware/sas-score-mcp-serverjs 1.0.0 → 1.0.1-0
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.
|
@@ -5,6 +5,14 @@ This repository builds and maintains a SAS-focused agent experience on top of an
|
|
|
5
5
|
The MCP server exposes SAS and Viya capabilities such as jobs, code artifacts, CAS server resources, SAS server resources, MAS models, score/scoring assets, and related metadata.
|
|
6
6
|
Your job is to help users complete SAS-related tasks safely and accurately by selecting the right skill first, then using the right MCP tools.
|
|
7
7
|
|
|
8
|
+
## Available Agents
|
|
9
|
+
|
|
10
|
+
This repository includes specialized agents for SAS-focused workflows:
|
|
11
|
+
|
|
12
|
+
- **SAS Viya Scoring Expert** — Specialized for SAS Viya scoring tasks. Classifies requests, selects the right SAS skill, and uses MCP tools safely for jobs, CAS data, libraries, models, scoring, and content workflows.
|
|
13
|
+
- **Explore** — General codebase exploration and Q&A agent. Use for discovering code patterns, reading documentation, or quick exploratory questions.
|
|
14
|
+
|
|
15
|
+
You can invoke these agents using the subagent feature. Type `/subagent` followed by your request or choose an agent from the dropdown when available.
|
|
8
16
|
|
|
9
17
|
## Operating model
|
|
10
18
|
Treat this repository as a domain-specialized SAS agent, not as a generic coding project.
|
package/package.json
CHANGED
package/src/setupSkills.js
CHANGED
|
@@ -7,9 +7,18 @@ import { fileURLToPath } from 'url';
|
|
|
7
7
|
function setupSkills(clientName) {
|
|
8
8
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
9
9
|
// Paths
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
const source = path.join(__dirname, `../.skills`)
|
|
11
|
+
let client = (clientName == null) ? 'github' : `${clientName.toLowerCase()}`;
|
|
12
|
+
let destination;
|
|
13
|
+
// still hoping to put the definitions in the cache
|
|
14
|
+
// if it starts with ., then copy agent to where the command is run, otherwise copy to home directory
|
|
15
|
+
if (client.startsWith('.')) {
|
|
16
|
+
destination = path.join(process.cwd(), client);
|
|
17
|
+
} else {
|
|
18
|
+
client = '.' + client;
|
|
19
|
+
destination = path.join(os.homedir(), client);
|
|
20
|
+
}
|
|
21
|
+
|
|
13
22
|
console.error(`📁 Copying ${source} to ${destination}...`);
|
|
14
23
|
function copyFolderSync(from, to) {
|
|
15
24
|
if (!fs.existsSync(from)) return;
|