SAS Viya
Connects AI clients to SAS Viya for SAS code execution, analytics workflows, model scoring, and API access.
Install SAS Viya
Pick your client, then add it in one click or paste the config.
http://localhost:8134/mcp
Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.
Overview
Use cases
- Execute SAS code from an MCP client
- Query Compute and CAS services
- Train AutoML projects through an agent
- Score models through SAS Viya APIs
- Inspect data and SAS logs in supported clients
Key features
- 115 tools across 11 selectable tiers
- SAS code execution
- Compute, CAS, and model API access
- AutoML training and model scoring
- OAuth 2.0 PKCE authentication
- Interactive MCP App views
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
ActiveLast checked 1d ago
Recent health check succeeded.
8/8 checks healthy over the last 38d
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
GitHub stars66Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.
How SAS Viya works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about SAS Viya
SAS Viya is an MCP server that connects AI clients to SAS Viya environments. Its tools execute SAS code, query Compute and CAS services, access model APIs, train AutoML projects, and score models. It supports HTTP and stdio transports, with OAuth 2.0 PKCE for interactive HTTP authentication.
Install it with Python 3.12+ and uv 0.8+ by cloning the repository and running `uv sync`. Set `VIYA_ENDPOINT` in a copied `.env` file, then start HTTP mode with `uv run app` or configure the client to launch `uv run app-stdio`. Docker and Kubernetes deployment options are also available.
Yes, SAS Viya works with Cursor. Cursor is named as a client that can render its interactive MCP App views for data, SAS logs, and glossary editing. The server can be connected through its HTTP MCP endpoint or launched in stdio mode.
Authenticate once with `sas-viya auth loginCode` or `uv run sas-mcp-login`. Either command stores an access token in a local cache that the stdio server reads. Run the same command again when the token expires.
Yes, Gemini CLI can use SAS Viya through stdio mode. Gemini CLI does not support the server's HTTP mode or browser-based OAuth, so authenticate with the SAS Viya CLI or `sas-mcp-login`, then configure Gemini CLI to start `uv run app-stdio`.
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
Badge Style:
Live Dynamic SVG Preview
Markdown (GitHub README)
[](https://allmcps.com/mcp/sas-viya)HTML Embed
<a href="https://allmcps.com/mcp/sas-viya"><img src="https://allmcps.com/api/badge/sas-viya?style=directory" alt="SAS Viya on AllMCPs" /></a>