S

Sas MCP Server

by sassoftware · io.github.sassoftware/sas-mcp-server

Enables execution of SAS code on SAS Viya compute environments with OAuth2 authentication. Allows users to run SAS programs and retrieve execution results including logs and output through the Model Context Protocol.

oci Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-sassoftware-sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "VIYA_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "SSL_VERIFY=<YOUR_VALUE>",
        "-e",
        "CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "COMPUTE_CONTEXT_NAME=<YOUR_VALUE>",
        "-e",
        "MCP_TIERS=<YOUR_VALUE>",
        "-e",
        "MCP_READ_ONLY=<YOUR_VALUE>",
        "-e",
        "MCP_APPS=<YOUR_VALUE>",
        "-e",
        "MCP_STATELESS_HTTP=<YOUR_VALUE>",
        "-e",
        "VIYA_CLIENT_TIMEOUT=<YOUR_VALUE>",
        "ghcr.io/sassoftware/sas-mcp-server:1.21.0"
      ]
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-sassoftware-sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "VIYA_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "SSL_VERIFY=<YOUR_VALUE>",
        "-e",
        "CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "COMPUTE_CONTEXT_NAME=<YOUR_VALUE>",
        "-e",
        "MCP_TIERS=<YOUR_VALUE>",
        "-e",
        "MCP_READ_ONLY=<YOUR_VALUE>",
        "-e",
        "MCP_APPS=<YOUR_VALUE>",
        "-e",
        "MCP_STATELESS_HTTP=<YOUR_VALUE>",
        "-e",
        "VIYA_CLIENT_TIMEOUT=<YOUR_VALUE>",
        "ghcr.io/sassoftware/sas-mcp-server:1.21.0"
      ]
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-sassoftware-sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "VIYA_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "SSL_VERIFY=<YOUR_VALUE>",
        "-e",
        "CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "COMPUTE_CONTEXT_NAME=<YOUR_VALUE>",
        "-e",
        "MCP_TIERS=<YOUR_VALUE>",
        "-e",
        "MCP_READ_ONLY=<YOUR_VALUE>",
        "-e",
        "MCP_APPS=<YOUR_VALUE>",
        "-e",
        "MCP_STATELESS_HTTP=<YOUR_VALUE>",
        "-e",
        "VIYA_CLIENT_TIMEOUT=<YOUR_VALUE>",
        "ghcr.io/sassoftware/sas-mcp-server:1.21.0"
      ]
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-sassoftware-sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "VIYA_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "SSL_VERIFY=<YOUR_VALUE>",
        "-e",
        "CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "COMPUTE_CONTEXT_NAME=<YOUR_VALUE>",
        "-e",
        "MCP_TIERS=<YOUR_VALUE>",
        "-e",
        "MCP_READ_ONLY=<YOUR_VALUE>",
        "-e",
        "MCP_APPS=<YOUR_VALUE>",
        "-e",
        "MCP_STATELESS_HTTP=<YOUR_VALUE>",
        "-e",
        "VIYA_CLIENT_TIMEOUT=<YOUR_VALUE>",
        "ghcr.io/sassoftware/sas-mcp-server:1.21.0"
      ]
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-sassoftware-sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "VIYA_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "SSL_VERIFY=<YOUR_VALUE>",
        "-e",
        "CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "COMPUTE_CONTEXT_NAME=<YOUR_VALUE>",
        "-e",
        "MCP_TIERS=<YOUR_VALUE>",
        "-e",
        "MCP_READ_ONLY=<YOUR_VALUE>",
        "-e",
        "MCP_APPS=<YOUR_VALUE>",
        "-e",
        "MCP_STATELESS_HTTP=<YOUR_VALUE>",
        "-e",
        "VIYA_CLIENT_TIMEOUT=<YOUR_VALUE>",
        "ghcr.io/sassoftware/sas-mcp-server:1.21.0"
      ]
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-sassoftware-sas-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "VIYA_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "SSL_VERIFY=<YOUR_VALUE>",
        "-e",
        "CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "COMPUTE_CONTEXT_NAME=<YOUR_VALUE>",
        "-e",
        "MCP_TIERS=<YOUR_VALUE>",
        "-e",
        "MCP_READ_ONLY=<YOUR_VALUE>",
        "-e",
        "MCP_APPS=<YOUR_VALUE>",
        "-e",
        "MCP_STATELESS_HTTP=<YOUR_VALUE>",
        "-e",
        "VIYA_CLIENT_TIMEOUT=<YOUR_VALUE>",
        "ghcr.io/sassoftware/sas-mcp-server:1.21.0"
      ]
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
VIYA_ENDPOINT Yes The URL of your SAS Viya server
SSL_VERIFY No Set false only for a self-signed Viya certificate. Disables verification for the whole process, so prefer a trusted certificate. Default: true
CLIENT_ID No SASLogon OAuth client id used for the token refresh exchange. Default: sas-mcp
COMPUTE_CONTEXT_NAME No Compute context that backs SAS code execution. Default: SAS Job Execution compute context
MCP_TIERS No 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 No Expose only tools that neither change server-side state nor cause server-side work (51 of 92). Composes with MCP_TIERS. Default: false
MCP_APPS No Register interactive views (MCP Apps) for the data, SAS log and glossary tools. Additive: text-only clients are unaffected. Set false to register none. Default: true
MCP_STATELESS_HTTP No 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. Default: false
VIYA_CLIENT_TIMEOUT No Timeout in seconds for every SAS Viya REST call the tools make. Default: 300

Similar servers