PluginBench
MCP Server
Active
Apache-2.0

SAS Viya MCP Server

io.github.sassoftware/sas-mcp-server

What is the SAS Viya MCP server?

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

How to install SAS Viya

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • VIYA_ENDPOINT
    required

    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 75 tools. Tiers: 0 Compute, 1 Data Discovery, 2 Data Operations, 3 Reports, 4 Batch Jobs, 5 AutoML, 6 Models, 7 Decisioning.

  • MCP_READ_ONLY

    Expose only tools that neither change server-side state nor cause server-side work (43 of 75). Composes with MCP_TIERS.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sassoftware/sas-mcp-server:1.11.0",
        "-v",
        "{sas_token_dir}:/app/.sas",
        "app-stdio"
      ],
      "env": {
        "VIYA_ENDPOINT": "<YOUR_VIYA_ENDPOINT>",
        "SSL_VERIFY": "<YOUR_SSL_VERIFY>",
        "CLIENT_ID": "<YOUR_CLIENT_ID>",
        "COMPUTE_CONTEXT_NAME": "<YOUR_COMPUTE_CONTEXT_NAME>",
        "MCP_TIERS": "<YOUR_MCP_TIERS>",
        "MCP_READ_ONLY": "<YOUR_MCP_READ_ONLY>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sassoftware/sas-mcp-server:1.11.0",
        "-v",
        "{sas_token_dir}:/app/.sas",
        "app-stdio"
      ],
      "env": {
        "VIYA_ENDPOINT": "<YOUR_VIYA_ENDPOINT>",
        "SSL_VERIFY": "<YOUR_SSL_VERIFY>",
        "CLIENT_ID": "<YOUR_CLIENT_ID>",
        "COMPUTE_CONTEXT_NAME": "<YOUR_COMPUTE_CONTEXT_NAME>",
        "MCP_TIERS": "<YOUR_MCP_TIERS>",
        "MCP_READ_ONLY": "<YOUR_MCP_READ_ONLY>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sassoftware/sas-mcp-server:1.11.0",
        "-v",
        "{sas_token_dir}:/app/.sas",
        "app-stdio"
      ],
      "env": {
        "VIYA_ENDPOINT": "<YOUR_VIYA_ENDPOINT>",
        "SSL_VERIFY": "<YOUR_SSL_VERIFY>",
        "CLIENT_ID": "<YOUR_CLIENT_ID>",
        "COMPUTE_CONTEXT_NAME": "<YOUR_COMPUTE_CONTEXT_NAME>",
        "MCP_TIERS": "<YOUR_MCP_TIERS>",
        "MCP_READ_ONLY": "<YOUR_MCP_READ_ONLY>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "sas-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sassoftware/sas-mcp-server:1.11.0",
        "-v",
        "{sas_token_dir}:/app/.sas",
        "app-stdio"
      ],
      "env": {
        "VIYA_ENDPOINT": "<YOUR_VIYA_ENDPOINT>",
        "SSL_VERIFY": "<YOUR_SSL_VERIFY>",
        "CLIENT_ID": "<YOUR_CLIENT_ID>",
        "COMPUTE_CONTEXT_NAME": "<YOUR_COMPUTE_CONTEXT_NAME>",
        "MCP_TIERS": "<YOUR_MCP_TIERS>",
        "MCP_READ_ONLY": "<YOUR_MCP_READ_ONLY>"
      }
    }
  }
}
Claude Code
claude mcp add sas-mcp-server --env VIYA_ENDPOINT=<YOUR_VIYA_ENDPOINT> --env SSL_VERIFY=<YOUR_SSL_VERIFY> --env CLIENT_ID=<YOUR_CLIENT_ID> --env COMPUTE_CONTEXT_NAME=<YOUR_COMPUTE_CONTEXT_NAME> --env MCP_TIERS=<YOUR_MCP_TIERS> --env MCP_READ_ONLY=<YOUR_MCP_READ_ONLY> -- docker run -i --rm ghcr.io/sassoftware/sas-mcp-server:1.11.0 -v {sas_token_dir}:/app/.sas app-stdio

Related MCP servers

Control a real Chrome browser to complete any task: fill forms, extract data, book flights.

110k
Python
MIT
View repository →

Live global intelligence: real-time markets, conflicts, country risk, chokepoints, energy. 39 tools.

83k
TypeScript
AGPL-3.0
View repository →

Netdata

Active

Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.

80k
Go
GPL-3.0
View repository →

Trending hip-hop artist momentum scores across four cultural dimensions.

79k
TypeScript
MIT
View repository →

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

68k
TypeScript
MIT
View repository →

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →