Parallels RAS MCP Server
Servidor MCP de Parallels RAS
Un servidor de Model Context Protocol (MCP) de solo lectura, mantenido por la comunidad, para consultar la infraestructura de Parallels Remote Application Server (RAS) a través de la API REST de RAS.
Ofrece a los asistentes de IA visibilidad sobre su entorno RAS (infraestructura, configuración del sitio, políticas, publicación y sesiones) sin realizar cambios.
No está afiliado a Parallels International GmbH. "Parallels" es una marca comercial de su respectivo propietario.
Alcance y uso previsto
Se admiten dos transportes, seleccionados mediante la variable de entorno MCP_TRANSPORT:
stdio(predeterminado): iniciado como un subproceso local por el cliente MCP (Claude Desktop, Claude Code, Cursor, etc.). Destinado a un administrador individual en su propia estación de trabajo, o para entornos de desarrollo y prueba. Las credenciales provienen del entorno del proceso de inicio; no hay ningún oyente de red.http: oyente HTTP transmitible con un token de portador (bearer token) obligatorio. Destinado a implementaciones en redes de confianza donde un servidor es compartido por múltiples clientes (por ejemplo, detrás de un proxy inverso que añade TLS). El enlace predeterminado es127.0.0.1:3000; el enlace a todas las interfaces es opcional.
En cualquiera de los modos, este servidor mantiene una sesión de administrador de RAS y expone 41 herramientas de solo lectura. No expone herramientas de escritura o destructivas y no proporciona multiinquilino ni limitación de tasa: trátelo como un servicio equivalente a administrador y proteja el acceso en consecuencia.
Compatibilidad de API: verificado con la API REST de Parallels RAS v21. Los recursos utilizados son estables en las versiones v18–v21.
Related MCP server: Dell SC Series MCP Server
Requisitos previos
Node.js 18 o posterior
npm
Acceso a un servidor Parallels RAS con la API REST habilitada (puerto 20443 por defecto)
Instalación
git clone https://github.com/RMITBLOG/ParallelsRAS_MCP.git
cd ParallelsRAS_MCP
npm install
npm run buildVariables de entorno
Conexión a RAS
Variable | Requerido | Predeterminado | Descripción |
| Sí | — | Nombre de host o dirección IP del servidor RAS |
| Sí | — | Nombre de usuario del administrador |
| Sí | — | Contraseña del administrador |
| No |
| Puerto de la API REST |
| No |
| Omitir la verificación del certificado TLS (para certificados autofirmados) |
Transporte
Variable | Requerido | Predeterminado | Descripción |
| No |
|
|
| Solo HTTP | — | Token de portador que los clientes deben presentar en |
| No |
| Dirección de enlace. Establézcalo en |
| No |
| Puerto de escucha. |
Configuración
Los ejemplos a continuación cubren el transporte stdio, que es el predeterminado y lo que la mayoría de los usuarios desea. Para el transporte HTTP, consulte Ejecución sobre HTTP más abajo.
Claude Desktop
Edite su claude_desktop_config.json (normalmente en %APPDATA%\Claude\claude_desktop_config.json en Windows o ~/Library/Application Support/Claude/claude_desktop_config.json en macOS):
{
"mcpServers": {
"parallels-ras": {
"command": "node",
"args": ["/path/to/ParallelsRAS_MCP/build/index.js"],
"env": {
"RAS_HOST": "ras-server.example.com",
"RAS_USERNAME": "administrator",
"RAS_PASSWORD": "your-password",
"RAS_PORT": "20443",
"RAS_IGNORE_TLS": "true"
}
}
}
}Claude Code
claude mcp add parallels-ras -- node /path/to/ParallelsRAS_MCP/build/index.jsEstablezca las variables de entorno en su shell o en la configuración MCP de Claude Code.
Cursor
En la configuración de Cursor, vaya a Features → MCP Servers y añada:
Name:
parallels-rasCommand:
node /path/to/ParallelsRAS_MCP/build/index.jsEnvironment:
RAS_HOST,RAS_USERNAME,RAS_PASSWORD
Otros clientes compatibles con MCP
Para cualquier cliente que admita MCP sobre stdio, apúntelo a:
node /path/to/ParallelsRAS_MCP/build/index.jscon las variables de entorno requeridas establecidas en la configuración del servidor MCP del cliente.
Ejecución sobre HTTP
El transporte HTTP implementa MCP Streamable HTTP y se ejecuta como un proceso de larga duración. Úselo cuando desee que un servidor sea compartido por múltiples clientes en una red de confianza, normalmente detrás de un proxy inverso que termina TLS.
Iniciar el servidor
export RAS_HOST=ras-server.example.com
export RAS_USERNAME=administrator
export RAS_PASSWORD=your-password
export MCP_TRANSPORT=http
export MCP_HTTP_BEARER_TOKEN=$(openssl rand -hex 32) # required
# export MCP_HTTP_HOST=127.0.0.1 # default; set 0.0.0.0 to expose
# export MCP_HTTP_PORT=3000
npm run start:httpEl servidor registra la dirección de escucha al iniciarse. El punto final MCP es POST /mcp. Las solicitudes deben incluir Authorization: Bearer <MCP_HTTP_BEARER_TOKEN>; los tokens faltantes o incorrectos devuelven 401.
Conectar un cliente
Para los clientes que admiten un servidor MCP HTTP transmitible, apúntelos a http://<host>:<port>/mcp con el token de portador en el encabezado Authorization. Por ejemplo, la CLI de Claude Code:
claude mcp add parallels-ras --transport http \
--header "Authorization: Bearer $MCP_HTTP_BEARER_TOKEN" \
http://your-server:3000/mcpLista de verificación de producción
Siempre coloque esto frente a TLS: un proxy inverso (nginx, Caddy, Traefik) que termine HTTPS, con el servidor MCP vinculado a
127.0.0.1y al que solo se acceda a través del proxy.Trate
MCP_HTTP_BEARER_TOKENcomo una credencial: al menos 32 bytes de entropía, almacenados en un gestor de secretos, rotados cuando el personal se va.Restrinja la accesibilidad de la red (firewall, VPN, subred privada). La verificación del portador es la única capa de autenticación en el propio servidor.
Las credenciales de administrador de RAS residen en el mismo host que el oyente: cualquiera con acceso de shell en ese host puede leerlas. No ejecute esto en una caja multiinquilino.
Herramientas disponibles (41 en total)
Todas las herramientas son de solo lectura y están anotadas con readOnlyHint: true para la aprobación automática en clientes compatibles.
Infraestructura (14)
Herramienta | Descripción |
| Listar todos los agentes RAS y su estado |
| Estado y prioridad del agente de conexión |
| Proveedores de nube/hipervisor (AVD, AWS, Azure, Hyper-V, etc.) |
| Hosts de sesión RDS |
| Grupos de hosts RDS |
| Inventario de certificados |
| Estado del dispositivo HALB |
| Estado del servidor de inscripción |
| Grupos de hosts VDI |
| Plantillas VDI |
| Estado de Secure Client Gateway |
| Sitios de la granja y su estado |
| Proveedores de identidad SAML para SSO |
| Temas y marca del portal de usuario |
Configuración del sitio (9)
Herramienta | Descripción |
| Configuración de integración de Active Directory |
| Configuración de conexión y autenticación |
| Configuración de equilibrio de carga |
| Configuración del proveedor de MFA |
| Configuración de impresión |
| Estado del agente de inquilino |
| Configuración de eventos de notificación |
| Reglas de redirección de URL |
| Configuración de optimización de CPU |
FSLogix no se expone en el ámbito del sitio mediante la API REST: se configura por grupo de hosts / por plantilla AVD, o mediante PowerShell.
Políticas (1)
Herramienta | Descripción |
| Listar todas las políticas de cliente |
Configuración de la granja (7)
Herramienta | Descripción |
| Cuentas y roles de administrador |
| Configuración de la granja |
| Estado de la licencia y uso de asientos |
| Versión del servicio web |
| Configuración del monitor de rendimiento |
| Configuración del buzón SMTP |
| Configuración de informes |
Publicación (9)
Herramienta | Descripción |
| Aplicaciones RDS publicadas |
| Aplicaciones VDI publicadas |
| Aplicaciones AVD publicadas |
| Escritorios RDS publicados |
| Escritorios VDI publicados |
| Escritorios AVD publicados |
| Carpetas de recursos |
| Estado del servicio de publicación |
| Todos los elementos publicados (vista combinada) |
Sesiones RD (1)
Herramienta | Descripción |
| Sesiones de escritorio remoto activas |
Extensión
Para añadir una nueva herramienta:
Cree o abra un archivo en
src/tools/(por ejemplo,notifications.ts).Exporte una función
register(server: McpServer): void.Llame a
rasClient.get("/api/<Resource>")con una ruta que exista en la API REST oficial de RAS.Importe y llame a su función
registerensrc/index.ts.Ejecute
npm run build.
Los nombres de archivo de los módulos (infrastructure.ts, site-settings.ts, etc.) son una agrupación interna para herramientas relacionadas. No corresponden a segmentos de URL: la API real de RAS es plana bajo /api/<PascalCaseResource> (por ejemplo, /api/Agent, /api/License, /api/MFA).
Referencia de API
Referencia del navegador: https://docs.parallels.com/landing/ras-rest-api-guide
URL base de la API:
https://<ras-host>:20443/api/
Hoja de ruta
Operaciones de escritura: fuera del alcance de este repositorio. Un servidor separado debería alojar cualquier herramienta que mute el estado de RAS, para que las herramientas de solo lectura aquí puedan seguir siendo seguras para la aprobación automática.
OAuth / OIDC para el transporte HTTP: actualmente un único token de portador compartido. La identidad por usuario permitiría a múltiples clientes compartir una implementación sin compartir credenciales.
Contribución
Las incidencias y las solicitudes de extracción (pull requests) son bienvenidas. Por favor, abra una incidencia primero para cualquier cosa que no sea una pequeña corrección para que podamos acordar el enfoque.
Historial
v1.1.0: añade un transporte HTTP transmitible opcional con autenticación de token de portador, junto con el transporte stdio existente.
v1.0.1: corrige las 41 rutas de herramientas frente a la API REST de Parallels RAS v21 y añade un verificador de rutas en tiempo de compilación (
scripts/verify-tool-paths.mjs) frente a la especificación OpenAPI incluida.v1.0.0: andamiaje preliminar; las rutas de la API REST se habían modelado a partir de los encabezados de la tabla de contenido de la documentación en lugar de los puntos finales reales. Reemplazado por v1.0.1.
Licencia
Available Tools
43 toolsras_docs_get_pageGet Parallels Documentation PageARead-onlyIdempotent
Fetch the full markdown content of a specific Parallels documentation page. Use after ras_docs_search when you need the complete page (prerequisites, full procedure, all options) rather than excerpts. Accepts a full https://docs.parallels.com/... URL.
Inputs: url (required).
ras_docs_searchSearch Parallels DocumentationARead-onlyIdempotent
Search the official Parallels documentation for relevant pages, code examples, API references, and feature guides. Use this to validate configuration found via the RAS API tools, look up the documented behaviour of a feature, or find the right page before fetching it in full with ras_docs_get_page. Returns one or more excerpts with titles and direct links.
Inputs: query (required).
ras_farm_get_administratorsFarm AdministratorsARead-onlyIdempotent
List RAS farm administrator accounts — usernames, roles, permissions, group membership. Use this to audit admin access, verify role assignments, or review who has administrative control of the farm.
Inputs: limit, fields, filter.
ras_farm_get_configFarm ConfigurationARead-onlyIdempotent
RAS farm configuration settings — farm name, domain, backup settings, global options. Use this to review the overall farm setup, verify domain configuration, or check backup scheduling.
Inputs: no named parameters.
ras_farm_get_licensingLicensingARead-onlyIdempotent
RAS licensing status — license type (subscription/perpetual), expiration date, seat count, usage, activation status. Use this to check compliance, verify capacity, or diagnose licensing issues.
Inputs: no named parameters.
ras_farm_get_mailboxMailbox SettingsARead-onlyIdempotent
SMTP mailbox configuration used for RAS email notifications — server address, port, sender details. Use this to verify email notification settings or troubleshoot delivery failures.
Inputs: no named parameters.
ras_farm_get_performancePerformance MonitorARead-onlyIdempotent
Performance monitor configuration and counters for the RAS farm — resource utilisation thresholds and monitoring settings. Use this to review performance baselines or check monitoring configuration.
Inputs: no named parameters.
ras_farm_get_reportingReportingARead-onlyIdempotent
Reporting configuration for the RAS farm — report scheduling, data retention, database connection. Use this to verify reporting is enabled and properly configured.
Inputs: no named parameters.
ras_farm_get_versionWeb Service VersionARead-onlyIdempotent
RAS web service (REST API) version information. Returns the current API version and build number. Use this to verify the API version is compatible or check which features are available.
Inputs: no named parameters.
ras_infra_get_agentsRAS AgentsARead-onlyIdempotent
List all Parallels RAS agents deployed across the farm — hostname, IP, OS, agent version, and current status. Use this to verify agent deployment, diagnose connectivity, or check agent versions. Supports fields, filter, and limit to narrow large result sets.
Inputs: limit, fields, filter.
ras_infra_get_certificatesCertificatesARead-onlyIdempotent
Certificate inventory for the RAS farm — names, expiration dates, issuers, and usage. Use this to audit SSL/TLS certificates, check for upcoming expirations, or verify assignments.
Inputs: limit, fields, filter.
ras_infra_get_connection_brokersConnection BrokersARead-onlyIdempotent
Connection broker status, priority, and configuration. Brokers handle user session brokering and load distribution. Use this to check broker health, verify primary/secondary priority, or diagnose session routing.
Inputs: limit, fields, filter.
ras_infra_get_enrollment_statusEnrollment ServersARead-onlyIdempotent
Enrollment server status. Enrollment servers handle SCEP certificate enrollment for device management. Use this to check enrollment server health or troubleshoot certificate enrollment failures.
Inputs: limit, fields, filter.
ras_infra_get_gateway_statusGateway StatusARead-onlyIdempotent
Status of RAS Secure Client Gateways — connection state, IP addresses, tunnel mode. Gateways provide external user access to published resources. Use this to monitor gateway health or troubleshoot external connectivity.
Inputs: limit, fields, filter.
ras_infra_get_halb_statusHALB StatusARead-onlyIdempotent
Status of HALB (High Availability Load Balancer) devices in the farm — device health, IP addresses, operational state. Use this to monitor load balancer availability or diagnose gateway connectivity.
Inputs: limit, fields, filter.
ras_infra_get_providersProvidersARead-onlyIdempotent
List all cloud and hypervisor providers configured in the RAS farm — AVD, AWS EC2, Azure, Hyper-V, Nutanix, vCenter, VMware ESXi. Use this to verify provider connectivity, check provider types, or audit multi-cloud config.
Inputs: limit, fields, filter.
ras_infra_get_rds_hostpoolsRDS Host PoolsBRead-onlyIdempotent
List RDS host pool membership and configuration. Host pools group RDS servers for load balancing and resource allocation. Use this to review pool composition, check host assignments, or verify pool settings.
Inputs: limit, fields, filter.
ras_infra_get_rds_hostsRDS HostsARead-onlyIdempotent
List RDS session hosts — hostname, IP, agent status, active sessions, CPU/RAM usage, OS version. Use this to monitor host health, check capacity, or troubleshoot RDS issues. On large farms, narrow with filter (e.g. {status: 'online'}) or fields to keep responses small.
Inputs: limit, fields, filter.
ras_infra_get_saml_idpsSAML Identity ProvidersARead-onlyIdempotent
List SAML identity providers configured for SSO — provider names, metadata URLs, configuration details. Use this to audit SSO configuration or troubleshoot SAML authentication.
Inputs: limit, fields, filter.
ras_infra_get_sitesSitesARead-onlyIdempotent
List all sites configured in the RAS farm and their status. Multi-site deployments distribute infrastructure across locations. Use this to check site connectivity, verify configuration, or audit farm topology.
Inputs: limit, fields, filter.
ras_infra_get_themesThemesARead-onlyIdempotent
List user portal themes configured in the RAS farm — branding, logos, customisation settings. Use this to review portal appearance configuration or verify theme assignments.
Inputs: limit, fields, filter.
ras_infra_get_vdi_hostpoolsVDI Host PoolsARead-onlyIdempotent
List VDI host pool configuration — pool members, provisioning settings, capacity. Use this to review VDI pool composition, check desktop provisioning status, or verify pool sizing.
Inputs: limit, fields, filter.
ras_infra_get_vdi_templatesVDI TemplatesARead-onlyIdempotent
List VDI templates, their status, and configuration. Templates define the base image and settings for provisioned VDI desktops. Use this to check template versions, maintenance mode, or provisioning settings.
Inputs: limit, fields, filter.
ras_policies_listClient PoliciesARead-onlyIdempotent
List all Parallels RAS client policies — policy names, settings, and assignment status. Client policies control user experience settings (display, audio, printing, device redirection). Use this to audit policy configuration or troubleshoot client behaviour. Policies can be deeply nested — use fields to project only top-level metadata when you don't need every rule.
Inputs: limit, fields, filter.
ras_pub_get_all_itemsAll Published ItemsARead-onlyIdempotent
List all published items across all resource types (RDS, VDI, AVD apps and desktops) in a single view. Use this for a complete overview of everything published in the farm. Large farms can return thousands of items — narrow with filter (e.g. {type: 'App'}) or project with fields to keep responses small.
Inputs: limit, fields, filter.
ras_pub_get_avd_appsPublished AVD AppsARead-onlyIdempotent
List published Azure Virtual Desktop applications. AVD apps are delivered from Azure-hosted session hosts. Use this to review AVD app assignments or verify Azure-based application publishing.
Inputs: limit, fields, filter.
ras_pub_get_avd_desktopsPublished AVD DesktopsBRead-onlyIdempotent
List published Azure Virtual Desktop resources. AVD desktops are delivered from Azure-hosted session hosts. Use this to review AVD desktop assignments or verify Azure-based desktop publishing.
Inputs: limit, fields, filter.
ras_pub_get_foldersPublishing FoldersARead-onlyIdempotent
List published resource folders that organise applications and desktops into logical groups for end users. Use this to review folder hierarchy, check resource organisation, or verify folder-level access.
Inputs: limit, fields, filter.
ras_pub_get_rds_appsPublished RDS AppsARead-onlyIdempotent
List published RDS applications — app names, executable paths, server associations, user filter assignments. Use this to review which apps are published via RDS, check app configurations, or troubleshoot launch issues.
Inputs: limit, fields, filter.
ras_pub_get_rds_desktopsPublished RDS DesktopsARead-onlyIdempotent
List published RDS desktop resources. RDS desktops deliver full Windows desktops from shared session hosts. Use this to review RDS desktop assignments or troubleshoot launch issues.
Inputs: limit, fields, filter.
ras_pub_get_statusPublishing StatusARead-onlyIdempotent
Overall publishing service status and health. Returns whether the publishing agent is operational and any pending changes. Use this to verify publishing is functioning or diagnose why resources are unavailable.
Inputs: no named parameters.
ras_pub_get_vdi_appsPublished VDI AppsARead-onlyIdempotent
List published VDI applications. VDI apps run on dedicated virtual machines rather than shared RDS hosts. Use this to review VDI-published applications or compare with RDS app assignments.
Inputs: limit, fields, filter.
ras_pub_get_vdi_desktopsPublished VDI DesktopsARead-onlyIdempotent
List published VDI desktop resources. VDI desktops deliver dedicated virtual machines per user. Use this to review assignments or verify per-user desktop allocation.
Inputs: limit, fields, filter.
ras_sessions_listActive RD SessionsARead-onlyIdempotent
List active remote desktop sessions across the RAS farm — username, client IP, device name, state, screen resolution, and connected server. Use this to monitor active users, check session counts, troubleshoot connectivity, or identify idle/disconnected sessions. Supports fields, filter, and limit — prefer narrowing over fetching everything on large farms.
Inputs: limit, fields, filter.
ras_site_get_ad_integrationAD IntegrationARead-onlyIdempotent
Active Directory integration configuration — domain settings, forest trust relationships, OU mappings. Use this to verify AD connectivity, check domain join status, or troubleshoot authentication issues.
Inputs: no named parameters.
ras_site_get_connection_settingsConnection SettingsARead-onlyIdempotent
Connection and authentication settings — session timeouts, client connection policies, authentication methods. Use this to review security posture or troubleshoot client connection issues.
Inputs: no named parameters.
ras_site_get_cpu_optimizationCPU OptimizationARead-onlyIdempotent
CPU optimization settings for the site. Controls how CPU resources are allocated across user sessions. Use this to review resource management policies or troubleshoot performance issues.
Inputs: no named parameters.
ras_site_get_load_balancingLoad BalancingARead-onlyIdempotent
Load balancing settings — balancing method, resource weights, session limits. Use this to review how sessions are distributed across RDS hosts or diagnose uneven load distribution.
Inputs: no named parameters.
ras_site_get_mfaMFA ConfigurationARead-onlyIdempotent
Multi-factor authentication provider configuration — enabled MFA providers (TOTP, RADIUS, Deepnet, SafeNet, Email OTP), criteria rules, bypass conditions. Use this to audit MFA security posture or troubleshoot MFA login failures.
Inputs: no named parameters.
ras_site_get_notificationsNotification EventsARead-onlyIdempotent
Notification event configuration — alert triggers, email notifications, event thresholds. Use this to review which events trigger admin notifications or verify alerting is configured.
Inputs: limit, fields, filter.
ras_site_get_printingPrinting SettingsARead-onlyIdempotent
Printing configuration — printer redirection, universal printing options, driver policies. Use this to troubleshoot print redirection issues or review printing policy configuration.
Inputs: no named parameters.
ras_site_get_tenant_brokerTenant Broker StatusARead-onlyIdempotent
Tenant broker status and join information. The tenant broker enables multi-tenant RAS deployments. Use this to verify tenant broker connectivity or check join status for managed sites.
Inputs: no named parameters.
ras_site_get_url_redirectionURL RedirectionARead-onlyIdempotent
URL redirection rules configured for the site. URL redirection allows specific URLs opened on RDS hosts to be redirected to the client device browser. Use this to review redirection rules or troubleshoot URL handling.
Inputs: limit, fields, filter.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 43 tools
Tools are mostly organized by distinct RAS domains (farm, site, infra, pub) and resource types, making purposes clear. However, ras_pub_get_all_items overlaps with the specialized app, desktop, and folder listing tools, creating some ambiguity about when to use the aggregate versus targeted getters.
All tools use a consistent ras_<domain>_<verb>_<resource> pattern with snake_case, which is highly predictable. The minor inconsistency is that listing operations sometimes use get (e.g., ras_infra_get_agents) and sometimes list (e.g., ras_sessions_list, ras_policies_list).
43 tools is well above the typical 3-15 range and exceeds the 25+ threshold where count becomes a usability concern. Many granular getters for individual settings could be consolidated or parameterized without losing functionality.
The tool surface is entirely read-only: every tool is a get, list, or search operation. There are no create, update, delete, or action tools for any RAS resource, so agents cannot perform lifecycle management or remediation tasks, leaving significant gaps for an administration-focused server.
Maintenance
Related MCP Connectors
Read-only MCP for AI usage profiles, leaderboards, stats, and docs; no writes or private data.
Read-only MCP server for RZ AI Labs — query its services, workshops, and contact info.
Read-only Google Analytics 4 MCP server for AI assistants.
Read-only MCP server for AIStatusDashboard status, incidents, metrics, and fallback recommendations.
Related MCP Servers
AlicenseAqualityDmaintenanceRead-only MCP server that allows AI assistants to query and monitor KVM Fleet devices, audit logs, and console sessions through the official REST API.58 npm1MIT- AlicenseNot gradedqualityCmaintenanceA read-only MCP server that lets AI assistants diagnose Dell SC Series storage arrays through the array's own REST API.MIT
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server that provides tools to list and read devices, MDM servers, blueprints, configurations, apps, packages, users, and other resources from Apple Business Manager and Apple School Manager.MIT
- AlicenseAqualityDmaintenanceA read-only MCP server for Proxmox VE that provides AI assistants with structured visibility into cluster nodes, guests, storage, and Docker workloads. It is designed to prevent any mutating operations by construction.12MIT