SAS Viya
io.github.sassoftware/sas-mcp-server
v1.23.0Updated Nov 25, 2026stdio · Docker
Execute SAS code and query Compute, CAS, and model APIs on SAS Viya via OAuth 2.0.
Install
Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add sas-mcp-server -e 'VIYA_ENDPOINT=<your-viya-endpoint>' -e SSL_VERIFY=true -e CLIENT_ID=sas-mcp -e 'COMPUTE_CONTEXT_NAME=SAS Job Execution compute context' -e MCP_READ_ONLY=false -e MCP_APPS=true -e MCP_EMAIL_DRAFT=off -e MCP_STATELESS_HTTP=false -e VIYA_CLIENT_TIMEOUT=300 -- docker run -i --rm -e VIYA_ENDPOINT -e SSL_VERIFY -e CLIENT_ID -e COMPUTE_CONTEXT_NAME -e MCP_READ_ONLY -e MCP_APPS -e MCP_EMAIL_DRAFT -e MCP_STATELESS_HTTP -e VIYA_CLIENT_TIMEOUT ghcr.io/sassoftware/sas-mcp-server:1.23.0The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.
Configuration
11 settings.
VIYA_ENDPOINTEnv var· requiredBase URL of your SAS Viya environment, e.g. https://viya.example.com. No trailing slash.-vArgument· requiredMount the SAS Viya CLI token cache into the container. The server reads ~/.sas/credentials.json, and $HOME is /app inside the image, so the .sas directory has to land at /app/.sas.SSL_VERIFYEnv var· optionalSet false only for a self-signed Viya certificate. Disables verification for the whole process, so prefer a trusted certificate.Default:trueCLIENT_IDEnv var· optionalSASLogon OAuth client id used for the token refresh exchange.Default:sas-mcpCOMPUTE_CONTEXT_NAMEEnv var· optionalCompute context that backs SAS code execution.Default:SAS Job Execution compute contextMCP_TIERSEnv var· optionalExpose only some tool tiers, e.g. 0-4 or 0,1,7. Empty exposes all 92 tools. Tiers: 0 Compute, 1 Data Discovery, 2 Data Operations, 3 Reports, 4 Batch Jobs, 5 AutoML, 6 Models, 7 Decisioning, 8 Workbench, 9 Business Glossary.
Show 5 moreShow fewer
MCP_READ_ONLYEnv var· optionalExpose only tools that neither change server-side state nor cause server-side work (51 of 92). Composes with MCP_TIERS.Default:falseMCP_APPSEnv var· optionalRegister interactive views (MCP Apps) for the data, SAS log and glossary tools. Additive: text-only clients are unaffected. Set false to register none.Default:trueMCP_EMAIL_DRAFTEnv var· optionalEmail draft on the decision scoring view's result card: outlook (an Outlook on the web draft), mail (the default mail app) or off (no email controls). The person sends the draft themselves; nothing is sent by the server.Default:offMCP_STATELESS_HTTPEnv var· optionalServe HTTP requests without an MCP session. Needed by clients that speak only the sessionless 2026-07-28 protocol revision (claude.ai custom connectors); the legacy handshake works either way.Default:falseVIYA_CLIENT_TIMEOUTEnv var· optionalTimeout in seconds for every SAS Viya REST call the tools make.Default:300
Links
Listed in the official MCP Registry since Nov 25, 2026. Mirrored daily; last checked Nov 26, 2026.