NestDaddy

SAS Viya

io.github.sassoftware/sas-mcp-server ยท v1.19.2

Execute SAS code and query Compute, CAS, and model APIs on SAS Viya via OAuth 2.0.

Connect Runs on your machine

Terminal
claude mcp add sas-mcp-server -e VIYA_ENDPOINT=<VIYA_ENDPOINT> -e SSL_VERIFY=<SSL_VERIFY> -e CLIENT_ID=<CLIENT_ID> -e COMPUTE_CONTEXT_NAME=<COMPUTE_CONTEXT_NAME> -e MCP_TIERS=<MCP_TIERS> -e MCP_READ_ONLY=<MCP_READ_ONLY> -e MCP_APPS=<MCP_APPS> -e MCP_STATELESS_HTTP=<MCP_STATELESS_HTTP> -e VIYA_CLIENT_TIMEOUT=<VIYA_CLIENT_TIMEOUT> -- docker run -i --rm ghcr.io/sassoftware/sas-mcp-server:1.19.2
claude_desktop_config.json
{
  "mcpServers": {
    "sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sassoftware/sas-mcp-server:1.19.2"
      ],
      "env": {
        "VIYA_ENDPOINT": "<VIYA_ENDPOINT>",
        "SSL_VERIFY": "<SSL_VERIFY>",
        "CLIENT_ID": "<CLIENT_ID>",
        "COMPUTE_CONTEXT_NAME": "<COMPUTE_CONTEXT_NAME>",
        "MCP_TIERS": "<MCP_TIERS>",
        "MCP_READ_ONLY": "<MCP_READ_ONLY>",
        "MCP_APPS": "<MCP_APPS>",
        "MCP_STATELESS_HTTP": "<MCP_STATELESS_HTTP>",
        "VIYA_CLIENT_TIMEOUT": "<VIYA_CLIENT_TIMEOUT>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sassoftware/sas-mcp-server:1.19.2"
      ],
      "env": {
        "VIYA_ENDPOINT": "<VIYA_ENDPOINT>",
        "SSL_VERIFY": "<SSL_VERIFY>",
        "CLIENT_ID": "<CLIENT_ID>",
        "COMPUTE_CONTEXT_NAME": "<COMPUTE_CONTEXT_NAME>",
        "MCP_TIERS": "<MCP_TIERS>",
        "MCP_READ_ONLY": "<MCP_READ_ONLY>",
        "MCP_APPS": "<MCP_APPS>",
        "MCP_STATELESS_HTTP": "<MCP_STATELESS_HTTP>",
        "VIYA_CLIENT_TIMEOUT": "<VIYA_CLIENT_TIMEOUT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "sas-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sassoftware/sas-mcp-server:1.19.2"
      ],
      "env": {
        "VIYA_ENDPOINT": "<VIYA_ENDPOINT>",
        "SSL_VERIFY": "<SSL_VERIFY>",
        "CLIENT_ID": "<CLIENT_ID>",
        "COMPUTE_CONTEXT_NAME": "<COMPUTE_CONTEXT_NAME>",
        "MCP_TIERS": "<MCP_TIERS>",
        "MCP_READ_ONLY": "<MCP_READ_ONLY>",
        "MCP_APPS": "<MCP_APPS>",
        "MCP_STATELESS_HTTP": "<MCP_STATELESS_HTTP>",
        "VIYA_CLIENT_TIMEOUT": "<VIYA_CLIENT_TIMEOUT>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
VIYA_ENDPOINT
Required
Base URL of your SAS Viya environment, e.g. https://viya.example.com. No trailing slash.
SSL_VERIFY
Optional
Set false only for a self-signed Viya certificate. Disables verification for the whole process, so prefer a trusted certificate.
CLIENT_ID
Optional
SASLogon OAuth client id used for the token refresh exchange.
COMPUTE_CONTEXT_NAME
Optional
Compute context that backs SAS code execution.
MCP_TIERS
Optional
Expose 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.
MCP_READ_ONLY
Optional
Expose only tools that neither change server-side state nor cause server-side work (51 of 92). Composes with MCP_TIERS.
MCP_APPS
Optional
Register interactive views (MCP Apps) for the data, SAS log and glossary tools. Additive: text-only clients are unaffected. Set false to register none.
MCP_STATELESS_HTTP
Optional
Serve 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.
VIYA_CLIENT_TIMEOUT
Optional
Timeout in seconds for every SAS Viya REST call the tools make.

Details

Packageghcr.io/sassoftware/sas-mcp-server:1.19.2 (OCI, stdio)
First published12 Nov 2026
Last updated12 Nov 2026
Registry nameio.github.sassoftware/sas-mcp-server

More developer tools servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.