cloudstack-mcp-server

phantosmax/cloudstack-mcp-server

3.4

If you are the rightful owner of cloudstack-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

CloudStack MCP Server is a high-performance server designed for seamless integration with Apache CloudStack API, enabling efficient management of CloudStack infrastructure through the Model Context Protocol (MCP).

The CloudStack MCP Server is a robust and efficient server designed to facilitate the integration of Apache CloudStack API with AI assistants and automation tools using the Model Context Protocol (MCP). This server provides a comprehensive suite of tools for managing CloudStack infrastructure, including virtual machine lifecycle management, infrastructure discovery, and secure authentication. Built with TypeScript, the server ensures high performance and type safety, making it a reliable choice for developers and system administrators. The server supports a command-line interface for direct interaction and offers seamless integration with MCP clients, enhancing the automation and management capabilities of CloudStack environments. With a focus on security, the server uses HMAC-SHA1 signed requests to ensure secure communication with the CloudStack API.

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.
  • MCP Integration: Seamless integration with AI assistants via MCP protocol.

Usages

usage with Claude Desktop

{
  "mcpServers": {
    "cloudstack": {
      "command": "node",
      "args": ["/path/to/cloudstack-mcp-server/build/index.js"],
      "env": {
        "CLOUDSTACK_API_URL": "https://your-cloudstack-server/client/api",
        "CLOUDSTACK_API_KEY": "your-api-key",
        "CLOUDSTACK_SECRET_KEY": "your-secret-key"
      }
    }
  }
}

Tools

  1. list_virtual_machines

    List VMs with optional filtering.

  2. deploy_virtual_machine

    Deploy a new VM with specified parameters.

  3. list_zones

    List all available zones.