MCP server for the ITS Private Cloud
Project description
ITS Private Cloud MCP Server (Beta)
A Model Context Protocol (MCP) server that provides seamless integration with the University of Toronto's ITS Private Cloud Virtual Server Service (VSS). This server enables AI assistants to manage virtual machines, analyze billing data, monitor performance, and optimize cloud resources through natural language interactions.
What is Model Context Protocol?
The Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect to external data sources and tools. Think of it as a universal translator that allows AI models to:
- Access Real-time Data: Connect to live systems and databases
- Execute Actions: Perform operations like creating snapshots or managing VMs
- Maintain Context: Keep track of resources and relationships across conversations
- Ensure Security: Authenticate and authorize access to sensitive systems
With MCP, your AI assistant becomes a powerful interface to your cloud infrastructure, capable of understanding complex queries like "Show me the most expensive VMs this month and suggest cost optimizations" or "Create a snapshot of the database server before the maintenance window.
Getting Started
Prerequisites
- Python 3.13 or higher
- ITS Private Cloud VSS API access token
- MCP-compatible AI client (Claude Desktop, etc.)
Installation
Using uvx
- Install
uvfrom Astral or the GitHub README - Install Python using
uv python install 3.13
uvx mcp-vss
Configuration
Add the server to your MCP client configuration:
{
"mcpServers": {
"vss": {
"command": "uvx",
"args": ["mcp-vss"],
"env": {
"MCP_VSS_API_TOKEN": "your-api-token-here"
}
}
}
}
Workflows
🖥️ Virtual Machine Management
- VM Discovery: Find VMs by name, ID, or properties
- Health Monitoring: Check VM status, performance, and resource utilization
- Snapshot Management: Create point-in-time backups before changes
- Power Control: Start, stop, restart, or suspend virtual machines
- Console Access: Get emergency console links for troubleshooting
💰 Cost Analysis & Optimization
- Billing Analysis: Review invoices and identify cost drivers
- Resource Rightsizing: Find overprovisioned or idle resources
- Trend Analysis: Track spending patterns over time
- Optimization Reports: Get actionable recommendations to reduce costs
🔍 Performance Monitoring
- Real-time Metrics: Monitor CPU, memory, disk, and network usage
- Trend Analysis: Identify performance patterns and bottlenecks
- Capacity Planning: Forecast resource needs based on historical data
- Alerting: Get notifications about performance issues
🛠️ Infrastructure Operations
- Backup Analysis: Monitor UTORrecover backup sessions and data usage
- Network Management: View available networks and configurations
- OS Catalog: Browse supported operating systems for deployments
- Domain Management: Monitor compute clusters and resource allocation
🎯 Troubleshooting & Support
- Diagnostic Workflows: Automated troubleshooting guides
- Issue Resolution: Step-by-step problem-solving assistance
- Performance Tuning: Optimization recommendations based on metrics
- Change Management: Safe deployment practices with snapshot integration
Available Tools
Virtual Machine Tools
get_vm_info- Retrieve detailed VM information by ID, name, or UUIDget_vm_snapshots- List all snapshots for a virtual machineget_vm_performance_metrics- Get CPU, memory, disk, and network metricsget_vm_console_access- Generate console access URLs for emergency accesscreate_vm_snapshot- Create point-in-time VM snapshots with memory optionspower_control_vm- Control VM power state (start, stop, restart, suspend)
Billing & Cost Management Tools
get_billing_clients- List all billing accounts and clientsget_billing_details- Get detailed billing account informationget_billing_client_invoices- Retrieve invoice summaries for cost analysisget_billing_client_invoice- Get detailed invoice breakdown and line itemsget_billing_payment_details- View FIS payment information and cost centersupdate_billing_payment_details- Update billing payment details and cost centers
Backup & Data Management Tools
get_client_backup_host_sessions- Analyze UTORrecover backup sessions and data usageanalyze_cost_optimization- Generate cost optimization recommendations (planned)
Available Prompts
Performance Analysis
analyze_vm_performance- Comprehensive performance analysis with optimization recommendationstroubleshoot_vm_issues- Generate diagnostic guides for specific VM problems
Cost & Financial Analysis
cost_optimization_report- Detailed cost analysis with ROI calculations and savings opportunitiesbackup_analysis_report- Backup strategy analysis and cost optimization for UTORrecover
Data Context Prompts
vm_prompt- Load VM context for detailed analysis and operationsclient_prompt- Load billing client context for financial analysisclient_invoices_prompt- Load invoice history for trend analysisclient_invoice_prompt- Load specific invoice details for line-item analysis
Available Resources
Infrastructure Resources
its://vms- Complete virtual machine inventory (up to 200 VMs)its://vms/{vm_id}- Detailed information for specific virtual machinesits://vms/utorrecover- VMs protected by UTORrecover backup serviceits://domains- Compute domains and cluster informationits://networks- Available network configurations and VLANsits://os- Supported operating system catalogits://os/{full_name}- Filtered OS listings by name or family
Billing Resources
its://clients- Complete billing client directory with account details
Example Usage
VM Management
# Find and analyze a specific VM
"Show me details about the VM-Name and its recent performance"
# Create a snapshot before maintenance
"Create a snapshot of vm-12345 named 'pre-maintenance' before tomorrow's update"
# Monitor performance issues
"Check the CPU and memory usage for VM-12345 in the last 24 hours"
Cost Analysis
# Monthly cost review
"Show me this month's billing for client DEPT-IT and identify the top cost drivers"
# Optimization opportunities
"Analyze our VM costs over the last 90 days and suggest optimization opportunities"
# Budget planning
"What's our trending monthly spend and projected costs for next quarter?"
Operations & Troubleshooting
# Backup analysis
"Review the UTORrecover backup sessions for db-server-01.utoronto.ca in the last month"
# Performance troubleshooting
"The application server is running slowly - help me diagnose the issue"
# Resource planning
"Show me available networks and OS options for deploying a new development environment"
Security & Best Practices
- API Token Security: Store tokens securely using environment variables
- Least Privilege: Request only necessary permissions for your use case
- Snapshot Hygiene: Remove temporary snapshots after validation
- Cost Monitoring: Regularly review billing and set up alerts for unusual spending
- Change Management: Always create snapshots before making significant changes
Support & Documentation
- API Documentation: VSS API Reference
- MCP Specification: Model Context Protocol
- Issue Tracking: Report bugs and feature requests through appropriate channels
- Best Practices: Follow University of Toronto IT policies and procedures
License
This project follows University of Toronto software licensing policies.
Note: This is a beta release. Features and APIs may change. Please test thoroughly in non-production environments.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_vss-2025.6.1.dev2.tar.gz.
File metadata
- Download URL: mcp_vss-2025.6.1.dev2.tar.gz
- Upload date:
- Size: 43.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cef4d8d87460ea6cb55291cc50da175e8fc3c9d473f55f395fdc70cd87ec132
|
|
| MD5 |
b05bd215c905590540aca4b6c32c749d
|
|
| BLAKE2b-256 |
2446bb43e956262c278b665afb8f8b64d32f662a38f8f3464164848db3a87b49
|
File details
Details for the file mcp_vss-2025.6.1.dev2-py3-none-any.whl.
File metadata
- Download URL: mcp_vss-2025.6.1.dev2-py3-none-any.whl
- Upload date:
- Size: 53.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f61b4f37c69c94cc50d200ad3b99865a29f3d6dd0f766450f3039ce1de4886aa
|
|
| MD5 |
d63d0e24dda12c7ce5c821cd4fe10e71
|
|
| BLAKE2b-256 |
7a07c2154deb3367665e17ff7a546e8103c29256aa01526d9541c6a5b3afd5bf
|