Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"cloudstack": {
"env": {
"CLOUDSTACK_API_KEY": "your-api-key",
"CLOUDSTACK_API_URL": "https://your-cloudstack-server/client/api",
"CLOUDSTACK_SECRET_KEY": "your-secret-key"
},
"args": [
"/path/to/cloudstack-mcp-server/build/index.js"
],
"command": "node"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
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.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'tsc' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked tsc against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in cloud
MCP Server for GCP environment for interacting with various Observability APIs.
⚡ A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.
MCP server for Datto SaaS Protection — M365/GWS backups, restores, seats.
Heroku Platform MCP Server using the Heroku CLI
MCP Security Weekly
Get CVE alerts and security updates for Cloudstack Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
Clone and install dependencies:
git clone <repository-url>
cd cloudstack-mcp-server
npm install
Configure environment variables:
Create a .env file in the project root:
CLOUDSTACK_API_URL=https://your-cloudstack-server/client/api
CLOUDSTACK_API_KEY=your-api-key
CLOUDSTACK_SECRET_KEY=your-secret-key
CLOUDSTACK_TIMEOUT=30000
Build the project:
npm run build
Run the server:
# Development mode (MCP server)
npm run dev
# Production mode (MCP server)
npm start
# CLI mode
npm run cli -- --help
Add to your MCP client configuration (e.g., 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"
}
}
}
}
For direct command-line access, use the built-in CLI:
# Install globally (optional)
npm link
# Use the CLI
cloudstack-cli list-vms --state Running
cloudstack-cli deploy-vm --service-offering-id 1 --template-id 2 --zone-id 3
cloudstack-cli get-vm --id 12345-67890-abcdef
# See all available commands
cloudstack-cli --help
For detailed CLI documentation, see CLI.md.
| Tool | Description | Parameters |
|---|---|---|
list_virtual_machines | List VMs with optional filtering | zoneid, state, keyword |
get_virtual_machine | Get detailed VM information | id (required) |
start_virtual_machine | Start a stopped virtual machine | id (required) |
stop_virtual_machine | Stop a running virtual machine | id (required), forced (optional) |
reboot_virtual_machine | Reboot a virtual machine | id (required) |
destroy_virtual_machine | Destroy a VM with proper workflow (handles all states) | id (required), confirm (required), expunge (optional) |
deploy_virtual_machine | Deploy a new VM (auto-selects network for Advanced zones) | serviceofferingid, templateid, zoneid (required), name, displayname, networkids (optional) |
| Tool | Description | Parameters |
|---|---|---|
scale_virtual_machine | Scale (resize) a virtual machine | id, serviceofferingid, confirm (required) |
migrate_virtual_machine | Migrate VM to another host | virtualmachineid, |