SAS Viya

io.github.sassoftware/sas-mcp-server

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sassoftware/sas-mcp-server:1.19.1"
      ],
      "env": {
        "VIYA_ENDPOINT": "<your VIYA_ENDPOINT>",
        "SSL_VERIFY": "true",
        "CLIENT_ID": "sas-mcp",
        "COMPUTE_CONTEXT_NAME": "SAS Job Execution compute context",
        "MCP_READ_ONLY": "false",
        "MCP_APPS": "true",
        "MCP_STATELESS_HTTP": "false",
        "VIYA_CLIENT_TIMEOUT": "300"
      }
    }
  }
}
Environment variables
  • VIYA_ENDPOINTrequiredBase URL of your SAS Viya environment, e.g. https://viya.example.com. No trailing slash.
  • SSL_VERIFYSet false only for a self-signed Viya certificate. Disables verification for the whole process, so prefer a trusted certificate.
  • CLIENT_IDSASLogon OAuth client id used for the token refresh exchange.
  • COMPUTE_CONTEXT_NAMECompute context that backs SAS code execution.
  • MCP_READ_ONLYExpose only tools that neither change server-side state nor cause server-side work (51 of 92). Composes with MCP_TIERS.
  • MCP_APPSRegister 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_HTTPServe 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_TIMEOUTTimeout in seconds for every SAS Viya REST call the tools make.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.19.1
Registry
active
Published
10/30/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that SAS Viya is listed here — it’s also the link we check for a free listing.

SAS Viya — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-sassoftware-sas-mcp-server?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="SAS Viya — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![SAS Viya — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-sassoftware-sas-mcp-server?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.