lunanode-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lunanode-mcp list my virtual machines"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lunanode-mcp
MCP server for the LunaNode VPS API.
Features
43 tools covering VMs, images, volumes, floating IPs, SSH keys, and plans/regions.
Tiered safety gating: read operations are always available; write and delete operations must be explicitly enabled.
Related MCP server: Vultr Codex MCP
Configuration
Set these environment variables:
Variable | Required | Description |
| Yes | Your LunaNode API ID. |
| Yes | Your LunaNode API key (128 characters). |
| No | Enables write-tier tools. Unset = off. |
| No | Enables delete-tier tools. Unset = off. |
Read-tier tools are always enabled. Enabling writes does not imply deletes — each tier is gated independently.
Using a .env file
Instead of putting credentials in your MCP client config, you can keep them in a .env file and load it with Node's built-in --env-file flag (Node 20.6+). Copy .env.example to .env (git-ignored), fill in your values, and restrict access with chmod 600 .env. Full-line and inline # comments are supported.
{
"mcpServers": {
"lunanode": {
"command": "node",
"args": [
"--env-file=/path/to/lunanode-mcp/.env",
"/path/to/lunanode-mcp/dist/index.js"
]
}
}
}The smoke test can use the same file: npx tsx --env-file=.env scripts/smoke.ts
Client setup
Example configuration for Claude Code / Claude Desktop:
{
"mcpServers": {
"lunanode": {
"command": "npx",
"args": ["-y", "github:Burntberry-Enterprises/lunanode-mcp"],
"env": {
"LUNANODE_API_ID": "your-api-id",
"LUNANODE_API_KEY": "your-128-char-api-key",
"LUNANODE_ENABLE_WRITES": "true",
"LUNANODE_ENABLE_DELETES": "vm_delete,volume_delete"
}
}
}
}Tool reference
Read tools (always enabled)
Tool | Description |
| List all virtual machines on the LunaNode account. |
| Get detailed configuration and live status for a virtual machine. |
| List all IP addresses assigned to a virtual machine. |
| List images available to the account, optionally filtered by region. |
| Get metadata for a specific image. |
| List block storage volumes, optionally filtered by region. |
| Get details for a specific volume. |
| List volume snapshots in a region. |
| List all floating IPs on the account. |
| List stored SSH public keys with their IDs. |
| List available LunaNode VM plans with pricing, CPU, RAM, storage, and regional availability. |
| List all LunaNode regions where services can be deployed. |
Write tools (require LUNANODE_ENABLE_WRITES)
Tool | Description |
| Provision a new virtual machine. Requires a hostname and plan_id; boot from image_id or volume_id. |
| Perform a VM state action: start, stop, reboot, diskswap, rescue, shelve, or unshelve. |
| Reinstall a VM from an image. Destroys the VM's current disk contents. |
| Change a VM's plan (CPU/RAM/storage). |
| Change a VM's hostname label. |
| Create a disk image snapshot of a VM. |
| Generate a temporary noVNC console URL for a VM. Grants console access, so it is write-gated. |
| Attach a floating (public) IP to a VM. |
| Allocate an additional internal IP address on a VM. |
| Add a VM to an existing security group. |
| Remove a VM from a security group. |
| Add a new image by fetching it from an HTTP, HTTPS, or FTP URL. |
| Copy an image to another region. |
| Change an image's label. |
| Create a block storage volume, optionally pre-populated from an image or snapshot. |
| Attach a volume to a virtual machine. |
| Detach a volume from its virtual machine. |
| Increase the size of an unattached volume. |
| Change a volume's label. |
| Take a snapshot of a volume. |
| Convert a volume snapshot into an image, optionally in another region. |
| Provision a new unattached floating IP in a region. |
| Store an SSH public key for provisioning VMs with key-based authentication. |
Delete tools (require LUNANODE_ENABLE_DELETES)
Tool | Description |
| Permanently delete a virtual machine. |
| Remove an internal IP address from a VM. |
| Detach a floating IP from a VM. By default the IP is destroyed; set keep to retain it unattached. |
| Permanently delete an image. |
| Permanently delete a volume. |
| Permanently delete a volume snapshot. |
| Release an unattached floating IP from the account. |
| Delete a stored SSH key. |
Development
npm install
npm test
npm run build
npm run smoke # needs real LunaNode credentialsAPI keys
API keys are created in the LunaNode panel under API. See https://www.lunanode.com/api/overview for details.
Available Tools
12 toolsfloating_ip_listA
List all floating IPs on the account.
Inputs: no named parameters.
image_detailsA
Get metadata for a specific image.
Inputs: image_id (required).
image_listA
List images available to the account, optionally filtered by region.
Inputs: region.
plan_listA
List available LunaNode VM plans with pricing, CPU, RAM, storage, and regional availability.
Inputs: no named parameters.
region_listA
List all LunaNode regions where services can be deployed.
Inputs: no named parameters.
ssh_key_listA
List stored SSH public keys with their IDs.
Inputs: no named parameters.
vm_infoA
Get detailed configuration and live status for a virtual machine.
Inputs: vm_id (required).
vm_iplistA
List all IP addresses assigned to a virtual machine.
Inputs: vm_id (required).
vm_listA
List all virtual machines on the LunaNode account.
Inputs: no named parameters.
volume_infoA
Get details for a specific volume.
Inputs: volume_id (required).
volume_listA
List block storage volumes, optionally filtered by region.
Inputs: region.
volume_snapshot_listB
List volume snapshots in a region.
Inputs: region (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool targets a distinct resource and action, such as listing all VMs vs. getting details for a single VM vs. listing IPs. There is no overlap or ambiguity in what each tool returns.
All tools follow a consistent snake_case pattern of resource-based nouns with descriptive suffixes like _list, _info, and _details. Minor variations such as vm_iplist vs. volume_snapshot_list do not break the overall predictability.
12 tools is well-scoped for an infrastructure read-only API, covering VMs, images, volumes, snapshots, IPs, SSH keys, plans, and regions without unnecessary bloat.
The server is entirely read-only, providing only list and info operations. There are no create, update, delete, or action tools, which is a significant gap for a cloud management MCP server. Users can inspect resources but cannot manage them.
Related MCP Connectors
Manage Vozora VPS servers, SSH keys, firewalls, DNS and usage from an AI agent.
Manage American Cloud VMs, Kubernetes, databases, storage, networks and DNS from your AI assistant.
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Create, power on or off and delete Kubana Cloud VPS servers, and check CPU, memory and disk.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to manage VPS servers, domains, DNS records, and SSH keys through the VPS.org API via natural language.262MIT
- AlicenseAqualityDmaintenanceEnables safe management of Vultr VPS instances, including listing resources, previewing and creating instances with cost limits, and performing mutations like reboot and delete only after exact confirmation.15MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage virtual machines via natural language, including creating, editing, and VNC control.15 npmMIT
- AlicenseAqualityDmaintenanceEnables managing DigitalOcean cloud resources, including Droplets, databases, domains, and more, via natural language.121MIT