SAS Viya MCP Server
by sassoftwareio.github.sassoftware/sas-mcp-serverv1.18.0
Execute SAS code and query Compute, CAS, and model APIs on SAS Viya via OAuth 2.0.
context tax
queued
security
queued
cold start
queued
freshness
Active10d ago
Install SAS Viya MCP server
Install in Claude Code
claude mcp add sas -e VIYA_ENDPOINT='<viya-endpoint>' -- docker run -i --rm -e VIYA_ENDPOINT ghcr.io/sassoftware/sas-mcp-server:1.18.0 app-stdioInstall in Cursor
{
"mcpServers": {
"sas": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"VIYA_ENDPOINT",
"ghcr.io/sassoftware/sas-mcp-server:1.18.0",
"app-stdio"
],
"env": {
"VIYA_ENDPOINT": "<viya-endpoint>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"sas": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"VIYA_ENDPOINT",
"ghcr.io/sassoftware/sas-mcp-server:1.18.0",
"app-stdio"
],
"env": {
"VIYA_ENDPOINT": "<viya-endpoint>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"sas": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"VIYA_ENDPOINT",
"ghcr.io/sassoftware/sas-mcp-server:1.18.0",
"app-stdio"
],
"env": {
"VIYA_ENDPOINT": "<viya-endpoint>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"sas": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"VIYA_ENDPOINT",
"ghcr.io/sassoftware/sas-mcp-server:1.18.0",
"app-stdio"
],
"env": {
"VIYA_ENDPOINT": "<viya-endpoint>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| VIYA_ENDPOINT | yes | — | Base URL of your SAS Viya environment, e.g. https://viya.example.com. No trailing slash. |
| SSL_VERIFY | — | — | Set false only for a self-signed Viya certificate. Disables verification for the whole process, so prefer a trusted certificate. |
| CLIENT_ID | — | — | SASLogon OAuth client id used for the token refresh exchange. |
| COMPUTE_CONTEXT_NAME | — | — | Compute context that backs SAS code execution. |
| MCP_TIERS | — | — | 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 | — | — | Expose only tools that neither change server-side state nor cause server-side work (51 of 92). Composes with MCP_TIERS. |
| MCP_APPS | — | — | 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 | — | — | 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 | — | — | Timeout in seconds for every SAS Viya REST call the tools make. |
Freshness
Active — last maintenance signal 10d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-29 · 10d ago · GitHub
Latest release
2026-09-29 · 10d ago · GitHub · v1.18.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-29 · 10d ago · official registry · v1.18.0
FAQ
›How do I install the SAS Viya MCP server in Claude Code?
Run: claude mcp add sas -e VIYA_ENDPOINT='<viya-endpoint>' -- docker run -i --rm -e VIYA_ENDPOINT ghcr.io/sassoftware/sas-mcp-server:1.18.0 app-stdio. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does SAS Viya require an API key?
Yes. It expects VIYA_ENDPOINT.
›Can I use SAS Viya as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is SAS Viya in the official MCP registry?
Yes, as io.github.sassoftware/sas-mcp-server.