find-library-server

Identifies whether a Saviya library exists and whether CAS or SAS hosts it.

1|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/sassoftware/sas-score-mcp-serverjs --skill find-library-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: find-library-server
Source: https://github.com/sassoftware/sas-score-mcp-serverjs/tree/main/.skills/skills/find-library-server
Command: npx skills add https://github.com/sassoftware/sas-score-mcp-serverjs --skill find-library-server

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Verify that a SAS Viya library exists and determine whether it lives in CAS or SAS. Always checks CAS first, then SAS. Returns the confirmed library name and server. Use whenever you need to confirm a library exists before listing tables or performing any library-scoped operation.

Core Features & Use Cases

  • Performs a two-step search: CAS first, then SAS with an uppercased library name if needed.
  • Returns a definitive host: the CAS or SAS server along with the library name.
  • Offers known library hints to optimize repeated checks and reduce latency.
  • Handles errors gracefully when the library cannot be found, guiding the user to verify spelling.

Quick Start

Ask sas-score-find-library to verify a library exists and report whether it is hosted on CAS or SAS.

Frequently Asked Questions about find-library-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify a SAS Viya library exists and find its host server?

To verify a SAS Viya library exists and find its host server, the tool searches CAS first, then SAS by uppercasing the library name. It returns the library name and confirms whether the host server is CAS or SAS.

What is the difference between CAS and SAS libraries in SAS Viya?

In SAS Viya, CAS libraries are hosted on the CAS server for distributed in-memory processing, while SAS libraries reside on the SAS compute server. The library verification tool checks CAS first to determine the correct server host.

How do I check if a library is hosted on CAS or SAS before listing tables?

To check if a library is hosted on CAS or SAS before listing tables, request a library verification. The tool performs a two-step search across CAS and SAS, returning the confirmed server host so you can run library-scoped operations safely.

Why does my SAS Viya library verification fail when the library name is lowercase?

SAS Viya library verification may fail with lowercase names because SAS library names are often uppercase. The tool handles this by uppercasing the library name during its second search step on the SAS server if the initial CAS search fails.

Can I confirm a SAS Viya library exists without knowing if it uses CAS or SAS?

Yes, you can confirm a SAS Viya library exists without knowing the server type. The tool automatically searches CAS first, then falls back to SAS, returning a definitive host confirmation or reporting that the library does not exist.

What should I do if a SAS Viya library cannot be found on CAS or SAS?

If a SAS Viya library cannot be found on CAS or SAS, the tool reports the library does not exist and guides you to verify the spelling. Check for typos or confirm the library name casing to ensure the search resolves correctly.