Skip to content
Cursor

SAS Viya for Cursor

io.github.sassoftware/sas-mcp-server

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

client:Cursor transport:stdio runtime:oci

Install SAS Viya in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "sas-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sassoftware/sas-mcp-server:1.16.1"
      ],
      "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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

SAS Viya in other clients