Virtualization · Cloud Platform

Cloudstack MCP Server

phantosmax/cloudstack-mcp-server

A high-performance MCP (Model Context Protocol) server for Apache CloudStack API integration. This server provides comprehensive tools for managing CloudStack infrastructure through the MCP protocol, enabling seamless integration with AI assistants and automation tools.

Install

npx tsc --noEmit

Client configuration

{
  "mcpServers": {
    "cloudstack": {
      "command": "node",
      "args": [
        "/path/to/cloudstack-mcp-server/build/index.js"
      ],
      "env": {
        "CLOUDSTACK_API_URL": "<CLOUDSTACK_API_URL>",
        "CLOUDSTACK_API_KEY": "<CLOUDSTACK_API_KEY>",
        "CLOUDSTACK_SECRET_KEY": "<CLOUDSTACK_SECRET_KEY>"
      }
    }
  }
}

Environment variables

CLOUDSTACK_API_URLCLOUDSTACK_API_KEYCLOUDSTACK_SECRET_KEYCLOUDSTACK_TIMEOUT
Category
Virtualization, Cloud Platform
License
MIT
Updated
Oct 6, 2026

Features

  • Complete VM Lifecycle Management: Deploy, start, stop, reboot, and destroy virtual machines

  • Infrastructure Discovery: List zones, templates, and service offerings

  • Secure Authentication: HMAC-SHA1 signed requests with CloudStack API credentials

  • High Performance: Efficient TypeScript implementation with proper error handling

  • Type Safety: Full TypeScript support with comprehensive interfaces

  • Rich Information: Detailed VM metadata including CPU, memory, network, and status

  • Command Line Interface: Direct CLI access for interactive CloudStack management

  • MCP Integration: Seamless integration with AI assistants via MCP protocol

Tools (40)

  • list_virtual_machines

    List VMs with optional filtering

  • get_virtual_machine

    Get detailed VM information

  • start_virtual_machine

    Start a stopped virtual machine

  • stop_virtual_machine

    Stop a running virtual machine

  • reboot_virtual_machine

    Reboot a virtual machine

  • destroy_virtual_machine

    Destroy a VM with proper workflow (handles all states)

  • deploy_virtual_machine

    Deploy a new VM (auto-selects network for Advanced zones)

  • scale_virtual_machine

    Scale (resize) a virtual machine

  • migrate_virtual_machine

    Migrate VM to another host

  • reset_password_virtual_machine

    Reset password for a virtual machine

  • change_service_offering_virtual_machine

    Change service offering for a VM

  • list_volumes

    List storage volumes

  • create_volume

    Create a new storage volume

  • attach_volume

    Attach a volume to a virtual machine

  • detach_volume

    Detach a volume from a virtual machine

  • resize_volume

    Resize a storage volume

  • create_snapshot

    Create a snapshot of a volume

  • list_snapshots

    List volume snapshots

  • list_networks

    List networks

  • create_network

    Create a new network

  • list_public_ip_addresses

    List public IP addresses

  • associate_ip_address

    Acquire a new public IP address

  • enable_static_nat

    Enable static NAT for an IP address

  • create_firewall_rule

    Create a firewall rule

  • list_load_balancer_rules

    List load balancer rules

  • list_virtual_machine_metrics

    Get virtual machine performance metrics

  • list_events

    List CloudStack events

  • list_alerts

    List system alerts

  • list_capacity

    List system capacity information

  • list_async_jobs

    List asynchronous jobs

  • list_accounts

    List CloudStack accounts

  • list_users

    List users

  • list_domains

    List CloudStack domains

  • list_usage_records

    List resource usage records

  • list_zones

    List all available zones

  • list_templates

    List available VM templates

  • list_hosts

    List physical hosts

  • list_clusters

    List host clusters

  • list_storage_pools

    List storage pools

  • list_system_vms

    List system virtual machines

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
MCP Jetbrains logo

MCP Jetbrains

JetBrains/mcp-jetbrains

566

Issues & Support: For bugs or feature requests related to the built-in MCP functionality, please use the JetBrains YouTrack.

Virtualization
Docker Compose logo

Docker Compose

ckreiling/mcp-server-docker

358

An MCP server for managing Docker with natural language!

Virtualization
Docker MCP logo

Docker MCP

QuantGeekDev/docker-mcp

253

A powerful Model Context Protocol (MCP) server for Docker operations, enabling seamless container and compose stack management through Claude AI.

Virtualization
k8m logo

k8m

weibaohui/k8m

234

k8m is an AI-driven Mini Kubernetes AI Dashboard lightweight console tool designed to simplify cluster management.

Virtualization
Code Sandbox MCP logo

Code Sandbox MCP

Automata-Labs-team/code-sandbox-mcp

144

A secure sandbox environment for executing code within Docker containers. This MCP server provides AI applications with a safe and isolated environment for running code while maintaining security through containerization.

Virtualization
Proxmox MCP Server logo

Proxmox MCP Server

canvrno/ProxmoxMCP

90

A Python-based Model Context Protocol (MCP) server for interacting with Proxmox hypervisors, providing a clean interface for managing nodes, VMs, and containers.

Virtualization