AriaOps MCP Server
Provides tools for interacting with VMware Aria Operations (on-prem) via its REST API, enabling queries for infrastructure health, alerts, metrics, capacity, and reports, plus optional write operations such as alert and maintenance-mode changes.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
AriaOps MCP Server
A Model Context Protocol (MCP) server for VMware Aria Operations (on-prem). Exposes Aria Ops REST API capabilities as MCP tools so AI assistants can query infrastructure health, alerts, metrics, capacity, and reports — and optionally perform write operations when explicitly enabled.
Features
Resources — list, search, query VMs/hosts/clusters and their properties
Alerts — active alerts, definitions, notes, contributing symptoms
Metrics — stats over time, latest values, bulk queries, Top-N
Capacity — remaining capacity per cluster, time-to-full, policy thresholds
Reports — list templates, generated reports, download (PDF/CSV)
Discovery — version info, collectors, symptom definitions, recommendations
Write operations (opt-in) — modify alerts, maintenance mode, schedules, report generation, resource lifecycle
Supports both stdio (local/testing) and streamable HTTP (production) transports.
Related MCP server: sql-to-mcp
Requirements
Python 3.11+
Access to an on-prem VMware Aria Operations 8.x instance
Podman (optional, for containerized deployment)
Quick Start
Install
git clone https://github.com/asnd/ariaops-mcp.git
cd ariaops-mcp
pip install -e .For development (includes linting and test tools):
pip install -e ".[dev]"Configure
cp .env.example .env
# Edit .env with your Aria Ops credentialsARIAOPS_HOST=vrops.example.com
ARIAOPS_USERNAME=admin
ARIAOPS_PASSWORD=secret
ARIAOPS_AUTH_SOURCE=local # or your LDAP source name
ARIAOPS_VERIFY_SSL=trueRun (stdio — for MCP clients)
python -m ariaops_mcpRun (HTTP — production)
ARIAOPS_TRANSPORT=http ARIAOPS_PORT=8080 python -m ariaops_mcpTo require OAuth 2.x bearer tokens on the HTTP transport, enable the flag and provide the resource-server settings:
ARIAOPS_TRANSPORT=http \
ARIAOPS_HTTP_OAUTH_ENABLED=true \
ARIAOPS_HTTP_OAUTH_ISSUER_URL=https://issuer.example.com \
ARIAOPS_HTTP_OAUTH_RESOURCE_SERVER_URL=https://mcp.example.com \
ARIAOPS_HTTP_OAUTH_JWT_KEY="$(python -c 'import secrets; print(secrets.token_urlsafe(32))')" \
ARIAOPS_HTTP_OAUTH_REQUIRED_SCOPES=mcp:read \
python -m ariaops_mcpOAuth knobs
Variable | Required | Default | Notes |
| no |
| Turn enforcement on. Requires |
| no |
| Set to |
| yes | — | Expected |
| yes | — | This server's resource identifier — used as the default |
| one of | — | HS256/384/512 shared secret (≥32 bytes) or PEM public key for RS*/ES*/PS*. |
| one of | — | JWKS endpoint URL (e.g. Keycloak's |
| no |
| Comma-separated list. The verifier rejects every algorithm not on this list (so |
| no | resource URL | Override if your IdP issues a different |
| no |
| Tokens must carry every listed scope or get a 403 |
| no |
| Clock-skew tolerance for |
| no |
| How long (s) to cache JWKS keys before refetching. |
Discovery: With OAuth enabled, the server publishes
GET /.well-known/oauth-protected-resource per RFC 9728 so MCP clients
auto-discover the authorization server and required scopes.
Health: GET /health is intentionally unauthenticated so probes and load
balancers keep working with OAuth turned on.
Keycloak setup
Keycloak is a supported IdP. Use JWKS — Keycloak rotates RS256 keys.
Create a client in your realm (
Clients → Create client):Client type: OpenID Connect
Client authentication: on (confidential) for the MCP client
Valid redirect URIs: whatever your MCP client uses
Add an Audience mapper (
Client scopes → <client>-dedicated → Add mapper → Audience):Included Client Audience: the client ID you want as
aud(e.g.mcp-client).This is required because Keycloak does not put the resource URL in
audby default.
Add scope(s) (
Client scopes → Create) and assign to the client (DefaultorOptional).Configure ariaops-mcp:
ARIAOPS_TRANSPORT=http \ ARIAOPS_HTTP_OAUTH_ENABLED=true \ ARIAOPS_HTTP_OAUTH_PROVIDER=keycloak \ ARIAOPS_HTTP_OAUTH_ISSUER_URL=https://kc.example.com/realms/myrealm \ ARIAOPS_HTTP_OAUTH_RESOURCE_SERVER_URL=https://mcp.example.com \ ARIAOPS_HTTP_OAUTH_AUDIENCE=mcp-client \ ARIAOPS_HTTP_OAUTH_REQUIRED_SCOPES=mcp:read \ python -m ariaops_mcpTest from the CLI with a client-credentials grant:
TOKEN=$(curl -s -X POST \ "https://kc.example.com/realms/myrealm/protocol/openid-connect/token" \ -d grant_type=client_credentials \ -d client_id=mcp-client \ -d client_secret=$KC_SECRET \ -d scope="mcp:read" | jq -r .access_token) curl -H "Authorization: Bearer $TOKEN" https://mcp.example.com/
Notes:
issin Keycloak tokens is exactlyhttps://<host>/realms/<realm>(no trailing slash). The verifier strips trailing slashes on both sides, so either form works in config.ARIAOPS_HTTP_OAUTH_PROVIDER=keycloakderivesARIAOPS_HTTP_OAUTH_JWKS_URLas<issuer>/protocol/openid-connect/certsand defaultsARIAOPS_HTTP_OAUTH_JWT_ALGORITHMStoRS256unless you explicitly set algorithms orARIAOPS_HTTP_OAUTH_JWT_KEY.Roles (
realm_access.roles,resource_access.<client>.roles) are not enforced — only OAuthscope. Map roles to scopes in Keycloak if you need RBAC.The verifier wraps
PyJWKClientinasyncio.to_thread, so a JWKS cache miss does not block the event loop.
LDAP / Active Directory authentication
As an alternative to OAuth, the HTTP transport can authenticate MCP clients with
HTTP Basic credentials verified against LDAPS. The server binds directly with
the user's credentials (no service account), reads their memberOf groups, and
maps them to the same role/country/instance claims the OAuth path uses —
so role-based access works identically.
ARIAOPS_TRANSPORT=http \
ARIAOPS_HTTP_AUTH_MODE=ldap \
ARIAOPS_LDAP_SERVER_URI="ldaps://dc1.corp.example.com:636" \
ARIAOPS_LDAP_USER_DN_TEMPLATE="{username}@corp.example.com" \
ARIAOPS_LDAP_USER_SEARCH_BASE="dc=corp,dc=example,dc=com" \
ARIAOPS_LDAP_GROUP_ROLE_MAP='{"vrops-ops":{"role":"ops"},"vrops-se":{"role":"country","country":"SE"}}' \
python -m ariaops_mcpVariable | Required | Default | Notes |
| yes |
| Set to |
| yes | — |
|
| yes | — | Bind DN with |
| yes | — | Base DN for the |
| no |
| JSON: AD group CN/DN → |
| no | system trust | PEM bundle for LDAPS verification. |
| no |
| Disable only for lab/testing. |
| no |
| Seconds to cache a successful bind's claims. |
| no |
| LDAP connect timeout (seconds). |
/health stays unauthenticated, and instance authorization is enforced by the
same principal layer as OAuth — LDAP only decides the caller's role/instance.
Security notes:
Group lookup reads
memberOf, which contains direct group memberships only — a user who is in a mapped group via a nested group will not receive its role. Map the groups users belong to directly (resolving nested membership via the AD matching-rule-in-chain OID1.2.840.113556.1.4.1941is a possible future extension).Failed binds are never cached, so every bad-password request reaches the directory. Put a rate limit on the MCP endpoint at your reverse proxy to protect against password spraying and AD account-lockout abuse.
ARIAOPS_HTTP_OAUTH_REQUIRED_SCOPESis ignored in LDAP mode (Basic-auth requests carry no OAuth scopes); a warning is logged if it is set.
See AUTH_FLOW.md for a detailed message-flow walkthrough of both OAuth and LDAP modes, including middleware stack, token verification steps, cache behaviour, and principal resolution.
Run with Podman
podman build --format docker -t ariaops-mcp .
podman run --env-file .env -p 8080:8080 ariaops-mcpMultiple Aria Operations instances
A single MCP server can front several Aria Operations instances. Define them
with ARIAOPS_INSTANCES (a JSON array); when set, the legacy single-host
variables (ARIAOPS_HOST/ARIAOPS_USERNAME/ARIAOPS_PASSWORD) are optional.
ARIAOPS_INSTANCES=[
{"id":"us","host":"us.vrops.example.com","username":"svc","password":"secret","country":"US"},
{"id":"de","host":"de.vrops.example.com","username":"svc","password":"secret","country":"DE"}
]Each entry needs a unique id. Optional per-instance fields: auth_source
(default local), verify_ssl (default true), and country (used to pin
country-role users).
Role-based access
Access is scoped by the caller's role:
Role | Access |
| All configured instances. The target instance is chosen per call via the tool's |
| Exactly one instance — the one matching the user's country (or explicit instance) claim. Requests for any other instance are rejected. |
On the HTTP transport the role/country/instance are read from the validated
JWT claims (claim names are configurable). On stdio (local) they fall back to
the ARIAOPS_DEFAULT_* settings.
Every instance-bound tool accepts an optional instance argument, and the
list_instances tool returns the instances the current caller may use. Backward
compatibility is preserved: with only the legacy single-host variables set, a
single default instance is synthesized and existing behavior is unchanged.
Variable | Default | Description |
| — | JSON array of instance objects ( |
|
| JWT claim holding the caller's role |
|
| JWT claim holding the country code for country-role users |
|
| JWT claim holding an explicit instance id for country-role users |
|
| Role value that grants access to all instances |
|
| Role value that pins a user to a single instance |
|
| Role assumed when no JWT role claim is present (e.g. stdio) |
| — | Country assumed for a country-role caller without a claim |
| — | Default instance id for |
MCP Architecture
+---------------------------+ MCP (stdio / streamable HTTP) +---------------------------+
| MCP Client / AI Assistant | <-----------------------------------> | ariaops-mcp server |
| Claude Desktop, IDE, etc. | | |
+-------------+-------------+ | read tools: always on |
| | write tools: opt-in |
| +-------------+-------------+
| |
| | HTTPS REST
| v
| +---------------------------+
+---------------------------------------------------> | VMware Aria Operations |
| /suite-api/api/... |
+---------------------------++-----------------------+ chat / tool plans +-----------------------+
| Browser | <-------------------------> | test-ui/app.py |
| Gradio test UI | | Gradio + tool bridge |
+-----------+-----------+ +-----+-----------+-----+
| | |
| | |
| LLM Gateway | | in-process MCP tools
v v v
+-------------------+ +----------------+ +----------------------+
| Human operator | | OpenAI-compat | | ariaops_mcp modules |
+-------------------+ | model gateway | | + AriaOpsClient |
+----------------+ +----------+-----------+
|
v
+----------------------+
| VMware Aria Ops |
+----------------------+MCP Client Integration
Add to your MCP config (e.g. ~/.claude/mcp_settings.json for AI code assistants):
{
"mcpServers": {
"ariaops": {
"command": "python",
"args": ["-m", "ariaops_mcp"],
"env": {
"ARIAOPS_HOST": "vrops.example.com",
"ARIAOPS_USERNAME": "admin",
"ARIAOPS_PASSWORD": "secret"
}
}
}
}Available Tools
Domain | Tools |
Resources |
|
Alerts |
|
Metrics |
|
Capacity |
|
Reports |
|
Discovery |
|
Instances |
|
Write Tools (requires ARIAOPS_ENABLE_WRITE_OPERATIONS=true)
Domain | Tools |
Alert operations |
|
Resource maintenance |
|
Maint. schedules |
|
Report operations |
|
Resource lifecycle |
|
Full tool catalog: TOOLS.md
Full spec: REQUIREMENTS.md
Test UI App
The repo includes a Gradio-based test UI in test-ui/ for exercising the same tool handlers in-process while routing chat through an LLM gateway.
Create a local env file first so no tenant IDs, client IDs, or tokens need to be hardcoded in the repo:
cp .env.example .envSet LITELLM_BASE_URL for the gateway. If you want to use the Get Token via Azure SSO button, also set:
AZURE_TENANT_ID=your-azure-tenant-id
AZURE_CLIENT_ID=your-azure-client-idpython -m pip install -r test-ui/requirements.txt
python test-ui/app.py --port 7860To run its automated tests:
cd test-ui
pytest testsChainlit auth test harness
test-ui/chainlit/ is a minimal Chainlit frontend that tests both auth modes end-to-end. It proves the LDAP (Basic) and OAuth (Bearer) wiring without coupling the demo UI to Gradio.
cp test-ui/chainlit/.env.example test-ui/chainlit/.env
# edit .env: set ARIAOPS_MCP_URL + optional LITELLM_* vars
pip install chainlit httpx python-dotenv
chainlit run test-ui/chainlit/app.py -wSee CHAINLIT_AUTH.md for full configuration details.
OAuth2 end-to-end scenario
test-e2e/oauth/ contains a self-contained Podman scenario that spins up a real Keycloak IdP with two simulated users (alice=ops, bob=country/SE) and verifies token validation, role-based instance access, and instance enforcement over the streamable HTTP transport.
./test-e2e/oauth/run.sh # build image, start stack, run 8 tests, leave running
./test-e2e/oauth/run.sh down # tear downSee test-e2e/oauth/README.md for topology, user table, and proxy notes.
Development
pip install -e ".[dev]"
pytest # run tests
ruff check src/ tests/ # lint
pyright # type-check
cd test-ui && pytest testsConfiguration Reference
Variable | Required | Default | Description |
| Yes | — | Aria Ops hostname (no scheme) |
| Yes | — | API username |
| Yes | — | API password |
| No |
| Auth source (local / LDAP name) |
| No | — | JSON array of Aria Ops instances for multi-instance mode (see Multiple Aria Operations instances) |
| No |
| JWT claim holding the caller's role ( |
| No |
| JWT claim holding a country-role user's country code |
| No |
| JWT claim holding an explicit instance id for country-role users |
| No |
| Role value granting access to all instances |
| No |
| Role value pinning a user to a single instance |
| No |
| Role assumed when no JWT role claim is present |
| No | — | Country assumed for a country-role caller without a claim |
| No | — | Default instance id for |
| No |
| TLS certificate verification |
| No |
|
|
| No |
| HTTP listen port |
| No |
| Require OAuth 2.x bearer tokens on the HTTP MCP transport |
| No |
| Use |
| No | — | OAuth 2.x issuer URL advertised to MCP clients when HTTP auth is enabled |
| No | — | Public MCP HTTP endpoint URL used for OAuth protected-resource metadata |
| One of | — | HS* shared secret (≥32 bytes) or PEM public key for RS*/ES*/PS* |
| One of | — | JWKS endpoint (e.g. Keycloak certs URL); mutually exclusive with |
| No |
| Comma-separated or JSON-array list of accepted JWT algorithms |
| No |
| Expected JWT audience for HTTP bearer tokens |
| No | — | Comma-separated or JSON-array list of scopes required for HTTP MCP access |
| No |
| Clock-skew tolerance for |
| No |
| JWKS cache lifetime in seconds |
| No |
| Log level |
| No |
| Enable mutating tools (alert management, maintenance, reports, resource lifecycle) |
| No | — | Test UI LLM gateway base URL |
| No | — | Test UI JWT for the gateway |
| No | — | Test UI Azure tenant ID for browser SSO |
| No | — | Test UI Azure client ID for browser SSO |
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
Connect an AI assistant to SuperPost to find sources and ideas, create unscheduled drafts, and review post versions. Edit saved Posts and Ideas directly with MCP, without creating proposals. Schedule posts or request immediate publication, then inspect, approve, or reject pending publication jobs. OAuth access follows your workspace permissions and publication policies.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Amazon Ads, Seller Central, Vendor Central and AMC data for AI agents. Read-only by default.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants read-only access to Sprinklr data via MCP, allowing querying reports, searching cases, and calling Sprinklr API endpoints.13 npmISC

sql-to-mcpofficial
AlicenseNot gradedqualityCmaintenanceEnables AI assistants to query PostgreSQL, MySQL, SQL Server, Oracle, and MongoDB databases through MCP with read-only, audited access.3AGPL 3.0
ZopDev MCPofficial
AlicenseNot gradedqualityBmaintenanceEnables AI assistants to query and, when scoped writes are enabled, manage cloud estate data—inventory, costs, recommendations, schedules, governance, and deployments—across AWS, Azure, and GCP through a hosted remote MCP endpoint.Apache 2.0- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to inspect, query, diagnose, and operate an Octopus instance through MCP tools for projects, deployments, releases, runbooks, tasks, tenants, Kubernetes, machines, certificates, accounts, and interruptions, with read-only or write-enabled modes.547 npmMIT